Repository navigation
[rocjitsu][amdisa][add-atomic 3/5] Add rest of s_atomic_* instructions (except cmpswap) - #13110
Conversation
✅ All Checks Passed — Ready for Review
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🎉 All checks passed! This PR is ready for review. |
36b4f31 to
efc6e88
Compare
kuhar
left a comment
There was a problem hiding this comment.
We should rename test_non_integer_scalar_atomic_operations_stay_nop to describe operations outside the supported scalar allowlist, and align the explanatory comments with that contract (emulation/rocjitsu/lib/python/amdisa/tests/test_sema_derive.py:2226–2238, emulation/rocjitsu/lib/python/amdisa/semantics.py:1787).
CSUB and COND_SUB_U32 are integer operations, and the shared apply_int_atomic used by the scalar pipeline already implements them. These synthetic scalar names stay nop because the derivation allowlist excludes them. Calling the cases “non-integer” and attributing their exclusion to pipeline capability obscures what the test protects. A name such as test_scalar_atomic_operations_outside_allowlist_stay_nop, with a comment explaining that these synthetic names must not gain scalar support through the flat operation table, would make the intent clear.
efc6e88 to
573a20e
Compare
|
Made those changes |
573a20e to
f25c18b
Compare
f25c18b to
499b242
Compare
499b242 to
2324024
Compare
2324024 to
296b8f5
Compare
TheRock Submodule Bump ActivityNewest first
|
Motivation
Adds the rest of the
s_atomic_*instructions (excepts_atomic_cmpswap*which will be treated differently) in the same way thats_atomic_decands_atomic_dec_x2were added in PR #12963 and PR #13104.Issue Tracking
Part of Issue #13025.