OSDN Git Service

2004-09-03 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Sep 2004 00:11:10 +0000 (00:11 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Sep 2004 00:11:10 +0000 (00:11 +0000)
* config/i386/i386.c (x86_branch_hints): Remove m_PENT4 and
m_NOCONA.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87065 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 7b54170..02b8289 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.c (x86_branch_hints): Remove m_PENT4 and
+       m_NOCONA.
+
 2004-09-03  Richard Henderson  <rth@redhat.com>
 
         PR middle-end/9997
index f50b81b..760c7f0 100644 (file)
@@ -527,7 +527,11 @@ const int x86_unroll_strlen = m_486 | m_PENT | m_PPRO | m_ATHLON_K8 | m_K6;
 const int x86_cmove = m_PPRO | m_ATHLON_K8 | m_PENT4 | m_NOCONA;
 const int x86_3dnow_a = m_ATHLON_K8;
 const int x86_deep_branch = m_PPRO | m_K6 | m_ATHLON_K8 | m_PENT4 | m_NOCONA;
-const int x86_branch_hints = m_PENT4 | m_NOCONA;
+/* Branch hints were put in P4 based on simulation result. But
+   after P4 was made, no performance benefit was observed with
+   branch hints. It also increases the code size. As the result,
+   icc never generates branch hints.  */
+const int x86_branch_hints = 0;
 const int x86_use_sahf = m_PPRO | m_K6 | m_PENT4 | m_NOCONA;
 const int x86_partial_reg_stall = m_PPRO;
 const int x86_use_loop = m_K6;