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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • 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.

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

                Created:
                Updated:
                Resolved: