diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-01-18 21:31:35 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-01-18 21:31:35 +0000 |
commit | e7255a80e308c7f67d25b0b247ed791a99ea3a4e (patch) | |
tree | efe0f6d5172dba1395a047c02db03b618b33e26d /test | |
parent | 892fc6d7b64364b230261daa967518a71748c01b (diff) | |
download | external_llvm-e7255a80e308c7f67d25b0b247ed791a99ea3a4e.zip external_llvm-e7255a80e308c7f67d25b0b247ed791a99ea3a4e.tar.gz external_llvm-e7255a80e308c7f67d25b0b247ed791a99ea3a4e.tar.bz2 |
Fix MRS encoding for arm and thumb.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/arm_instructions.s | 2 | ||||
-rw-r--r-- | test/MC/ARM/thumb2.s | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s index 6820f02..588e8e5 100644 --- a/test/MC/ARM/arm_instructions.s +++ b/test/MC/ARM/arm_instructions.s @@ -133,3 +133,5 @@ @ CHECK: isb @ encoding: [0x6f,0xf0,0x7f,0xf5] isb +@ CHECK: mrs r8, cpsr @ encoding: [0x00,0x80,0x0f,0xe1] + mrs r8, cpsr diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s index e68105e..dad6381 100644 --- a/test/MC/ARM/thumb2.s +++ b/test/MC/ARM/thumb2.s @@ -166,4 +166,5 @@ bfi r0, r0, #5, #7 @ CHECK: isb @ encoding: [0xbf,0xf3,0x6f,0x8f] isb - +@ CHECK: mrs r0, cpsr @ encoding: [0xef,0xf3,0x00,0x80] + mrs r0, cpsr |