mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-20 18:50:21 +02:00
Implement sqrt codes in mips.
* lib/jit_mips-fpu.c, lib/jit_mips.c: Implement missing mips jit_sqrtr_{f,d} codes. * check/all.tst, include/lightning.h, lib/jit_print.c: Change declaration order and call order in all.tst of {add,sub}c and {add,sub}x. *c must be called before to set the carry and *x second to use the carry and keep it set. The wrong call order was causing all.tst to fail in mips, where a register is allocated to keep a global carry state.
This commit is contained in:
parent
760fab8d37
commit
aa7c8230c1
6 changed files with 32 additions and 14 deletions
|
@ -41,11 +41,11 @@ static char *code_name[] = {
|
|||
"label",
|
||||
"prolog",
|
||||
"addr", "addi",
|
||||
"addxr", "addxi",
|
||||
"addcr", "addci",
|
||||
"addxr", "addxi",
|
||||
"subr", "subi",
|
||||
"subxr", "subxi",
|
||||
"subcr", "subci",
|
||||
"subxr", "subxi",
|
||||
"mulr", "muli",
|
||||
"divr", "divi",
|
||||
"divr_u", "divi_u",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue