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

RISC-V: improve performance of copy_memory stub

    XMLWordPrintable

Details

    • b25
    • riscv
    • linux

    Backports

      Description

        Currently copy_memory stub on risc-v is doing 8-byte copy per loop at best

        We can improve that to 32-bytes per loop ( doing it similar to memcpy in newlib) - four ld and four sd per loop
        Also copy_memory produces some dead ( never executed) code when is_aligned is true. Lets eliminate that as well

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: