浏览代码

bugfix att-assembleropcode 'movsd'

git-svn-id: branches/tg74/avx1@22972 -
tg74 12 年之前
父节点
当前提交
4ee8252c93
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/x86/rax86att.pas

+ 3 - 0
compiler/x86/rax86att.pas

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