Browse Source

bugfix att-assembleropcode 'movsd'

git-svn-id: branches/tg74/avx1@22972 -
tg74 12 years ago
parent
commit
4ee8252c93
1 changed files with 3 additions and 0 deletions
  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