On 2013-02-23 21:18, Konstantin Belousov wrote:
...
Let me rephrase my question.

What is the processor targeted by the cc on i386, when no -march flag is
specified, for cc coming from clang, for both .c and .s files. Lets ignore
known bugs, like long nops or cmovs.

For i386 arch on FreeBSD, the default has always been i486.  The cc1
stage, which compiles .c and .cpp to .o files, uses either this default
target CPU, or otherwise the CPU specified on the command line.

The cc1as stage, which assembles .s to .o files, only uses the target
CPU setting to determine whether to emit long nops or not, at least on
x86 arch.  After the last fix, the default target is i486, so it will
not emit long nops either, unless a higher CPU is specified.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to