Home
last modified time | relevance | path

Searched hist:"6597 c28d" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/openrisc/
H A Dexception_helper.c6597c28d Tue Apr 05 21:43:40 CDT 2016 Richard Henderson <rth@twiddle.net> 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>
H A Dcpu.h6597c28d Tue Apr 05 21:43:40 CDT 2016 Richard Henderson <rth@twiddle.net> 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>
H A Dtranslate.c6597c28d Tue Apr 05 21:43:40 CDT 2016 Richard Henderson <rth@twiddle.net> 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>