Browse Source
This patch removes support for the CSRE extension from aarch64 gas/objdump. CSRE (FEAT_CSRE) is part of the Future Architecture Technologies program and at this time Arm is withdrawing this particular feature. The patch removes the system registers and the CSR PDEC instruction. gas/ChangeLog * NEWS: Remove CSRE. * config/tc-aarch64.c (parse_csr_operand): Delete. (parse_operands): Delete handling of AARCH64_OPND_CSRE_CSR. (aarch64_features): Remove csre. * doc/c-aarch64.texi: Remove CSRE. * testsuite/gas/aarch64/csre.d: Delete. * testsuite/gas/aarch64/csre-invalid.s: Likewise. * testsuite/gas/aarch64/csre-invalid.d: Likewise. * testsuite/gas/aarch64/csre_csr.s: Likewise. * testsuite/gas/aarch64/csre_csr.d: Likewise. * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise. * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise. * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise. include/ChangeLog * opcode/aarch64.h (AARCH64_FEATURE_CSRE): Delete. (aarch64_opnd): Delete AARCH64_OPND_CSRE_CSR. opcodes/ChangeLog * aarch64-asm-2.c: Regenerate. * aarch64-dis-2.c: Likewise. * aarch64-opc-2.c: Likewise. * aarch64-opc.c (aarch64_print_operand): Delete handling of AARCH64_OPND_CSRE_CSR. * aarch64-tbl.h (aarch64_feature_csre): Delete. (CSRE): Likewise. (_CSRE_INSN): Likewise. (aarch64_opcode_table): Delete csr.binutils-2_37-branch
20 changed files with 1457 additions and 1535 deletions
@ -1,3 +0,0 @@ |
|||
#name: Invalid CSRE System registers usage |
|||
#source: csre-invalid.s |
|||
#warning_output: csre-invalid.l |
|||
@ -1,6 +0,0 @@ |
|||
/* Write to read-only CSRE system registers. */ |
|||
|
|||
msr csridr_el0 ,x0 |
|||
msr csrptridx_el0 ,x0 |
|||
msr csrptridx_el1 ,x0 |
|||
msr csrptridx_el2 ,x0 |
|||
@ -1,29 +0,0 @@ |
|||
#name: CSRE System registers |
|||
#objdump: -dr |
|||
|
|||
.*: file format .* |
|||
|
|||
|
|||
Disassembly of section \.text: |
|||
|
|||
0+ <.*>: |
|||
[^:]+: d5338000 mrs x0, csrcr_el0 |
|||
[^:]+: d5338020 mrs x0, csrptr_el0 |
|||
[^:]+: d5338040 mrs x0, csridr_el0 |
|||
[^:]+: d5338060 mrs x0, csrptridx_el0 |
|||
[^:]+: d5308000 mrs x0, csrcr_el1 |
|||
[^:]+: d5358000 mrs x0, csrcr_el12 |
|||
[^:]+: d5308020 mrs x0, csrptr_el1 |
|||
[^:]+: d5358020 mrs x0, csrptr_el12 |
|||
[^:]+: d5308060 mrs x0, csrptridx_el1 |
|||
[^:]+: d5348000 mrs x0, csrcr_el2 |
|||
[^:]+: d5348020 mrs x0, csrptr_el2 |
|||
[^:]+: d5348060 mrs x0, csrptridx_el2 |
|||
[^:]+: d5138000 msr csrcr_el0, x0 |
|||
[^:]+: d5138020 msr csrptr_el0, x0 |
|||
[^:]+: d5108000 msr csrcr_el1, x0 |
|||
[^:]+: d5158000 msr csrcr_el12, x0 |
|||
[^:]+: d5108020 msr csrptr_el1, x0 |
|||
[^:]+: d5158020 msr csrptr_el12, x0 |
|||
[^:]+: d5148000 msr csrcr_el2, x0 |
|||
[^:]+: d5148020 msr csrptr_el2, x0 |
|||
@ -1,3 +0,0 @@ |
|||
#name: CSR PDEC instruction |
|||
#source: csre_csr-invalid.s |
|||
#error_output: csre_csr-invalid.l |
|||
@ -1,2 +0,0 @@ |
|||
.*: Assembler messages: |
|||
.*: Error: selected processor does not support `csr pdec' |
|||
@ -1,4 +0,0 @@ |
|||
/* CSR PDEC requires +csre for -march= command line option. */ |
|||
.arch armv8-a |
|||
|
|||
csr pdec |
|||
@ -1,10 +0,0 @@ |
|||
#name: CSRE extension CSR PDEC instruction |
|||
#objdump: -dr |
|||
|
|||
.*: file format .* |
|||
|
|||
Disassembly of section \.text: |
|||
|
|||
0+ <.*>: |
|||
.*: d50b721f csr pdec |
|||
.*: d50b721f csr pdec |
|||
@ -1,4 +0,0 @@ |
|||
.arch armv8-a+csre |
|||
|
|||
csr pdec |
|||
CSR PDEC |
|||
File diff suppressed because it is too large
Loading…
Reference in new issue