]> granicus.if.org Git - llvm/commitdiff
[ARM][MC] Update one test case in 'test/MC/Disassembler/ARM/invalid-armv7.txt'
authorXing GUO <higuoxing@gmail.com>
Tue, 5 Mar 2019 03:07:56 +0000 (03:07 +0000)
committerXing GUO <higuoxing@gmail.com>
Tue, 5 Mar 2019 03:07:56 +0000 (03:07 +0000)
Summary:
Instruction `[0xfe 0xf0 0x20 0xe3]` is a valid instruction on ARM-v7, which is `dbg #14`. See:
https://www.cl.cam.ac.uk/research/srg/han/ACS-P35/zynq/ARMv7-A-R-manual.pdf
(Page: 377)

```
Encoding A1:
DBG<c> #<option>

|31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16|15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00|
|      cond | 0  0  1  1  0| 0| 1  0| 0  0  0  0| 1  1  1  1| 0  0  0  0| 1  1  1  1|    option |
```

Reviewers: fhahn, efriedma

Reviewed By: efriedma

Subscribers: javed.absar, kristof.beyls, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58873

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355374 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/Disassembler/ARM/invalid-armv7.txt

index fa7bba611ab7c67e8716f4792283a15bdc117b89..ea9452ac9ce688602b6a812bb1978eaa615c8098 100644 (file)
@@ -69,9 +69,9 @@
 # Undefined encoding space for hint instructions
 #------------------------------------------------------------------------------
 
-# FIXME: is it "dbg #14" or not????
-[0xfe 0xf0 0x20 0xe3]
-# CHCK: invalid instruction encoding
+[0xfe 0xf0 0x20 0xf3]
+# CHECK: invalid instruction encoding
+# CHECK-NEXT: [0xfe 0xf0 0x20 0xf3]
 
 
 #------------------------------------------------------------------------------