forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for unpredictable mcrr/mcrr2/mrrc/mrrc2 ARM instruction…
… in the disassembler. Since the upredicability conditions are complex, C++ code was added to handle them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155001 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
e546c4c
commit fa1ebc6
Showing
4 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s | ||
|
||
# CHECK: invalid instruction encoding | ||
0x00 0x1a 0x50 0xfc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s | ||
|
||
# CHECK: potentially undefined | ||
# CHECK: 0x00 0x10 0x51 0xfc | ||
0x00 0x10 0x51 0xfc | ||
|
||
# CHECK: potentially undefined | ||
# CHECK: 0x00 0xf0 0x41 0x0c | ||
0x00 0xf0 0x41 0x0c | ||
|
||
# CHECK: potentially undefined | ||
# CHECK: 0x00 0x00 0x4f 0x0c | ||
0x00 0x00 0x4f 0x0c |