more tidying of x86 feature tests

Richard Henderson
Wed Mar 7 18:44:00 GMT 2007

On Wed, Mar 07, 2007 at 08:13:21AM -0800, H. J. Lu wrote:
> > BTW: Does CORE2 also prefer sahf?
> Compared with what?

Bit tests vs ax.  E.g.

        fnstsw  %ax
        testb   $1, %ah
        jne     .L5
        fnstsw  %ax
        jb      .L5

Though I guess it really ought not make any difference
whatsoever, because 64-bit should always use fcomi.


More information about the Gcc-patches mailing list