summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-05-06 20:59:00 +0000
committerSean Callanan <scallanan@apple.com>2010-05-06 20:59:00 +0000
commit1a8b789a4b8290d263c1c75411788ca45bae3230 (patch)
treed18bc584208f7d70eab776d4584100cf3541febf /test/MC/Disassembler
parenta5d0b54ec156dd31a77a7994e9552a562cd2bf8c (diff)
downloadllvm-1a8b789a4b8290d263c1c75411788ca45bae3230.tar.gz
llvm-1a8b789a4b8290d263c1c75411788ca45bae3230.tar.bz2
llvm-1a8b789a4b8290d263c1c75411788ca45bae3230.tar.xz
Eliminated the classification of control registers into %ecr_
and %rcr_, leaving just %cr_ which is what people expect. Updated the disassembler to support this unified register set. Added a testcase to verify that the registers continue to be decoded correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/simple-tests.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/simple-tests.txt b/test/MC/Disassembler/simple-tests.txt
index 41552612cf..369aa9ac08 100644
--- a/test/MC/Disassembler/simple-tests.txt
+++ b/test/MC/Disassembler/simple-tests.txt
@@ -54,3 +54,6 @@
# CHECK: movl $0, -4(%rbp)
0xc7 0x45 0xfc 0x00 0x00 0x00 0x00
+
+# CHECK: movq %cr0, %rcx
+0x0f 0x20 0xc1