fp-bit.c (_fpmul_parts): Use USItype variables as inputs for multiplies.

* fp-bit.c (_fpmul_parts): Use USItype variables as inputs
	for multiplies.

From-SVN: r38130
This commit is contained in:
J"orn Rennecke 2000-12-08 09:14:03 +00:00 committed by Joern Rennecke
parent 7213219e03
commit cf9f5da02f
2 changed files with 13 additions and 8 deletions

View file

@ -1,3 +1,8 @@
Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com>
* fp-bit.c (_fpmul_parts): Use USItype variables as inputs
for multiplies.
2000-12-07 Mike Stump <mrs@wrs.com>
* Makefile.in (distclean): Remove alloca.c hashtab.c.

View file

@ -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;