Replies: 2 comments 1 reply
-
|
For reference: #121264 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It's much more complex to detect such pattern since multiple branches are involved. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
JIT should detect CAS loop pattern for max / min and replace it with CPU instruction id available.
For example this or similar code pattern on ARM this should produce LDUMAX:
https://developer.arm.com/documentation/ddi0596/2021-06/Base-Instructions/LDUMAX--LDUMAXA--LDUMAXAL--LDUMAXL--Atomic-unsigned-maximum-on-word-or-doubleword-in-memory-
Beta Was this translation helpful? Give feedback.
All reactions