summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-04-05 19:43:40 -0700
committerRichard Henderson <rth@twiddle.net>2017-02-14 08:15:00 +1100
commit6597c28d618a3d16d468770b7c30a0237a8c8ea9 (patch)
tree45f88af4cf649ce36afadd421965ae88d5173ea6 /hw/intc
parenta01deb36a685365b4a3117112da3cc4f0f79e955 (diff)
downloadfocaccia-qemu-6597c28d618a3d16d468770b7c30a0237a8c8ea9.tar.gz
focaccia-qemu-6597c28d618a3d16d468770b7c30a0237a8c8ea9.zip
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>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions