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 | 4bef961baf9660f1ac5a5b80378631cd942636b2 (patch) | |
tree | 7dcac6f5beccfc4b02547a85d2ab7433c3fd2ad6 /test/MC/X86 | |
parent | 4d0cdca6f6e73c38115cfd1e9770cb78006077d6 (diff) | |
download | external_llvm-4bef961baf9660f1ac5a5b80378631cd942636b2.zip external_llvm-4bef961baf9660f1ac5a5b80378631cd942636b2.tar.gz external_llvm-4bef961baf9660f1ac5a5b80378631cd942636b2.tar.bz2 |
Refactor some duplicated code into helper functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r-- | test/MC/X86/intel-syntax-encoding.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/X86/intel-syntax-encoding.s b/test/MC/X86/intel-syntax-encoding.s index 03b0551..1350364 100644 --- a/test/MC/X86/intel-syntax-encoding.s +++ b/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 |