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

RISC-V: get/put_native_u8 missing the case when address&7 is 6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • hotspot
    • None
    • b16
    • riscv
    • linux

        In src/hotspot/cpu/riscv/bytes_riscv.hpp , the switch for u8 is missing an case when address&7 equals 6, those resulting in 1-byte put/get when 2-byte operations can be used.
        Thanks Xiaolin for noticing

              vkempik Vladimir Kempik
              vkempik Vladimir Kempik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: