diff options
author | tg74 <tg74@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-11-11 06:59:21 +0000 |
---|---|---|
committer | tg74 <tg74@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-11-11 06:59:21 +0000 |
commit | b243be93af975176285ba7f7cbc7216e680e5a76 (patch) | |
tree | c1bb0827a56f5c500f637fe8126a222820e050c5 /avx1 | |
parent | e63352d895764c0aafa3b9d0bdcb6bd0401f0f6f (diff) | |
download | fpc-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.pas | 3 |
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 |