PATCH: Support ia64 Montecito

H. J. Lu hjl@lucon.org
Tue Jan 17 21:57:00 GMT 2006


Intel compiler uses itanium2-p9000 as the name for Montecito. This
patch adds it as an alias of itanium2. Any future Montecito specific
optimization should be keyed on itanium2-p9000. 


H.J.
---
2006-01-17  H.J. Lu  <hongjiu.lu@intel.com>

	* config/ia64/ia64.c (ia64_handle_option): Add itanium2-p9000
	for Montecito as an alias of itanium2.

	* doc/invoke.texi: Updated for itanium2-p9000.

--- gcc/config/ia64/ia64.c.mon	2006-01-12 07:36:48.000000000 -0800
+++ gcc/config/ia64/ia64.c	2006-01-13 16:12:49.000000000 -0800
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler.
-   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    Free Software Foundation, Inc.
    Contributed by James E. Wilson <wilson@cygnus.com> and
 		  David Mosberger <davidm@hpl.hp.com>.
@@ -5050,6 +5050,7 @@ ia64_handle_option (size_t code, const c
 	    {"merced", PROCESSOR_ITANIUM},
 	    {"itanium2", PROCESSOR_ITANIUM2},
 	    {"mckinley", PROCESSOR_ITANIUM2},
+	    {"itanium2-p9000", PROCESSOR_ITANIUM2},
 	  };
 	int const pta_size = ARRAY_SIZE (processor_alias_table);
 	int i;
--- gcc/doc/invoke.texi.mon	2005-12-30 07:38:39.000000000 -0800
+++ gcc/doc/invoke.texi	2006-01-13 16:13:44.000000000 -0800
@@ -9587,7 +9587,7 @@ Specify bit size of immediate TLS offset
 @item -mtune=@var{cpu-type}
 @opindex mtune
 Tune the instruction scheduling for a particular CPU, Valid values are
-itanium, itanium1, merced, itanium2, and mckinley.
+itanium, itanium1, merced, itanium2, mckinley and itanium2-p9000.
 
 @item -mt
 @itemx -pthread



More information about the Gcc-patches mailing list