CVS: gcc/gcc-3.3/gcc/config/msp430 msp430.c,1.88,1.89 msp430.h,1.34,1.35 t-msp430,1.22,1.23

Steve Underwood <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25296/gcc/gcc-3.3/gcc/config/msp430

Modified Files:
	msp430.c msp430.h t-msp430 
Log Message:
Added support for the 20x1, 20x2, 20x3, 22x4, and G461x (16 bit code only)


Index: msp430.c
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/msp430.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -w -d -r1.88 -r1.89
--- msp430.c	30 Jan 2006 08:47:05 -0000	1.88
+++ msp430.c	5 Apr 2006 12:08:21 -0000	1.89
@@ -116,14 +116,17 @@
   MSP430_ISA_14 = 14,
   MSP430_ISA_15 = 15,
   MSP430_ISA_16 = 16,
+  MSP430_ISA_200 = 200,
   MSP430_ISA_210 = 210,
+  MSP430_ISA_220 = 220,
   MSP430_ISA_31 = 31,
   MSP430_ISA_32 = 32,
   MSP430_ISA_33 = 33,
   MSP430_ISA_41 = 41,
   MSP430_ISA_42 = 42,
   MSP430_ISA_43 = 43,
-  MSP430_ISA_44 = 44
+  MSP430_ISA_44 = 44,
+  MSP430_ISA_46 = 46
 };
 
 struct mcu_type_s
@@ -174,11 +177,24 @@
   {"msp430x1611", MSP430_ISA_16, 1},
   {"msp430x1612", MSP430_ISA_16, 1},
 
+  {"msp430x2001", MSP430_ISA_200, 0},
+  {"msp430x2011", MSP430_ISA_200, 0},
+
+  {"msp430x2002", MSP430_ISA_200, 0},
+  {"msp430x2012", MSP430_ISA_200, 0},
+
+  {"msp430x2003", MSP430_ISA_200, 0},
+  {"msp430x2013", MSP430_ISA_200, 0},
+
   {"msp430x2101", MSP430_ISA_210, 0},
   {"msp430x2111", MSP430_ISA_210, 0},
   {"msp430x2121", MSP430_ISA_210, 0},
   {"msp430x2131", MSP430_ISA_210, 0},
 
+  {"msp430x2234", MSP430_ISA_220, 0},
+  {"msp430x2254", MSP430_ISA_220, 0},
+  {"msp430x2274", MSP430_ISA_220, 0},
+
   {"msp430x311", MSP430_ISA_31, 0},
   {"msp430x312", MSP430_ISA_31, 0},
   {"msp430x313", MSP430_ISA_31, 0},
@@ -224,6 +240,11 @@
   {"msp430x448", MSP430_ISA_44, 1},
   {"msp430x449", MSP430_ISA_44, 1},
 
+  {"msp430x4616", MSP430_ISA_46, 1},
+  {"msp430x4617", MSP430_ISA_46, 1},
+  {"msp430x4618", MSP430_ISA_46, 1},
+  {"msp430x4619", MSP430_ISA_46, 1},
+
   {NULL, 0, 0}
 };
 

Index: msp430.h
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/msp430.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -w -d -r1.34 -r1.35
--- msp430.h	17 Mar 2005 14:08:47 -0000	1.34
+++ msp430.h	5 Apr 2006 12:08:21 -0000	1.35
@@ -2831,10 +2831,19 @@
 %{mmcu=msp430x1610:%(cpp_msp2) -D__MSP430_1610__ -DMSP430_HAS_HWMUL} \
 %{mmcu=msp430x1611:%(cpp_msp2) -D__MSP430_1611__ -DMSP430_HAS_HWMUL} \
 %{mmcu=msp430x1612:%(cpp_msp2) -D__MSP430_1612__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2001:%(cpp_msp1) -D__MSP430_2001__} \
+%{mmcu=msp430x2011:%(cpp_msp1) -D__MSP430_2011__} \
+%{mmcu=msp430x2002:%(cpp_msp1) -D__MSP430_2002__} \
+%{mmcu=msp430x2012:%(cpp_msp1) -D__MSP430_2012__} \
+%{mmcu=msp430x2003:%(cpp_msp1) -D__MSP430_2003__} \
+%{mmcu=msp430x2013:%(cpp_msp1) -D__MSP430_2013__} \
 %{mmcu=msp430x2101:%(cpp_msp1) -D__MSP430_2101__} \
 %{mmcu=msp430x2111:%(cpp_msp1) -D__MSP430_2111__} \
 %{mmcu=msp430x2121:%(cpp_msp1) -D__MSP430_2121__} \
 %{mmcu=msp430x2131:%(cpp_msp1) -D__MSP430_2131__} \
+%{mmcu=msp430x2234:%(cpp_msp1) -D__MSP430_2234__} \
+%{mmcu=msp430x2254:%(cpp_msp1) -D__MSP430_2254__} \
+%{mmcu=msp430x2274:%(cpp_msp1) -D__MSP430_2274__} \
 %{mmcu=msp430x311:%(cpp_msp1) -D__MSP430_311__} \
 %{mmcu=msp430x312:%(cpp_msp1) -D__MSP430_312__} \
 %{mmcu=msp430x313:%(cpp_msp1) -D__MSP430_313__} \
@@ -2869,6 +2878,10 @@
 %{mmcu=msp430x447:%(cpp_msp2) -D__MSP430_447__ -DMSP430_HAS_HWMUL} \
 %{mmcu=msp430x448:%(cpp_msp2) -D__MSP430_448__ -DMSP430_HAS_HWMUL} \
 %{mmcu=msp430x449:%(cpp_msp2) -D__MSP430_449__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x4616:%(cpp_msp2) -D__MSP430_4616__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x4617:%(cpp_msp2) -D__MSP430_4617__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x4618:%(cpp_msp2) -D__MSP430_4618__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x4619:%(cpp_msp2) -D__MSP430_4619__ -DMSP430_HAS_HWMUL} \
 %{mint8:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long -D__INT_MAX__=127} \
 %{!mint*:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int -D__INT_MAX__=32767} \
 %{posix:-D_POSIX_SOURCE} %{mIAR:-D_IAR_ASSEMBLER_}"
@@ -2963,10 +2976,19 @@
 %{mmcu=msp430x1610:-m msp430x1610 } \
 %{mmcu=msp430x1611:-m msp430x1611 } \
 %{mmcu=msp430x1612:-m msp430x1612 } \
+%{mmcu=msp430x2001:-m msp430x2001 } \
+%{mmcu=msp430x2011:-m msp430x2011 } \
+%{mmcu=msp430x2002:-m msp430x2002 } \
+%{mmcu=msp430x2012:-m msp430x2012 } \
+%{mmcu=msp430x2003:-m msp430x2003 } \
+%{mmcu=msp430x2013:-m msp430x2013 } \
 %{mmcu=msp430x2101:-m msp430x2101 } \
 %{mmcu=msp430x2111:-m msp430x2111 } \
 %{mmcu=msp430x2121:-m msp430x2121 } \
 %{mmcu=msp430x2131:-m msp430x2131 } \
+%{mmcu=msp430x2234:-m msp430x2234 } \
+%{mmcu=msp430x2254:-m msp430x2254 } \
+%{mmcu=msp430x2274:-m msp430x2274 } \
 %{mmcu=msp430x311:-m msp430x311 } \
 %{mmcu=msp430x312:-m msp430x312 } \
 %{mmcu=msp430x313:-m msp430x313 } \
@@ -3000,7 +3022,11 @@
 %{mmcu=msp430x437:-m msp430x437 } \
 %{mmcu=msp430x447:-m msp430x447 } \
 %{mmcu=msp430x448:-m msp430x448 } \
-%{mmcu=msp430x449:-m msp430x449 }"
+%{mmcu=msp430x449:-m msp430x449 } \
+%{mmcu=msp430x4616:-m msp430x4616 } \
+%{mmcu=msp430x4617:-m msp430x4617 } \
+%{mmcu=msp430x4618:-m msp430x4618 } \
+%{mmcu=msp430x4619:-m msp430x4619 }"
 
 /* A C string constant that tells the GNU CC driver program options to
    pass to the linker.  It can also specify how to translate options
@@ -3077,10 +3103,19 @@
 %{mmcu=msp430x1610:crt430x1610.o%s} \
 %{mmcu=msp430x1611:crt430x1611.o%s} \
 %{mmcu=msp430x1612:crt430x1612.o%s} \
+%{mmcu=msp430x2001:crt430x2001.o%s} \
+%{mmcu=msp430x2011:crt430x2011.o%s} \
+%{mmcu=msp430x2002:crt430x2002.o%s} \
+%{mmcu=msp430x2012:crt430x2012.o%s} \
+%{mmcu=msp430x2003:crt430x2003.o%s} \
+%{mmcu=msp430x2013:crt430x2013.o%s} \
 %{mmcu=msp430x2101:crt430x2101.o%s} \
 %{mmcu=msp430x2111:crt430x2111.o%s} \
 %{mmcu=msp430x2121:crt430x2121.o%s} \
 %{mmcu=msp430x2131:crt430x2131.o%s} \
+%{mmcu=msp430x2234:crt430x2234.o%s} \
+%{mmcu=msp430x2254:crt430x2254.o%s} \
+%{mmcu=msp430x2274:crt430x2274.o%s} \
 %{mmcu=msp430x311:crt430x311.o%s} \
 %{mmcu=msp430x312:crt430x312.o%s} \
 %{mmcu=msp430x313:crt430x313.o%s} \
@@ -3114,7 +3149,11 @@
 %{mmcu=msp430x437:crt430x437.o%s} \
 %{mmcu=msp430x447:crt430x447.o%s} \
 %{mmcu=msp430x448:crt430x448.o%s} \
-%{mmcu=msp430x449:crt430x449.o%s}"
+%{mmcu=msp430x449:crt430x449.o%s} \
+%{mmcu=msp430x4616:crt430x4616.o%s} \
+%{mmcu=msp430x4617:crt430x4617.o%s} \
+%{mmcu=msp430x4618:crt430x4618.o%s} \
+%{mmcu=msp430x4619:crt430x4619.o%s}"
 
 
 

Index: t-msp430
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/t-msp430,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -w -d -r1.22 -r1.23
--- t-msp430	17 Mar 2005 14:08:47 -0000	1.22
+++ t-msp430	5 Apr 2006 12:08:21 -0000	1.23
@@ -72,8 +72,12 @@
 	mmcu?msp1=mmcu?msp430x155  mmcu?msp1=mmcu?msp430x156  mmcu?msp1=mmcu?msp430x157 \
 	mmcu?msp2=mmcu?msp430x167  mmcu?msp2=mmcu?msp430x168  mmcu?msp2=mmcu?msp430x169 \
 	mmcu?msp2=mmcu?msp430x1610 mmcu?msp2=mmcu?msp430x1611 mmcu?msp2=mmcu?msp430x1612 \
+	mmcu?msp1=mmcu?msp430x2001 mmcu?msp1=mmcu?msp430x2011 \
+	mmcu?msp1=mmcu?msp430x2002 mmcu?msp1=mmcu?msp430x2012 \
+	mmcu?msp1=mmcu?msp430x2003 mmcu?msp1=mmcu?msp430x2013 \
 	mmcu?msp1=mmcu?msp430x2101 mmcu?msp1=mmcu?msp430x2111 mmcu?msp1=mmcu?msp430x2121 \
 	mmcu?msp1=mmcu?msp430x2131 \
+	mmcu?msp1=mmcu?msp430x2234 mmcu?msp1=mmcu?msp430x2254 mmcu?msp1=mmcu?msp430x2274 \
 	mmcu?msp1=mmcu?msp430x311  mmcu?msp1=mmcu?msp430x312  mmcu?msp1=mmcu?msp430x313 \
 	mmcu?msp1=mmcu?msp430x314  mmcu?msp1=mmcu?msp430x315 \
 	mmcu?msp1=mmcu?msp430x323  mmcu?msp1=mmcu?msp430x325 \
@@ -86,7 +90,9 @@
 	mmcu?msp1=mmcu?msp430xW423 mmcu?msp1=mmcu?msp430xW425 mmcu?msp1=mmcu?msp430xW427 \
 	mmcu?msp1=mmcu?msp430xG437 mmcu?msp1=mmcu?msp430xG438 mmcu?msp1=mmcu?msp430xG439 \
 	mmcu?msp1=mmcu?msp430x435  mmcu?msp1=mmcu?msp430x436  mmcu?msp1=mmcu?msp430x437 \
-	mmcu?msp2=mmcu?msp430x447  mmcu?msp2=mmcu?msp430x448  mmcu?msp2=mmcu?msp430x449
+	mmcu?msp2=mmcu?msp430x447  mmcu?msp2=mmcu?msp430x448  mmcu?msp2=mmcu?msp430x449 \
+	mmcu?msp2=mmcu?msp430x4616 mmcu?msp2=mmcu?msp430x4617 mmcu?msp2=mmcu?msp430x4618 \
+    mmcu?msp2=mmcu?msp430x4619
 
 MULTILIB_EXCEPTIONS =
 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.