From ec243ae2b859487bd417a1289da2a4a5901c3469 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Tue, 22 Feb 2011 02:19:18 +0000 Subject: [PATCH] Added a testcase for the enhanced disassembly bug fixed in r126147, where a field in the X86 decode structure was being read as bits, not bytes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126182 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/Disassembler/X86/enhanced.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/MC/Disassembler/X86/enhanced.txt diff --git a/test/MC/Disassembler/X86/enhanced.txt b/test/MC/Disassembler/X86/enhanced.txt new file mode 100644 index 00000000000..691f87651c3 --- /dev/null +++ b/test/MC/Disassembler/X86/enhanced.txt @@ -0,0 +1,4 @@ +# RUN: llvm-mc --edis %s -triple=x86_64-apple-darwin9 |& FileCheck %s + +# CHECK: [o:jne][w: ][0-p:-][0-l:10=10]
0:[RIP/111](pc)=18446744073709551606 +0x0f 0x85 0xf6 0xff 0xff 0xff -- 2.34.1