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

RISC-V: Detect Zicboz block size via hwprobe

XMLWordPrintable

    • master
    • riscv
    • linux

        We can extends RISC-V hwprobe support to include `RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE`.
        The probed value is recorded in VM_Version::zicboz_block_size and then used to set zicboz_block_size.
        This ensures correct usage of the Zicboz extension, as block zeroing instructions operate on cache-line granularity.

              dzhang Dingli Zhang
              dzhang Dingli Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: