aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-19 01:18:43 +0000
committerChris Lattner <sabre@nondot.org>2010-08-19 01:18:43 +0000
commit59f8a6a66621f7c6f45b838e48fbf210af9d1fb5 (patch)
tree220603d3d4a15c0bd73eca3dcdc047fcc75c0ee3 /test/MC
parent694a15eabed6af4ba6da14ab4b0b25dceb980d55 (diff)
downloadexternal_llvm-59f8a6a66621f7c6f45b838e48fbf210af9d1fb5.zip
external_llvm-59f8a6a66621f7c6f45b838e48fbf210af9d1fb5.tar.gz
external_llvm-59f8a6a66621f7c6f45b838e48fbf210af9d1fb5.tar.bz2
fix PR7465, mishandling of lcall and ljmp: intersegment long
call and jumps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/X86/x86_32-new-encoder.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-new-encoder.s b/test/MC/AsmParser/X86/x86_32-new-encoder.s
index 713e780..e3aa188 100644
--- a/test/MC/AsmParser/X86/x86_32-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_32-new-encoder.s
@@ -418,3 +418,8 @@ retl
// CHECK: jmpl *8(%eax)
// CHECK: encoding: [0xff,0x60,0x08]
jmp *8(%eax)
+
+// PR7465
+// CHECK: lcalll $2, $4660
+// CHECK: encoding: [0x9a,0x34,0x12,0x00,0x00,0x02,0x00]
+lcalll $0x2, $0x1234