PATCH: Remove the unused btver1

H.J. Lu hjl.tools@gmail.com
Thu Jan 9 20:08:00 GMT 2014


Hi Uros,

btver1 iis never used.  This patch removes it.   It avoids:

insn-attrtab.c:extern int internal_dfa_insn_code_btver1 (rtx);
insn-attrtab.c:extern int insn_default_latency_btver1 (rtx);

OK to install?

Thanks.

-- 
H.J.
--
2014-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.md (cpu): Remove the unused btver1.

diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index de0b2dd..954bbed 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -366,7 +366,7 @@
 ;; Processor type.
 (define_attr "cpu" "none,pentium,pentiumpro,geode,k6,athlon,k8,core2,nehalem,
     atom,slm,generic,amdfam10,bdver1,bdver2,bdver3,bdver4,
-    btver1,btver2"
+    btver2"
   (const (symbol_ref "ix86_schedule")))

 ;; A basic instruction type.  Refinements due to arguments to be



More information about the Gcc-patches mailing list