fpc/tests/test/tasm5.pp
sergei 9e8a31193b x86 assembler:
* 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 -
2011-05-17 20:06:12 +00:00

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.