Re: [Tinycc-devel] tcc x86-64 and gawk - progress
On Mon, May 14, 2012 at 8:42 PM, Aharon Robbins arn...@skeeve.com wrote: Hi. THANK YOU very much for this. I pulled, rebuilt, and then reran building and 'make test' with the gawk-4.0-stable branch and now all the tests pass! This is really great. (The compilation time speed difference w.r.t. GCC is enormous.) Reminder: that sounds like a strong argument for making another release. 0.9.25 has been in the mainstream distros for a long time now. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] tcc x86-64 and gawk - progress
Hi, On Thu, 3 May 2012, arn...@skeeve.com wrote: The one remaining test failure seems to be related to handling NaN floating point values. Here is the diff of the test results. NaN handling was totally hosed for x86_64. Update your checkout of mob branch, I fixed it. I've added an fairly extensive test function for all code paths that TCC might use to expand the various comparison constructs. This might introduce failures on the other targets which I can't test (i.e. other than x86_64 or i386). If so, they are equally broken regarding comparison behaviour with NaNs according to IEEE fp. Ciao, Michael. ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Tinycc-devel] tcc x86-64 and gawk - progress
Hello All. Kudos to whoever has been working on the x86_64 port. It now compiles gawk with only one test failure! This is significant progress. The one remaining test failure seems to be related to handling NaN floating point values. Here is the diff of the test results. It would be really cool to have gawk pass all its tests with tcc. Can someone look at this? Instructions to replicate: git clone git://git.savannah.gnu.org/gawk.git cd gawk git checkout gawk-4.0-stable# important! ./bootstrap.sh ./configure CC=tcc make make check Thanks! Arnold Robbins Gawk maintainer - make[1]: Entering directory `/d/home/arnold/Gnu/gawk/gawk.git/test' for i in _* ; \ do \ if [ $i != _* ]; then \ echo == $i = ; \ if [ -r ${i#_}.ok ]; then \ diff -c ${i#_}.ok $i ; \ else \ diff -c ./${i#_}.ok $i ; \ fi ; \ fi ; \ done | more == _fmtspcl = *** fmtspcl.ok Wed May 2 20:09:50 2012 --- _fmtspclWed May 2 20:09:50 2012 *** *** 1,7 gawk: ./fmtspcl.awk:10: warning: sqrt: called with negative argument -1 ! gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for `%x' format gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for `%d' format ! gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for `%x' format gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for `%d' format gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%x' format gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%d' format --- 1,9 gawk: ./fmtspcl.awk:10: warning: sqrt: called with negative argument -1 ! sprintf(%s,-9223372036854775808) = -9223372036854775808 (!= -nan) ! sprintf(%x,-9223372036854775808) = (!= -nan) gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for `%d' format ! sprintf(%s,-9223372036854775808) = -9223372036854775808 (!= -nan) ! sprintf(%x,-9223372036854775808) = (!= -nan) gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for `%d' format gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%x' format gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%d' format make[1]: Leaving directory `/d/home/arnold/Gnu/gawk/gawk.git/test' ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel