summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2013-04-17 18:46:12 +0000
committerQuentin Colombet <qcolombet@apple.com>2013-04-17 18:46:12 +0000
commit6f03f624df1610ead4cc5eb38159221eaa1f1ba2 (patch)
tree536a018b225634e641dcb01ef9b100c57835555d /llvm/test
parentf41cfba51009ab634c6ad36829c900adc37bdc13 (diff)
downloadbcm5719-llvm-6f03f624df1610ead4cc5eb38159221eaa1f1ba2.tar.gz
bcm5719-llvm-6f03f624df1610ead4cc5eb38159221eaa1f1ba2.zip
Fix treatment of ARM unallocated hint instructions.
The reference manual defines only 5 permitted values for the immediate field of the "hint" instruction: 1. nop (imm == 0) 2. yield (imm == 1) 3. wfe (imm == 2) 4. wfi (imm == 3) 5. sev (imm == 4) Therefore, restrict the permitted values for the "hint" instruction to 0 through 4. Patch by Mihail Popa <Mihail.Popa@arm.com> llvm-svn: 179707
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/ARM/basic-arm-instructions.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/ARM/basic-arm-instructions.s b/llvm/test/MC/ARM/basic-arm-instructions.s
index a5f45016800..0b7f2f9dbdb 100644
--- a/llvm/test/MC/ARM/basic-arm-instructions.s
+++ b/llvm/test/MC/ARM/basic-arm-instructions.s
@@ -2883,7 +2883,7 @@ Lforward:
@ CHECK: wfilt @ encoding: [0x03,0xf0,0x20,0xb3]
@ CHECK: yield @ encoding: [0x01,0xf0,0x20,0xe3]
@ CHECK: yieldne @ encoding: [0x01,0xf0,0x20,0x13]
-@ CHECK: hint #5 @ encoding: [0x05,0xf0,0x20,0xe3]
+@ CHECK-NOT: hint #5
@ CHECK: sev @ encoding: [0x04,0xf0,0x20,0xe3]
@ CHECK: wfi @ encoding: [0x03,0xf0,0x20,0xe3]
@ CHECK: wfe @ encoding: [0x02,0xf0,0x20,0xe3]
OpenPOWER on IntegriCloud