Ver código fonte

bugfix att-assembleropcode 'movsd'

git-svn-id: branches/tg74/avx1@22972 -
tg74 12 anos atrás
pai
commit
4ee8252c93
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      compiler/x86/rax86att.pas

+ 3 - 0
compiler/x86/rax86att.pas

@@ -882,6 +882,9 @@ Implementation
                 begin
                   actopcode:=tasmop(PtrUInt(iasmops.Find(copy(s,1,len))));
 
+                  if (actopcode = A_NONE) and
+                     (upper(s) = 'MOVSD') then actopcode := A_MOVSD;
+
                   { two-letter suffix is allowed by just a few instructions (movsx,movzx),
                     and it is always required whenever allowed }
                   if (gas_needsuffix[actopcode]=attsufINTdual) xor (suflen=2) then