diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-01-20 19:27:16 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-01-20 19:27:16 +0000 |
commit | 1115c472038b19dfcc3ff44b8bf6711ebcfc3dc4 (patch) | |
tree | 0106376f98b35a7c2f058b24f4e9de8bd322d58b | |
parent | e47f3751d7770916f250a00a84316d412e959c00 (diff) |
Add testcases for clz encoding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123937 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/MC/ARM/arm_instructions.s | 3 | ||||
-rw-r--r-- | test/MC/ARM/thumb2.s | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ARM/arm_instructions.s b/test/MC/ARM/arm_instructions.s index a26db1b4eb..28a49aa9f0 100644 --- a/test/MC/ARM/arm_instructions.s +++ b/test/MC/ARM/arm_instructions.s @@ -161,3 +161,6 @@ @ CHECK: clrex @ encoding: [0x1f,0xf0,0x7f,0xf5] clrex + +@ CHECK: clz r9, r0 @ encoding: [0x10,0x9f,0x6f,0xe1] + clz r9, r0 diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s index 146d674c3e..4a7bc6a4cc 100644 --- a/test/MC/ARM/thumb2.s +++ b/test/MC/ARM/thumb2.s @@ -199,3 +199,6 @@ @ CHECK: clrex @ encoding: [0xbf,0xf3,0x2f,0x8f] clrex + +@ CHECK: clz r9, r0 @ encoding: [0xb0,0xfa,0x80,0xf9] + clz r9, r0 |