-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[AMDGPU] Adding instruction specific features #167809
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 3 commits
eccc491
d6d1d87
3327654
83b9e8d
04413e2
cd83519
15e6eec
c6ac0f1
a3987b1
2b6be97
3691fc9
6a8d41a
91bd908
c8d8011
b6ad1ac
7d3d397
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -901,6 +901,48 @@ def FeaturePkFmacF16Inst : SubtargetFeature<"pk-fmac-f16-inst", | |||||
| "Has v_pk_fmac_f16 instruction" | ||||||
| >; | ||||||
|
|
||||||
| def FeatureCubeInsts : SubtargetFeature<"V_CUBE-Insts", | ||||||
| "HasCubeInsts", | ||||||
| "true", | ||||||
| "Has V_CUBE* instructions" | ||||||
|
||||||
| "Has V_CUBE* instructions" | |
| "Has v_cube* instructions" |
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.
and all the new features
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 builtin for this is actually broken and missing a feature check
Outdated
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.
Builtin doesn't have a feature check
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 feature string doesn't follow those existing names. For example, this can just be
cube-insts,lerp-insts, etc.