2006-12-02 H.J. Lu <hongjiu.lu@intel.com>
commit10e818c27470e434af5aaf23d38aefbaf986b52f
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Dec 2006 22:18:25 +0000 (2 22:18 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Dec 2006 22:18:25 +0000 (2 22:18 +0000)
tree9b835745a452dc93b18173007faa8ff798b06f07
parent656db5a099f8489a0bce89afecb7c76192540d03
2006-12-02  H.J. Lu  <hongjiu.lu@intel.com>

PR target/30040
* config/i386/driver-i386.c: Include "coretypes.h" and "tm.h".
(bit_SSSE3): New.
(host_detect_local_cpu): Check -mtune= vs. -march=. Rewrite
processor detection.

* config/i386/i386.h (CC1_CPU_SPEC): Add -mtune=native for
-march=native if there is no -mtune=*.

* config/i386/x-i386 (driver-i386.o): Also depend on $(TM_H)
coretypes.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119454 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/driver-i386.c
gcc/config/i386/i386.h
gcc/config/i386/x-i386