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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • 21
    • hotspot
    • b08
    • riscv
    • linux

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: