forked from openhwgroup/corev-binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aarch64: Add support for Check Feature Status Extension.
This patch adds support for Check Feature Status Extension (CHK) which is mandatory from Armv8.0-A. Also this patch supports "chkfeat" instruction (hint openhwgroup#40).
- Loading branch information
Showing
12 changed files
with
83 additions
and
12 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
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 @@ | ||
#name: Test of chkfeat extension operand | ||
#source: chk-bad-1.s | ||
#as: -march=armv8-a | ||
#error_output: chk-bad-1.l |
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 @@ | ||
[^ :]+: Assembler messages: | ||
[^ :]+:[0-9]+: Error: expected an integer or zero register at operand 1 -- `chkfeat' | ||
[^ :]+:[0-9]+: Error: operand 1 must be X16 -- `chkfeat x0' | ||
[^ :]+:[0-9]+: Error: operand 1 must be X16 -- `chkfeat x10' | ||
[^ :]+:[0-9]+: Error: operand 1 must be X16 -- `chkfeat x17' | ||
[^ :]+:[0-9]+: Error: operand 1 must be X16 -- `chkfeat x30' | ||
[^ :]+:[0-9]+: Error: expected an integer or zero register at operand 1 -- `chkfeat x31' | ||
[^ :]+:[0-9]+: Error: operand mismatch -- `chkfeat w16' | ||
[^ :]+:[0-9]+: Info: did you mean this\? | ||
[^ :]+:[0-9]+: Info: chkfeat x16 | ||
[^ :]+:[0-9]+: Error: operand 1 must be X16 -- `chkfeat xzr' | ||
[^ :]+:[0-9]+: Error: operand 1 must be X16 -- `chkfeat wzr' | ||
[^ :]+:[0-9]+: Error: expected an integer or zero register at operand 1 -- `chkfeat sp' |
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,12 @@ | ||
.text | ||
chkfeat | ||
chkfeat x0 | ||
chkfeat x10 | ||
chkfeat x17 | ||
chkfeat x30 | ||
chkfeat x31 | ||
chkfeat x16 | ||
chkfeat w16 | ||
chkfeat xzr | ||
chkfeat wzr | ||
chkfeat sp |
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,11 @@ | ||
#name: Test of Check Feature Status Instruction. | ||
#as: -march=armv8-a | ||
#objdump: -dr | ||
|
||
[^:]+: file format .* | ||
|
||
|
||
[^:]+: | ||
|
||
[^:]+: | ||
.*: d503251f chkfeat x16 |
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,2 @@ | ||
.text | ||
chkfeat x16 |
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
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