[rfc] fix umul_ppmm() in our libgcc
Alexander Kabaev
kabaev at gmail.com
Tue Jun 16 05:18:40 UTC 2015
On Sat, 13 Jun 2015 15:41:34 -0700
Adrian Chadd <adrian at freebsd.org> wrote:
> Hi,
>
> our libgcc in -base is very .. old. It chokes when compiling for
> mips32. This patch seems to do the right thing.
>
> Does anyone have any positive/negative feedback?
>
> Thanks,
>
>
> -adrian
Newer version of GCC use similar construct, but actual multiplication
is done using more correct selection of casts:
UDItype __x = (UDItype) (USItype) (u) * (USItype) (v);
I suggest you follow their lead. No objections otherwise.
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20150616/db7c18da/attachment.sig>
More information about the freebsd-mips
mailing list