r122884 - in /trunk/gcc: ChangeLog config/i386/...
uros@gcc.gnu.org
uros@gcc.gnu.org
Tue Mar 13 21:18:00 GMT 2007
Author: uros
Date: Tue Mar 13 21:18:33 2007
New Revision: 122884
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122884
Log:
* config/i386/i386.opt (mcx16, msahf): New options.
* config/i386/i386.c (x86_cmpxchg16b, x86_sahf): Remove.
(ix86_tune_features) [X86_TUNE_USE_SAHF]: Enable for m_GENERIC.
* config/i386/driver-i386.c (bit_LAHF_LM): New define.
(host_detect_local_cpu): Detect cx16 and lahf_lm cpuid bits.
Output -mcx16 and -msahf options when corresponding bit is set.
* doc/invoke.texi (i386 and x86-64 Options): Document -mcx16
and -msahf options.
testsuite/ChangeLog
* testsuite/gcc.target/i386/cmpxchg16b-1.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/cmpxchg16b-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/driver-i386.c
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/config/i386/i386.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list