RISC-V: Cleanup masm lr()/sc() methods

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 22
    • Affects Version/s: 22
    • Component/s: hotspot
    • None
    • b15
    • riscv

      The masm load_reserved and store_conditional are hardcoded to t0 so they can't be used in all-places.
      store_conditional() have a different argument order than sc_d.

      They should take dest as argument and sc() should have the same argument order as sc.

            Assignee:
            Robbin Ehn
            Reporter:
            Robbin Ehn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: