summaryrefslogtreecommitdiff
path: root/avx1
diff options
context:
space:
mode:
authortg74 <tg74@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-11-11 06:59:21 +0000
committertg74 <tg74@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-11-11 06:59:21 +0000
commitb243be93af975176285ba7f7cbc7216e680e5a76 (patch)
treec1bb0827a56f5c500f637fe8126a222820e050c5 /avx1
parente63352d895764c0aafa3b9d0bdcb6bd0401f0f6f (diff)
downloadfpc-b243be93af975176285ba7f7cbc7216e680e5a76.tar.gz
bugfix att-assembleropcode 'movsd'
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/tg74@22972 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'avx1')
-rw-r--r--avx1/compiler/x86/rax86att.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/avx1/compiler/x86/rax86att.pas b/avx1/compiler/x86/rax86att.pas
index 74bf229911..3c99608e65 100644
--- a/avx1/compiler/x86/rax86att.pas
+++ b/avx1/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