mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-05 06:50:21 +02:00
PPC: Correct wrong ldxi_l simplification in 64 bit mode
* lib/jit_ppc-cpu.c: Correct wrong shortcut for ldxi_l with a zero offset, that was calling ldr_i instead of ldr_l.
This commit is contained in:
parent
2d4bac43a9
commit
fe3aee2706
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-08 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
|
* lib/jit_ppc-cpu.c: Correct wrong shortcut for ldxi_l with
|
||||||
|
a zero offset, that was calling ldr_i instead of ldr_l.
|
||||||
|
|
||||||
2013-10-08 Paulo Andrade <pcpa@gnu.org>
|
2013-10-08 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
* include/lightning/jit_arm.h, lib/jit_arm-cpu.c: Do not use
|
* include/lightning/jit_arm.h, lib/jit_arm-cpu.c: Do not use
|
||||||
|
|
|
@ -2669,7 +2669,7 @@ _ldxi_l(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1, jit_word_t i0)
|
||||||
{
|
{
|
||||||
jit_int32_t reg;
|
jit_int32_t reg;
|
||||||
if (i0 == 0)
|
if (i0 == 0)
|
||||||
ldr_i(r0, r1);
|
ldr_l(r0, r1);
|
||||||
else if (can_sign_extend_short_p(i0)) {
|
else if (can_sign_extend_short_p(i0)) {
|
||||||
if (r1 == _R0_REGNO) {
|
if (r1 == _R0_REGNO) {
|
||||||
reg = jit_get_reg(jit_class_gpr);
|
reg = jit_get_reg(jit_class_gpr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue