Browse Source
This patch add supports for FEAT_SPECRES2 "Enhanced speculation restriction instructions" adding the "cosp" instruction. This is mandatory v8.9-a/v9.4-a and optional v8.0-a+/v9.0-a+. It is enabled by the +predres2 march flag.binutils-2_42-branch
11 changed files with 2112 additions and 2075 deletions
@ -0,0 +1,3 @@ |
|||
#as: -march=armv8-a |
|||
#source: predres2.s |
|||
#error_output: illegal-predres2-1.l |
|||
@ -0,0 +1,5 @@ |
|||
[^:]*: Assembler messages: |
|||
[^:]*:[0-9]+: Error: selected processor does not support system register name 'rctx' |
|||
[^:]*:[0-9]+: Error: selected processor does not support `cosp rctx,x1' |
|||
[^:]*:[0-9]+: Error: selected processor does not support system register name 'rctx' |
|||
[^:]*:[0-9]+: Error: selected processor does not support `cfp rctx,x1' |
|||
@ -0,0 +1,10 @@ |
|||
#as: -march=armv8-a+predres2 |
|||
#objdump: -dr |
|||
|
|||
.*: file format .* |
|||
|
|||
Disassembly of section \.text: |
|||
|
|||
0+ <.*>: |
|||
.*: d50b73c1 cosp rctx, x1 |
|||
.*: d50b7381 cfp rctx, x1 |
|||
@ -0,0 +1,4 @@ |
|||
/* File to test the +predres2 option. */ |
|||
func: |
|||
cosp rctx, x1 |
|||
cfp rctx, x1 |
|||
File diff suppressed because it is too large
Loading…
Reference in new issue