-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[AMDGPU] Enable saving SHARED_BASE to VCC #163244
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 1 commit
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 |
|---|---|---|
|
|
@@ -58,6 +58,15 @@ body: | | |
| $sgpr0_sgpr1 = COPY $src_shared_base | ||
| ... | ||
|
|
||
| --- | ||
| name: src_shared_base_to_vcc | ||
| body: | | ||
| bb.0: | ||
| ; GFX9-LABEL: name: src_shared_base_to_vcc | ||
| ; GFX9: $vcc = S_MOV_B64 $src_shared_base | ||
| $vcc = COPY $src_shared_base | ||
|
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. Also test the inverse case? 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. ping. We do not structurally prevent writing to constant registers and it is encodable 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. @arsenm I added a test to copy vcc to shared_base but it fails name: vcc_to_src_shared_base I';ll have to fix the copy to enable this, unless I misunderstood you? 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. like this? |
||
| ... | ||
|
|
||
| --- | ||
| name: sgpr96_aligned_src_dst | ||
| body: | | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.