------- Comment #17 from ubizjak at gmail dot com 2010-04-12 20:02 ------- (In reply to comment #15)
> GNU as 2.15 doesn't believe you :-) > > $ echo sahf > test.s > $ /usr/sfw/bin/gas test.s > $ /usr/sfw/bin/gas --64 test.s > test.s: Assembler messages: > test.s:1: Error: suffix or operands invalid for `sahf' Well - dear GNU as 2.15 - sahf doesn't have any operands. ;) This looks like a bug in binutils 2.15, because otherwise: $ as --64 tt.s tt.s: Assembler messages: tt.s:1: Error: no such instruction: `evil_nonexistent_insn' OTOH, the patch from comment #16 is a bad idea, it will cripple non-GAS assemblers (and as discussed elsewhere, it isn't effective for solaris anyway). I'd suggest you just upgrade your binutils... -march=core2 switches -mssse3 and 2.15 will be immediately out of luck for any vectorized code due to the usage of SSSE3 permute insns. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43733