-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[AArch64] Split FeatureLS64 to LS64_ACCDATA and LS64_V. #101712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2fe8ef6
739bc85
15efdaa
0689b83
ab602c0
164041a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -305,9 +305,17 @@ def FeatureWFxT : ExtensionWithMArch<"wfxt", "WFxT", "FEAT_WFxT", | |
def FeatureHCX : Extension<"hcx", "HCX", "FEAT_HCX", | ||
"Enable Armv8.7-A HCRX_EL2 system register">; | ||
|
||
def FeatureLS64 : ExtensionWithMArch<"ls64", "LS64", | ||
"FEAT_LS64, FEAT_LS64_V, FEAT_LS64_ACCDATA", | ||
"Enable Armv8.7-A LD64B/ST64B Accelerator Extension">; | ||
def FeatureLS64 : Extension<"ls64", "LS64", "FEAT_LS64", | ||
"Enable single-copy atomic 64-byte loads and stores without status result">; | ||
|
||
def FeatureLS64_V : Extension<"ls64_v", "LS64_V", "FEAT_LS64_V", | ||
"Enable single-copy atomic 64-byte stores with status result", | ||
[FeatureLS64]>; | ||
|
||
let UserVisibleName = "ls64" in | ||
def FeatureLS64_ACCDATA : ExtensionWithMArch<"ls64_accdata", "LS64_ACCDATA", "FEAT_LS64_ACCDATA", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Internal feature name There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. The name |
||
"Enable single-copy atomic 64-byte EL0 stores with status result", | ||
[FeatureLS64_V]>; | ||
|
||
def FeatureSPE_EEF : Extension<"spe-eef", "SPE_EEF", "FEAT_SPEv1p2", | ||
"Enable extra register in the Statistical Profiling Extension">; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The internal feature name
+ls64
would need to be something like+ls64only
to preserve backwards compatibility of the IR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think this will create confusion. I would prefer something like "ls64_no_status_result", which is also ugly but more informative. I think it is not worth maintaining backwards compatibility at the expense of code maintainability in cases like this. I consider the IR metadata to be more volatile than the command line or anything user facing like the .archextension in assembler.