From 31a8056f2f519fda71682cffd0eac6ba87a59c8e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 30 Nov 2021 17:50:24 +0000 Subject: aarch64: Remove duplicate system register entries There is a lot of overlap between the ETM and ETE system registers, so some registers were listed twice. Already tested by etm.[sd] and ete.[sd]. opcodes/ * aarch64-opc.c (aarch64_sys_regs): Combine ETE and ETM blocks and remove redundant entries. gas/ * testsuite/gas/aarch64/etm.s: Remove duplicated test. * testsuite/gas/aarch64/etm.d: Update accordingly. --- gas/testsuite/gas/aarch64/etm.d | 2 -- gas/testsuite/gas/aarch64/etm.s | 2 -- 2 files changed, 4 deletions(-) (limited to 'gas') diff --git a/gas/testsuite/gas/aarch64/etm.d b/gas/testsuite/gas/aarch64/etm.d index 4472b2f..ea00b86 100644 --- a/gas/testsuite/gas/aarch64/etm.d +++ b/gas/testsuite/gas/aarch64/etm.d @@ -90,7 +90,6 @@ Disassembly of section \.text: [^:]+: d5310a80 mrs x0, trcextinselr2 [^:]+: d5310b80 mrs x0, trcextinselr3 [^:]+: d53100e0 mrs x0, trcimspec0 -[^:]+: d53100e0 mrs x0, trcimspec0 [^:]+: d53101e0 mrs x0, trcimspec1 [^:]+: d53102e0 mrs x0, trcimspec2 [^:]+: d53103e0 mrs x0, trcimspec3 @@ -267,7 +266,6 @@ Disassembly of section \.text: [^:]+: d5110a80 msr trcextinselr2, x0 [^:]+: d5110b80 msr trcextinselr3, x0 [^:]+: d51100e0 msr trcimspec0, x0 -[^:]+: d51100e0 msr trcimspec0, x0 [^:]+: d51101e0 msr trcimspec1, x0 [^:]+: d51102e0 msr trcimspec2, x0 [^:]+: d51103e0 msr trcimspec3, x0 diff --git a/gas/testsuite/gas/aarch64/etm.s b/gas/testsuite/gas/aarch64/etm.s index 8f1947d..761f56a 100644 --- a/gas/testsuite/gas/aarch64/etm.s +++ b/gas/testsuite/gas/aarch64/etm.s @@ -86,7 +86,6 @@ mrs x0, trcextinselr1 mrs x0, trcextinselr2 mrs x0, trcextinselr3 mrs x0, trcimspec0 -mrs x0, trcimspec0 mrs x0, trcimspec1 mrs x0, trcimspec2 mrs x0, trcimspec3 @@ -265,7 +264,6 @@ msr trcextinselr1, x0 msr trcextinselr2, x0 msr trcextinselr3, x0 msr trcimspec0, x0 -msr trcimspec0, x0 msr trcimspec1, x0 msr trcimspec2, x0 msr trcimspec3, x0 -- cgit v1.1