[all-commits] [llvm/llvm-project] 22a840: MIPS: unwind, don't save/restore hi/lo for R6

YunQiang Su via All-commits all-commits at lists.llvm.org
Fri Aug 18 21:37:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22a84020d2324ac1f753705497a40c43d8284d94
      https://github.com/llvm/llvm-project/commit/22a84020d2324ac1f753705497a40c43d8284d94
  Author: YunQiang Su <wzssyqa at gmail.com>
  Date:   2023-08-19 (Sat, 19 Aug 2023)

  Changed paths:
    M libunwind/include/libunwind.h
    M libunwind/src/Registers.hpp
    M libunwind/src/UnwindRegistersRestore.S
    M libunwind/src/UnwindRegistersSave.S

  Log Message:
  -----------
  MIPS: unwind, don't save/restore hi/lo for R6

HI/LO registers have been removed in MIPSr6. Save and restore them only for pre-R6.

We keep the memory space for the registers so that we can use the same register indexes for
r6 and pre-r6.

Fixes: #60682

Reviewed By: compnerd

Differential Revision: https://reviews.llvm.org/D156283




More information about the All-commits mailing list