< prev index next >

src/hotspot/cpu/x86/x86_32.ad

Print this page
@@ -13787,17 +13787,17 @@
                   $scr$$Register, noreg, noreg, $thread$$Register, nullptr, nullptr, nullptr, false, false);
    %}
    ins_pipe(pipe_slow);
  %}
  
- instruct cmpFastUnlock(eFlagsReg cr, eRegP object, eAXRegP box, eRegP tmp ) %{
+ instruct cmpFastUnlock(eFlagsReg cr, eRegP object, eAXRegP box, eRegP tmp, eRegP scr) %{
    match(Set cr (FastUnlock object box));
-   effect(TEMP tmp, USE_KILL box);
+   effect(TEMP tmp, TEMP scr, USE_KILL box);
    ins_cost(300);
    format %{ "FASTUNLOCK $object,$box\t! kills $box,$tmp" %}
    ins_encode %{
-     __ fast_unlock($object$$Register, $box$$Register, $tmp$$Register, ra_->C->use_rtm());
+     __ fast_unlock($object$$Register, $box$$Register, $tmp$$Register, $scr$$Register, ra_->C->use_rtm());
    %}
    ins_pipe(pipe_slow);
  %}
  
  instruct mask_all_evexL_LT32(kReg dst, eRegL src) %{
< prev index next >