Subject: Re: please review my MachFPTrap changes
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Christopher SEKIYA <wileyc@rezrov.net>
List: port-mips
Date: 03/06/2004 09:43:01
--ZARJHfwaSJQLOEUz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Fri, Mar 05, 2004 at 01:46:13PM +0100, Matthias Drochner wrote:
> The appended patch is a quick workaround. Somehow sensible
> si_code values must be deduced.
The patch fixes the perl compilation problem:
Checking whether your C compiler can cast large floats to int32.
emul_trapsignal(4,4620208d)
[1] Illegal instruction (core dumped) ${run} ./try
Checking whether your C compiler can cast negative float to unsigned.
vprintf() found.
I'm pretty sure that casting float to int32 didn't used to raise an FPE ...
-- Chris
GPG key FEB9DE7F (91AF 4534 4529 4BCC 31A5 938E 023E EEFB FEB9 DE7F)
--ZARJHfwaSJQLOEUz
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFASR6UAj7u+/653n8RAlOqAKC59z9yZIWcVAy3Jj2QhFoS9JkmlwCePUgW
8IMQdoh9CTU3/dFyegdH7e8=
=+iDa
-----END PGP SIGNATURE-----
--ZARJHfwaSJQLOEUz--