mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-26 05:00:28 +02:00
ia64: Do not use a dangling pointer for double to integer copy
* lib/jit_ia64-fpu.c, lib/jit_ia64.c: Correct movi_d_w and movi_f_w implementation to work when not using a data buffer. This causes the check varargs.tst to work when passing "-d" to the lightning test tool.
This commit is contained in:
parent
f48e07b58b
commit
a3063df782
3 changed files with 35 additions and 11 deletions
|
@ -1420,10 +1420,10 @@ _emit_code(jit_state_t *_jit)
|
|||
movr_d_w(rn(node->u.w), rn(node->v.w));
|
||||
break;
|
||||
case jit_code_movi_f_w:
|
||||
movi_f_w(rn(node->u.w), node->v.n->u.w);
|
||||
movi_f_w(rn(node->u.w), node->v.n->u.p);
|
||||
break;
|
||||
case jit_code_movi_d_w:
|
||||
movi_d_w(rn(node->u.w), node->v.n->u.w);
|
||||
movi_d_w(rn(node->u.w), node->v.n->u.p);
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue