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

RISC-V: Cleanup bitwise AND assembler routines

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • b06
    • riscv
    • linux

      It's a bit strange that we have `Assembler::_and_imm12` and `MacroAssembler::andi`. This is different from friends
      `Assembler::ori` and `Assembler::xori`. And it doesn't seem necessary to have this `MacroAssembler::andi` as I find
      the immediate is within 12-bit range for most of the cases. There is only one exception in file sharedRuntime_riscv.cpp
      where we can do `mv` and `andr` instead.

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

              Created:
              Updated:
              Resolved: