summaryrefslogtreecommitdiffstats
path: root/target/openrisc/exception_helper.c
diff options
context:
space:
mode:
authorRichard Henderson2015-02-18 21:34:56 +0100
committerRichard Henderson2017-02-13 22:14:59 +0100
commit0c53d7342b4e8412f3b81eed67f053304813dc5d (patch)
treedf1313a2cc5750bc9801b953072afab91d836248 /target/openrisc/exception_helper.c
parenttarget/openrisc: Streamline arithmetic and OVE (diff)
downloadqemu-0c53d7342b4e8412f3b81eed67f053304813dc5d.tar.gz
qemu-0c53d7342b4e8412f3b81eed67f053304813dc5d.tar.xz
qemu-0c53d7342b4e8412f3b81eed67f053304813dc5d.zip
target/openrisc: Put SR[OVE] in TB flags
Removes a call at execution time for overflow exceptions. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/openrisc/exception_helper.c')
-rw-r--r--target/openrisc/exception_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/openrisc/exception_helper.c b/target/openrisc/exception_helper.c
index 7e54c978be..5147da68c4 100644
--- a/target/openrisc/exception_helper.c
+++ b/target/openrisc/exception_helper.c
@@ -32,7 +32,7 @@ void HELPER(exception)(CPUOpenRISCState *env, uint32_t excp)
void HELPER(ove)(CPUOpenRISCState *env, target_ulong test)
{
- if (unlikely(test) && (env->sr & SR_OVE)) {
+ if (unlikely(test)) {
OpenRISCCPU *cpu = openrisc_env_get_cpu(env);
CPUState *cs = CPU(cpu);