RISC-V: Factor out functions baseOffset & baseOffset32 from MacroAssembler

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • b08
    • riscv
    • linux

        The functions baseOffset & baseOffset32 from MacroAssembler receive an Address in base_plus_offset mode. They check the range of the offset, add it and base and put the result in a destination register. This duplicates the work of function MacroAssembler::la. We could refactor this part putting the legitimization of Address into MacroAssembler::la and use this function instead.

              Assignee:
              Fei Yang
              Reporter:
              Fei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: