diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-08-11 21:58:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-08-11 21:58:35 -0700 |
commit | 3a905766e6ed9fac09e14a1d618395670062c98d (patch) | |
tree | 215f6c7cf97625bb465737fceb5f3500768fdae2 | |
parent | 715d094733dbd6850f8e0b0aa956f8b0eaf00bb6 (diff) | |
download | txr-3a905766e6ed9fac09e14a1d618395670062c98d.tar.gz txr-3a905766e6ed9fac09e14a1d618395670062c98d.tar.bz2 txr-3a905766e6ed9fac09e14a1d618395670062c98d.zip |
loongarch64: fix assembler warning.
This issue was spotted by Alpine Linux people; I'm
upstreaming their patch (originally authored by
a user named huajingyun01).
* jmp.S (jmp_save, jmp_restore): Use recommended
register names on loongarch64: a0 and a1 rather
than v0 and v1.
-rw-r--r-- | jmp.S | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -523,7 +523,7 @@ DEFUN(jmp_save) fst.d $fs6, $a0, 144 fst.d $fs7, $a0, 152 #endif - xor $v0, $v0, $v0 + xor $a0, $a0, $a0 jirl $zero, $ra, 0 DEFUN(jmp_restore) @@ -549,7 +549,7 @@ DEFUN(jmp_restore) fld.d $fs6, $a0, 144 fld.d $fs7, $a0, 152 #endif - add.d $v0, $a1, $zero + add.d $a0, $a1, $zero jirl $zero, $ra, 0 #else |