Projects
Mega:24.09
glibc
_service:tar_scm:LoongArch-Unify-Register-Names...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:LoongArch-Unify-Register-Names.patch of Package glibc
From 458ab6d5f39cca1cabd83abd2022f67491f6f5ed Mon Sep 17 00:00:00 2001 From: caiyinyu <caiyinyu@loongson.cn> Date: Fri, 20 Oct 2023 09:20:02 +0800 Subject: [PATCH 27/29] LoongArch: Unify Register Names. Signed-off-by: Peng Fan <fanpeng@loongson.cn> Signed-off-by: ticat_fp <fanpeng@loongson.cn> --- sysdeps/loongarch/__longjmp.S | 20 ++++++++++---------- sysdeps/loongarch/setjmp.S | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/sysdeps/loongarch/__longjmp.S b/sysdeps/loongarch/__longjmp.S index cbde1946..e87ce311 100644 --- a/sysdeps/loongarch/__longjmp.S +++ b/sysdeps/loongarch/__longjmp.S @@ -43,18 +43,18 @@ ENTRY (__longjmp) REG_L s8, a0, 12*SZREG #ifndef __loongarch_soft_float - FREG_L $f24, a0, 13*SZREG + 0*SZFREG - FREG_L $f25, a0, 13*SZREG + 1*SZFREG - FREG_L $f26, a0, 13*SZREG + 2*SZFREG - FREG_L $f27, a0, 13*SZREG + 3*SZFREG - FREG_L $f28, a0, 13*SZREG + 4*SZFREG - FREG_L $f29, a0, 13*SZREG + 5*SZFREG - FREG_L $f30, a0, 13*SZREG + 6*SZFREG - FREG_L $f31, a0, 13*SZREG + 7*SZFREG + FREG_L fs0, a0, 13*SZREG + 0*SZFREG + FREG_L fs1, a0, 13*SZREG + 1*SZFREG + FREG_L fs2, a0, 13*SZREG + 2*SZFREG + FREG_L fs3, a0, 13*SZREG + 3*SZFREG + FREG_L fs4, a0, 13*SZREG + 4*SZFREG + FREG_L fs5, a0, 13*SZREG + 5*SZFREG + FREG_L fs6, a0, 13*SZREG + 6*SZFREG + FREG_L fs7, a0, 13*SZREG + 7*SZFREG #endif - sltui a0,a1,1 + sltui a0, a1, 1 ADD a0, a0, a1 # a0 = (a1 == 0) ? 1 : a1 - jirl zero,ra,0 + jirl zero, ra, 0 END (__longjmp) diff --git a/sysdeps/loongarch/setjmp.S b/sysdeps/loongarch/setjmp.S index 6c7065cd..b6e4f727 100644 --- a/sysdeps/loongarch/setjmp.S +++ b/sysdeps/loongarch/setjmp.S @@ -52,19 +52,19 @@ ENTRY (__sigsetjmp) REG_S s8, a0, 12*SZREG #ifndef __loongarch_soft_float - FREG_S $f24, a0, 13*SZREG + 0*SZFREG - FREG_S $f25, a0, 13*SZREG + 1*SZFREG - FREG_S $f26, a0, 13*SZREG + 2*SZFREG - FREG_S $f27, a0, 13*SZREG + 3*SZFREG - FREG_S $f28, a0, 13*SZREG + 4*SZFREG - FREG_S $f29, a0, 13*SZREG + 5*SZFREG - FREG_S $f30, a0, 13*SZREG + 6*SZFREG - FREG_S $f31, a0, 13*SZREG + 7*SZFREG + FREG_S fs0, a0, 13*SZREG + 0*SZFREG + FREG_S fs1, a0, 13*SZREG + 1*SZFREG + FREG_S fs2, a0, 13*SZREG + 2*SZFREG + FREG_S fs3, a0, 13*SZREG + 3*SZFREG + FREG_S fs4, a0, 13*SZREG + 4*SZFREG + FREG_S fs5, a0, 13*SZREG + 5*SZFREG + FREG_S fs6, a0, 13*SZREG + 6*SZFREG + FREG_S fs7, a0, 13*SZREG + 7*SZFREG #endif #if !IS_IN (libc) && IS_IN(rtld) li.w v0, 0 - jirl zero,ra,0 + jirl zero, ra, 0 #else b __sigjmp_save #endif -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2