aboutsummaryrefslogtreecommitdiff
path: root/source
AgeCommit message (Collapse)AuthorFilesLines
2023-07-21Fix -Wreturn-type errors in fNNRandomHEADmasterOlaf Hering3-0/+3
In case global CFLAGS contains -Werror=return-type, compilation fails as shown below. For some reason gcc is unable to recognize the possible range of values in the switch statements, which can only ever be between zero and seven. Assist the compiler by adding a default statement. This fixes compilation in openSUSE Tumbleweed, which adds -Werror=return-type to global CFLAGS. source/genCases_f64.c: In function 'f64Random': source/genCases_f64.c:559:1: error: control reaches end of non-void function [-Werror=return-type] source/genCases_f32.c: In function 'f32Random': source/genCases_f32.c:417:1: error: control reaches end of non-void function [-Werror=return-type] source/genCases_f16.c: In function 'f16Random': source/genCases_f16.c:336:1: error: control reaches end of non-void function [-Werror=return-type] Signed-off-by: Olaf Hering <olaf@aepfle.de>
2023-02-17All verbosity reduction in the testfloat codeAlex Bennée3-14/+22
By itself this has no effect as the flag never gets altered by the original code. However QEMU's fp-test program directly include the test float code and that will shortly gain the ability to twiddle this flag. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2019-01-17fail: constify fail_programNameEmilio G. Cota2-2/+2
Signed-off-by: Emilio G. Cota <cota@braap.org>
2018-09-08testLoops: add testLoops_trueFlagsFunctionEmilio G. Cota108-212/+230
Instead of using *trueFlagsPtr. This will allow us to test code paths that depend on certain flags already being set. Signed-off-by: Emilio G. Cota <cota@braap.org>
2018-01-26Release 3e. See "doc/TestFloat-history.html".John Hauser176-886/+569
2017-08-18Release 3d. See "doc/TestFloat-history.html".John Hauser177-176/+290
2017-02-10Release 3c. See "doc/TestFloat-history.html".John Hauser178-826/+1325
2016-07-22Release 3b. See "doc/TestFloat-history.html".John Hauser177-713/+9730
2016-02-22Modified `testsoftfloat' to accept zero as the result of convertingJohn Hauser1-39/+38
a negative floating-point value to an unsigned integer format. (Also renamed `shiftCount' to `shiftDist' inside "slowfloat.c".)
2015-11-03Release 3a.John Hauser145-3529/+3979
2015-02-19Fixed a missing comma that prevented compilation on big-endian machines.John Hauser1-5/+5
Reboot the official release date (for the last time) to be 2015 Feb 16.
2014-12-11Update in RC for Release 3, fixing some bugs and improving the documentation.John Hauser13-141/+141
2014-11-28First draft of RC for Release 3, to start review process.John Hauser146-0/+37754