Skip to content

Commit

Permalink
Merge pull request #7482 from IBMJimmyk/unsafeCAS-Z
Browse files Browse the repository at this point in the history
Accelerate Unsafe CAS Intrinsics on Z
  • Loading branch information
hzongaro authored Oct 21, 2024
2 parents ad12524 + 3541ed5 commit ce4fde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/optimizer/RedundantAsyncCheckRemoval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ bool TR_RedundantAsyncCheckRemoval::callDoesAnImplicitAsyncCheck(TR::Node *callN
return false;

if (symbol->isNative() &&
(comp()->target().cpu.isPower() || comp()->target().cpu.isX86()) &&
(comp()->target().cpu.isPower() || comp()->target().cpu.isX86() || comp()->target().cpu.isZ()) &&
((symbol->getRecognizedMethod()==TR::jdk_internal_misc_Unsafe_compareAndExchangeInt) ||
(symbol->getRecognizedMethod()==TR::jdk_internal_misc_Unsafe_compareAndExchangeLong) ||
(symbol->getRecognizedMethod()==TR::jdk_internal_misc_Unsafe_compareAndExchangeObject) ||
Expand Down

0 comments on commit ce4fde5

Please sign in to comment.