NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-m68k/59616 (m68k softfloat nans and infs have to be preserved when changing sizes)
The following reply was made to PR port-m68k/59616; it has been noted by GNATS.
From: Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-m68k-maintainer%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost
Subject: Re: port-m68k/59616 (m68k softfloat nans and infs have to be preserved when changing sizes)
Date: Mon, 1 Sep 2025 12:24:21 +1000
--Boundary-00=_WPQtonuYZsUh48B
Content-Type: Text/Plain;
charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Reference output for the test case:
--Boundary-00=_WPQtonuYZsUh48B
Content-Type: text/plain;
charset="ISO-8859-1";
name="gcc-m68k-bugreport.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="gcc-m68k-bugreport.txt"
gcc (nb1 20250721) 12.5.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
NetBSD princess 11.99.1 NetBSD 11.99.1 (WSFBPWR) #0: Fri Aug 22 17:53:35 AEST 2025 build@microrusty:/home/build/mac-new-sf/sys/arch/mac68k/compile/WSFBPWR mac68k
gcc -msoft-float -o /tmp/minus.o ./minus.c
failed output:
MINUS 3.900000e-10: 0.000000e+00 -4.513169e-18 -4.513169e-18
PLUS 3.900000e-10: 7.800000e-10 7.800000e-10 7.800000e-10
OK
MINUS inf: 0.000000e+00 8.988466e+307 inf
PLUS inf: 8.988466e+307 8.988466e+307 inf
OK
MINUS nan: 0.000000e+00 -1.797693e+308 nan
PLUS nan: -8.988466e+307 -1.797693e+308 nan
OK
MINUS 5.200000e+03: 0.000000e+00 0.000000e+00 0.000000e+00
PLUS 5.200000e+03: 1.040000e+04 1.040000e+04 1.040000e+04
OK OK OK
expected output:
MINUS 3.900000e-10: 0.000000e+00 -4.513169e-18 -4.513169e-18
PLUS 3.900000e-10: 7.800000e-10 7.800000e-10 7.800000e-10
OK
MINUS inf: nan nan nan
PLUS inf: inf inf inf
MINUS nan: nan nan nan
PLUS nan: nan nan nan
MINUS 5.200000e+03: 0.000000e+00 0.000000e+00 0.000000e+00
PLUS 5.200000e+03: 1.040000e+04 1.040000e+04 1.040000e+04
OK OK OK
--Boundary-00=_WPQtonuYZsUh48B--
Home |
Main Index |
Thread Index |
Old Index