Skip to content

Commit e97643f

Browse files
committed
[AArch64] Add FPAC feature.
1 parent 8d2ae79 commit e97643f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

llvm/lib/Target/AArch64/AArch64Features.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ def FeatureJS : ExtensionWithMArch<"jsconv", "JS", "FEAT_JSCVT",
185185
"Enable Armv8.3-A JavaScript FP conversion instructions",
186186
[FeatureFPARMv8]>;
187187

188+
def FeatureFPAC : Extension<"fpac", "FPAC", "FEAT_FPAC",
189+
"Enable v8.3-A Pointer Authentication Faulting enhancement">;
190+
188191
def FeatureCCIDX : Extension<"ccidx", "CCIDX", "FEAT_CCIDX",
189192
"Enable Armv8.3-A Extend of the CCSIDR number of sets">;
190193

llvm/lib/Target/AArch64/AArch64InstrInfo.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ def HasMatMulFP32 : Predicate<"Subtarget->hasMatMulFP32()">,
276276
AssemblerPredicateWithAll<(all_of FeatureMatMulFP32), "f32mm">;
277277
def HasMatMulFP64 : Predicate<"Subtarget->hasMatMulFP64()">,
278278
AssemblerPredicateWithAll<(all_of FeatureMatMulFP64), "f64mm">;
279+
def HasFPAC : Predicate<"Subtarget->hasFPAC())">,
280+
AssemblerPredicateWithAll<(all_of FeatureFPAC), "fpac">;
279281
def HasXS : Predicate<"Subtarget->hasXS()">,
280282
AssemblerPredicateWithAll<(all_of FeatureXS), "xs">;
281283
def HasWFxT : Predicate<"Subtarget->hasWFxT()">,

0 commit comments

Comments
 (0)