[llvm] r360521 - [MC][X86] Add test cases from PR14056
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat May 11 08:51:15 PDT 2019
Author: rksimon
Date: Sat May 11 08:51:14 2019
New Revision: 360521
URL: http://llvm.org/viewvc/llvm-project?rev=360521&view=rev
Log:
[MC][X86] Add test cases from PR14056
Modified:
llvm/trunk/test/MC/X86/x86-64.s
Modified: llvm/trunk/test/MC/X86/x86-64.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86-64.s?rev=360521&r1=360520&r2=360521&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/x86-64.s (original)
+++ llvm/trunk/test/MC/X86/x86-64.s Sat May 11 08:51:14 2019
@@ -725,6 +725,10 @@ movl 0, %eax // CHECK: movl 0, %eax #
// CHECK: encoding: [0x48,0xb8,0x02,0x00,0x00,0x00,0x00,0x00,0xff,0xff]
movq $0xFFFF000000000002, %rax
+// CHECK: movabsq 81985529216486895, %rax
+// CHECK: encoding: [0x48,0xa1,0xef,0xcd,0xab,0x89,0x67,0x45,0x23,0x01]
+ movabsq 0x123456789abcdef, %rax
+
// CHECK: movq $-65536, %rax
// CHECK: encoding: [0x48,0xc7,0xc0,0x00,0x00,0xff,0xff]
movq $0xFFFFFFFFFFFF0000, %rax
@@ -737,6 +741,10 @@ movl 0, %eax // CHECK: movl 0, %eax #
// CHECK: encoding: [0x48,0xc7,0xc0,0x0a,0x00,0x00,0x00]
movq $10, %rax
+// CHECK: movq 81985529216486895, %rax
+// CHECK: encoding: [0x48,0x8b,0x04,0x25,0xef,0xcd,0xab,0x89]
+ movq 0x123456789abcdef, %rax
+
// CHECK: movabsb -6066930261531658096, %al
// CHECK: encoding: [0xa0,0x90,0x78,0x56,0x34,0x12,0xef,0xcd,0xab]
movabsb 0xabcdef1234567890,%al
More information about the llvm-commits
mailing list