mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 00:48:10 +02:00

* Optimized the opcode representation of movq and remaining 3DNow instructions * Disallow immediates not fitting in 32 bits (Mantis #14685) + test * Disallow push/pop with 32-bit operands in x86_64 + test git-svn-id: trunk@17490 -
15 lines
249 B
ObjectPascal
15 lines
249 B
ObjectPascal
{ %CPU=x86_64 }
|
|
{ %fail }
|
|
|
|
{$asmmode att}
|
|
// Immediates must fit into 32 bits (except in 'mov' instruction)
|
|
procedure test; assembler; nostackframe;
|
|
asm
|
|
andq $0x0000000105060708, %rax
|
|
orq $0xffffffff00000000, %rax
|
|
end;
|
|
|
|
|
|
begin
|
|
end.
|