diff options
author | Richard Henderson <rth@twiddle.net> | 2015-02-18 12:34:56 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-02-14 08:14:59 +1100 |
commit | 0c53d7342b4e8412f3b81eed67f053304813dc5d (patch) | |
tree | df1313a2cc5750bc9801b953072afab91d836248 /target/openrisc/exception_helper.c | |
parent | 9ecaa27e7123211f45ca723a736ffae14f6c1f42 (diff) |
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.c | 2 |
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); |