[PATCH] D139501: [libunwind] Fix a slip of the pen for st.d on LoongArch

Limin Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 20:01:15 PST 2022


Ami-zhang created this revision.
Ami-zhang added reviewers: SixWeining, wangleiat, MaskRay.
Herald added subscribers: libcxx-commits, StephenFan.
Herald added projects: libunwind, All.
Herald added a reviewer: libunwind.
Ami-zhang requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139501

Files:
  libunwind/src/UnwindRegistersSave.S


Index: libunwind/src/UnwindRegistersSave.S
===================================================================
--- libunwind/src/UnwindRegistersSave.S
+++ libunwind/src/UnwindRegistersSave.S
@@ -881,7 +881,7 @@
 #
 DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
   .irp i,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
-    std.d $r\i, $a0, (8*\i)
+    st.d $r\i, $a0, (8*\i)
   .endr
   st.d    $r1,  $a0, (8 * 32) // store $ra to pc
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139501.480755.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221207/4e3bdf2f/attachment.bin>


More information about the llvm-commits mailing list