alpha: fix compile
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
65e8c51928
commit
eacdccbb3e
|
|
@ -46,10 +46,10 @@ uint64_t helper_load_fpcr (void)
|
||||||
{
|
{
|
||||||
uint64_t ret = 0;
|
uint64_t ret = 0;
|
||||||
#ifdef CONFIG_SOFTFLOAT
|
#ifdef CONFIG_SOFTFLOAT
|
||||||
ret |= env->fp_status.float_exception_flags << 52;
|
ret |= (uint64_t)env->fp_status.float_exception_flags << 52;
|
||||||
if (env->fp_status.float_exception_flags)
|
if (env->fp_status.float_exception_flags)
|
||||||
ret |= 1ULL << 63;
|
ret |= 1ULL << 63;
|
||||||
env->ipr[IPR_EXC_SUM] &= ~0x3E:
|
env->ipr[IPR_EXC_SUM] &= ~0x3E;
|
||||||
env->ipr[IPR_EXC_SUM] |= env->fp_status.float_exception_flags << 1;
|
env->ipr[IPR_EXC_SUM] |= env->fp_status.float_exception_flags << 1;
|
||||||
#endif
|
#endif
|
||||||
switch (env->fp_status.float_rounding_mode) {
|
switch (env->fp_status.float_rounding_mode) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue