Maciej, When I run two of your new tests in gcc.target/mips (nan-legacy.c and nans-legacy.c), they are failing because my GCC is putting out
.word 4294967295 instead of .word -1 like the test is expecting. I believe they are equivalent (0xffffffff) but I am not sure what it is about my targets (mips-mti-elf and mips-mti-linux-gnu) that would make this different from yours. Should the tests be modified to allow either output? Steve Ellcey sell...@mips.com