qemu-e2k/target/openrisc
Richard Henderson 6597c28d61 target/openrisc: Optimize for r0 being zero
The HW does not special-case r0, but the ABI specifies that r0 should
contain 0.  If we expose this fact to the optimizer, we can simplify
a lot of the generated code.  We must of course verify that r0==0, but
that is trivial to do with a TB flag.

Signed-off-by: Richard Henderson <rth@twiddle.net>
2017-02-14 08:15:00 +11:00
..
cpu.c target/openrisc: Implement lwa, swa 2017-02-14 08:14:59 +11:00
cpu.h target/openrisc: Optimize for r0 being zero 2017-02-14 08:15:00 +11:00
exception_helper.c target/openrisc: Optimize for r0 being zero 2017-02-14 08:15:00 +11:00
exception.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
exception.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
fpu_helper.c target/openrisc: Fix madd 2017-02-14 08:15:00 +11:00
gdbstub.c target/openrisc: Tidy handling of delayed branches 2017-02-14 08:15:00 +11:00
helper.h target/openrisc: Fix madd 2017-02-14 08:15:00 +11:00
interrupt_helper.c target/openrisc: Tidy ppc/npc implementation 2017-02-14 08:15:00 +11:00
interrupt.c target/openrisc: Tidy handling of delayed branches 2017-02-14 08:15:00 +11:00
machine.c target/openrisc: Tidy ppc/npc implementation 2017-02-14 08:15:00 +11:00
Makefile.objs target/openrisc: Streamline arithmetic and OVE 2017-02-14 08:14:59 +11:00
mmu_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
mmu.c target/openrisc: Implement lwa, swa 2017-02-14 08:14:59 +11:00
sys_helper.c target/openrisc: Tidy handling of delayed branches 2017-02-14 08:15:00 +11:00
translate.c target/openrisc: Optimize for r0 being zero 2017-02-14 08:15:00 +11:00