Переглянути джерело

bugfix att-assembleropcode 'movsd'

git-svn-id: branches/tg74/avx2@22973 -
tg74 13 роки тому
батько
коміт
de7a13d456
1 змінених файлів з 3 додано та 0 видалено
  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