Re: [Qemu-devel] [PATCH 07/17] target-openrisc: Keep SR_CY and SR_OV in a separate variables

2015-09-04 Thread Bastian Koppelmann
On 09/03/2015 02:17 AM, Richard Henderson wrote: - -uint32_t HELPER(mul32)(CPUOpenRISCState *env, - uint32_t ra, uint32_t rb) -{ -uint64_t result; -uint32_t high, cy; - -OpenRISCCPU *cpu = openrisc_env_get_cpu(env); - -result = (uint64_t)ra * rb; -/* re

[Qemu-devel] [PATCH 07/17] target-openrisc: Keep SR_CY and SR_OV in a separate variables

2015-09-02 Thread Richard Henderson
This significantly streamlines carry and overflow production. Signed-off-by: Richard Henderson --- target-openrisc/cpu.h | 13 +++- target-openrisc/exception_helper.c | 33 --- target-openrisc/helper.h | 5 +- target-openrisc/int_helper.c | 36 --