diff options
author | Sean Callanan <scallanan@apple.com> | 2011-02-23 03:31:28 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-02-23 03:31:28 +0000 |
commit | 8fbc00b5bab870d3c756d40add9b0eb27827fb97 (patch) | |
tree | 9700c9e5222aa5e8b125aacda4ae83833e39dcdf /test/MC | |
parent | 3894a795e6283b4b62ccf7b20d69eebd49e8532f (diff) | |
download | external_llvm-8fbc00b5bab870d3c756d40add9b0eb27827fb97.zip external_llvm-8fbc00b5bab870d3c756d40add9b0eb27827fb97.tar.gz external_llvm-8fbc00b5bab870d3c756d40add9b0eb27827fb97.tar.bz2 |
Fixed a bug in the enhanced disassembler that caused
it to ignore valid uses of FS and GS as additional
base registers in address computations. Added a test
case for this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/X86/enhanced.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/enhanced.txt b/test/MC/Disassembler/X86/enhanced.txt index 691f876..fc69499 100644 --- a/test/MC/Disassembler/X86/enhanced.txt +++ b/test/MC/Disassembler/X86/enhanced.txt @@ -2,3 +2,5 @@ # CHECK: [o:jne][w: ][0-p:-][0-l:10=10] <br> 0:[RIP/111](pc)=18446744073709551606 0x0f 0x85 0xf6 0xff 0xff 0xff +# CHECK: [o:movq][w: ][1-r:%gs=r63][1-p::][1-l:8=8][p:,][w: ][0-r:%rcx=r108] <mov> 0:[RCX/108]=0 1:[GS/63]=8 +0x65 0x48 0x8b 0x0c 0x25 0x08 0x00 0x00 0x00 |