diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-03-18 02:53:34 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-03-18 02:53:34 +0000 |
commit | 7e9a1cb1995d2cbfd8a7bbec1a1bef82ceebf223 (patch) | |
tree | e80364f087cef6d4e0281ca27561523dac957285 /llvm/test/MC/X86/intel-syntax-encoding.s | |
parent | 5f78b37abe99586ea81d5d3ed6d287d33179a855 (diff) | |
download | bcm5719-llvm-7e9a1cb1995d2cbfd8a7bbec1a1bef82ceebf223.tar.gz bcm5719-llvm-7e9a1cb1995d2cbfd8a7bbec1a1bef82ceebf223.zip |
Refactor some duplicated code into helper functions.
llvm-svn: 177242
Diffstat (limited to 'llvm/test/MC/X86/intel-syntax-encoding.s')
-rw-r--r-- | llvm/test/MC/X86/intel-syntax-encoding.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/intel-syntax-encoding.s b/llvm/test/MC/X86/intel-syntax-encoding.s index 03b05511649..1350364836a 100644 --- a/llvm/test/MC/X86/intel-syntax-encoding.s +++ b/llvm/test/MC/X86/intel-syntax-encoding.s @@ -31,6 +31,13 @@ // CHECK: encoding: [0x48,0x83,0xc0,0xf4] add rax, -12 +// CHECK: encoding: [0x66,0x83,0xf8,0xf4] + cmp ax, -12 +// CHECK: encoding: [0x83,0xf8,0xf4] + cmp eax, -12 +// CHECK: encoding: [0x48,0x83,0xf8,0xf4] + cmp rax, -12 + LBB0_3: // CHECK: encoding: [0xeb,A] jmp LBB0_3 |