Skip to content

Commit

Permalink
target/hppa: Increase number of temp regs
Browse files Browse the repository at this point in the history
HP-UX 10.20 CD contains "add r0, r0, r27" in a delay slot,
which uses at least 5 temps.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Jan 31, 2018
1 parent 46559e8 commit 5eecd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/hppa/translate.c
Expand Up @@ -277,7 +277,7 @@ typedef struct DisasContext {
TCGv_reg iaoq_n_var;

int ntempr, ntempl;
TCGv_reg tempr[4];
TCGv_reg tempr[8];
TCGv_tl templ[4];

DisasCond null_cond;
Expand Down

0 comments on commit 5eecd37

Please sign in to comment.