riscv: remove unnecessary ld/sd zr around calls

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • repo-riscv-port
    • Affects Version/s: repo-riscv-port
    • Component/s: 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.

            Assignee:
            Fei Yang
            Reporter:
            Xiaolin Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: