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

riscv: remove unnecessary ld/sd zr around calls

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-riscv-port
    • repo-riscv-port
    • hotspot
    • None

      On behalf of Wei Kuai(kuaiwei.kw@alibaba-inc.com):

      It seems zr(x0) is used as stack alignment when saving/restoring registers around calls. But it's unnecessary to ld/st x0. We need to reserve a stack slot in case requires alignment.

            fyang Fei Yang
            xlinzheng Xiaolin Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: