------- Additional Comments From uros at kss-loka dot si 2005-01-18 12:38
-------
With current mainline, testcase from description generates minss instruction as
expected, when -ffast-math is used.
gcc -O2 -msse2 -mfpmath=sse -ffast-math:
minf:
pushl %ebp
movl %esp, %ebp
subl $4, %esp
movss 12(%ebp), %xmm0
minss 8(%ebp), %xmm0
movss %xmm0, -4(%ebp)
flds -4(%ebp)
leave
ret
It also works for max and all other cases from comment #6, so there is in fact
no need for a new PR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19250