aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/fp-bit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/fp-bit.c')
-rw-r--r--gcc/config/fp-bit.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/fp-bit.c b/gcc/config/fp-bit.c
index 5f88518..4269970 100644
--- a/gcc/config/fp-bit.c
+++ b/gcc/config/fp-bit.c
@@ -665,14 +665,14 @@ _fpmul_parts ( fp_number_type * a,
#else
/* Doing a 64*64 to 128 */
{
- UDItype nl = a->fraction.ll & 0xffffffff;
- UDItype nh = a->fraction.ll >> 32;
- UDItype ml = b->fraction.ll & 0xffffffff;
- UDItype mh = b->fraction.ll >>32;
- UDItype pp_ll = ml * nl;
- UDItype pp_hl = mh * nl;
- UDItype pp_lh = ml * nh;
- UDItype pp_hh = mh * nh;
+ USItype nl = a->fraction.ll & 0xffffffff;
+ USItype nh = a->fraction.ll >> 32;
+ USItype ml = b->fraction.ll & 0xffffffff;
+ USItype mh = b->fraction.ll >>32;
+ UDItype pp_ll = (UDItype) ml * nl;
+ UDItype pp_hl = (UDItype) mh * nl;
+ UDItype pp_lh = (UDItype) ml * nh;
+ UDItype pp_hh = (UDItype) mh * nh;
UDItype res2 = 0;
UDItype res0 = 0;
UDItype ps_hh__ = pp_hl + pp_lh;