mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-19 19:20:23 +02:00
HPPA: Correct wrong regarg_p check
If argument registers are in incremental order in the global _rvs vector, the check if a register argument is reversed. Adapted from a regression found in sparc 64.
This commit is contained in:
parent
2cea99361b
commit
d2ff737812
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ _jit_regarg_p(jit_state_t *_jit, jit_node_t *node, jit_int32_t regno)
|
|||
spec = jit_class(_rvs[regno].spec);
|
||||
if (spec & jit_class_arg) {
|
||||
if (spec & jit_class_gpr) {
|
||||
regno = _R26 - regno;
|
||||
regno -= _R23;
|
||||
if (regno >= 0 && regno < node->v.w)
|
||||
return (1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue