+ correctly support the sse2 version of the cmpsd x86 instruction, when writing

at&t style asm output

git-svn-id: trunk@36122 -
This commit is contained in:
nickysn 2017-05-05 15:01:38 +00:00
parent 1d1c310876
commit 98d2684368

View File

@ -322,6 +322,9 @@ interface
are (xmm) arguments }
if (op=A_MOVSD) and (taicpu(hp).ops>0) then
owner.writer.AsmWrite('movsd')
{ the same applies to cmpsd as well }
else if (op=A_CMPSD) and (taicpu(hp).ops>0) then
owner.writer.AsmWrite('cmpsd')
else
owner.writer.AsmWrite(gas_op2str[op]);
owner.writer.AsmWrite(cond2str[taicpu(hp).condition]);