target/cris: Improve JMP_INDIRECT
commit3a1a80cc052377134a7d8c1c008085de3413cf61
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 20 Jun 2021 21:06:01 +0000 (20 14:06 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:56 +0000 (29 10:04 -0700)
tree74561126fec97153ebc9f08f3e8ff915a6d3a54b
parente0a4620c1f8011cb2b638f9013e087b53ca325ad
target/cris: Improve JMP_INDIRECT

Use movcond instead of brcond to set env_pc.
Discard the btarget and btaken variables to improve
register allocation and avoid unnecessary writeback.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/cris/translate.c