mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 15:59:30 +02:00
external gas assembler: special handling for correct suffix in vfpclass-opcodes
git-svn-id: branches/tg74/avx512-0037785@47865 -
This commit is contained in:
parent
6d1553984e
commit
e98771608e
@ -1521,8 +1521,11 @@ procedure Tx86Instruction.SetInstructionOpsize;
|
||||
// special handling = use source operand for calculate instructions-opsize
|
||||
// e.g. vcvtsi2sd, vcvtsi2ss, vcvtusi2sd, vcvtusi2ss,
|
||||
// vfpclass..
|
||||
|
||||
opsize:=tx86operand(operands[1]).opsize;
|
||||
|
||||
if (ops > 2) and
|
||||
(tx86operand(operands[1]).opr.typ = OPR_CONSTANT) then
|
||||
opsize:=tx86operand(operands[2]).opsize
|
||||
else opsize:=tx86operand(operands[1]).opsize;
|
||||
|
||||
if (MemRefSize in [msiMultipleMinSize128, msiMultipleMinSize256, msiMultipleMinSize512]) and
|
||||
(not(opsize in [S_XMM, S_YMM, S_ZMM])) then
|
||||
|
Loading…
Reference in New Issue
Block a user