diff options
author | Richard Henderson <rth@twiddle.net> | 2014-03-19 13:07:14 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-04-17 11:47:42 -0700 |
commit | e8d8fef48f1ac5997baa499165e7dc1c123c6e9f (patch) | |
tree | 7a3d71b127c44ce22f5e753ced7369ce8a7d86f3 /target-alpha/fpu_helper.c | |
parent | 65809352468dd1b2c096f6bc9963929a3a7ac5ab (diff) |
target-alpha: Convert gen_fcvtlq/ql to source/sink
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/fpu_helper.c')
-rw-r--r-- | target-alpha/fpu_helper.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target-alpha/fpu_helper.c b/target-alpha/fpu_helper.c index fad3575549..ee731555d3 100644 --- a/target-alpha/fpu_helper.c +++ b/target-alpha/fpu_helper.c @@ -820,3 +820,10 @@ uint64_t helper_cvtqg(CPUAlphaState *env, uint64_t a) fr = int64_to_float64(a, &FP_STATUS); return float64_to_g(fr); } + +void helper_fcvtql_v_input(CPUAlphaState *env, uint64_t val) +{ + if (val != (int32_t)val) { + arith_excp(env, GETPC(), EXC_M_IOV, 0); + } +} |