mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
+ added comment on movsd hack
git-svn-id: trunk@23031 -
This commit is contained in:
parent
d49a88c3c8
commit
ab1815273c
@ -882,8 +882,11 @@ Implementation
|
||||
begin
|
||||
actopcode:=tasmop(PtrUInt(iasmops.Find(copy(s,1,len))));
|
||||
|
||||
if (actopcode = A_NONE) and
|
||||
(upper(s) = 'MOVSD') then actopcode := A_MOVSD;
|
||||
{ movsd needs special handling because it has two namings in at&t syntax (movsl for string handling and
|
||||
movsd for the sse instruction) while only one in intel syntax (movsd, both string and sse)
|
||||
this cannot be expressed by the instruction table format so we have to hack around this here }
|
||||
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 }
|
||||
|
Loading…
Reference in New Issue
Block a user