Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8322154

RISC-V: JDK-8315743 missed change in MacroAssembler::load_reserved

    XMLWordPrintable

Details

    • b03
    • riscv
    • linux

    Backports

      Description

        diff --git a/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp b/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
        index 3acc010ff85..02e0a195138 100644
        --- a/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
        +++ b/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
        @@ -2771,7 +2771,7 @@ void MacroAssembler::load_reserved(Register dst,
               break;
             case uint32:
               lr_w(dst, addr, acquire);
        - zero_extend(t0, t0, 32);
        + zero_extend(dst, dst, 32);
               break;
             default:
               ShouldNotReachHere();

        Attachments

          Issue Links

            Activity

              People

                gcao Gui Cao
                gcao Gui Cao
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: