Skip to content

Commit 8becb80

Browse files
[AArch64] Remove apple-a7-sysreg. (#102709)
This feature provided CPM_IOACC_CTL_EL3, a lone system register that has been carried over since the original ARM64 implementation, where it was the only processor-specific register in a long list of architectural sysregs. We don't need it here. It's been used as a generic processor-specific sysreg in tests, but the functionality they target is now better covered in other more exhaustive tests.
1 parent 9791986 commit 8becb80

File tree

7 files changed

+1
-33
lines changed

7 files changed

+1
-33
lines changed

llvm/lib/Target/AArch64/AArch64Features.td

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,6 @@ def FeatureTaggedGlobals : SubtargetFeature<"tagged-globals",
721721
"true", "Use an instruction sequence for taking the address of a global "
722722
"that allows a memory tag in the upper address bits">;
723723

724-
def FeatureAppleA7SysReg : SubtargetFeature<"apple-a7-sysreg", "HasAppleA7SysReg", "true",
725-
"Apple A7 (the CPU formerly known as Cyclone)">;
726-
727724
def FeatureEL2VMSA : SubtargetFeature<"el2vmsa", "HasEL2VMSA", "true",
728725
"Enable Exception Level 2 Virtual Memory System Architecture">;
729726

llvm/lib/Target/AArch64/AArch64Processors.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ def ProcessorFeatures {
835835
FeatureFullFP16, FeatureCRC, FeatureLSE, FeatureRAS, FeatureRDM,
836836
FeatureFPARMv8];
837837
list<SubtargetFeature> AppleA7 = [HasV8_0aOps, FeatureSHA2, FeatureAES, FeatureFPARMv8,
838-
FeatureNEON,FeaturePerfMon, FeatureAppleA7SysReg];
838+
FeatureNEON,FeaturePerfMon];
839839
list<SubtargetFeature> AppleA10 = [HasV8_0aOps, FeatureSHA2, FeatureAES, FeatureFPARMv8,
840840
FeatureNEON, FeaturePerfMon, FeatureCRC,
841841
FeatureRDM, FeaturePAN, FeatureLOR, FeatureVH];

llvm/lib/Target/AArch64/AArch64SystemOperands.td

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,11 +1747,6 @@ foreach n = 0-31 in {
17471747
let Requires = [{ {AArch64::FeatureSPE_EEF} }] in
17481748
def : RWSysReg<"PMSNEVFR_EL1", 0b11, 0b000, 0b1001, 0b1001, 0b001>;
17491749

1750-
// Cyclone specific system registers
1751-
// Op0 Op1 CRn CRm Op2
1752-
let Requires = [{ {AArch64::FeatureAppleA7SysReg} }] in
1753-
def : RWSysReg<"CPM_IOACC_CTL_EL3", 0b11, 0b111, 0b1111, 0b0010, 0b000>;
1754-
17551750
// Scalable Matrix Extension (SME)
17561751
// Op0 Op1 CRn CRm Op2
17571752
let Requires = [{ {AArch64::FeatureSME} }] in {

llvm/test/CodeGen/AArch64/print-mrs-system-register.ll

Lines changed: 0 additions & 11 deletions
This file was deleted.

llvm/test/MC/AArch64/arm64-target-specific-sysreg.s

Lines changed: 0 additions & 10 deletions
This file was deleted.
Binary file not shown.

llvm/test/tools/llvm-objdump/MachO/AArch64/macho-print-mrs.test

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)