diff options
author | Richard Henderson <rth@twiddle.net> | 2015-02-18 13:26:26 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-02-14 08:14:59 +1100 |
commit | 9745807191a81c45970f780166f44a7f93b18653 (patch) | |
tree | 426a6b0c6b8fe6576c3d564e3bb0672ab794101c /target/openrisc/helper.h | |
parent | 84775c43f390d4f5dd9adf8732e7e0b6deed8f61 (diff) |
target/openrisc: Keep SR_CY and SR_OV in a separate variables
This significantly streamlines carry and overflow production.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/openrisc/helper.h')
-rw-r--r-- | target/openrisc/helper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/openrisc/helper.h b/target/openrisc/helper.h index c2c8098243..f4d97a2d59 100644 --- a/target/openrisc/helper.h +++ b/target/openrisc/helper.h @@ -19,7 +19,9 @@ /* exception */ DEF_HELPER_FLAGS_2(exception, 0, void, env, i32) -DEF_HELPER_FLAGS_2(ove, TCG_CALL_NO_WG, void, env, tl) +DEF_HELPER_FLAGS_1(ove_cy, TCG_CALL_NO_WG, void, env) +DEF_HELPER_FLAGS_1(ove_ov, TCG_CALL_NO_WG, void, env) +DEF_HELPER_FLAGS_1(ove_cyov, TCG_CALL_NO_WG, void, env) /* float */ DEF_HELPER_FLAGS_2(itofd, 0, i64, env, i64) |