CVS: gcc/gcc-3.3/gcc/config/msp430 msp430.c, 1.93, 1.94 msp430.h, 1.38, 1.39 t-msp430, 1.25, 1.26
Chris Liechti <[email protected]> Wed, 14 May 2008 17:58:00 -0700
| 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-cvs16.sourceforge.net:/tmp/cvs-serv8011/gcc-3.3/gcc/config/msp430
Modified Files:
msp430.c msp430.h t-msp430
Log Message:
support for 24xx devices
Index: msp430.c
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/msp430.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -w -d -r1.93 -r1.94
--- msp430.c 13 Feb 2007 15:24:40 -0000 1.93
+++ msp430.c 15 May 2008 00:57:55 -0000 1.94
@@ -119,6 +119,9 @@
MSP430_ISA_20 = 20,
MSP430_ISA_21 = 21,
MSP430_ISA_22 = 22,
+ MSP430_ISA_24 = 24,
+ MSP430_ISA_241 = 241,
+ MSP430_ISA_26 = 26,
MSP430_ISA_31 = 31,
MSP430_ISA_32 = 32,
MSP430_ISA_33 = 33,
@@ -199,6 +202,24 @@
{"msp430x2254", MSP430_ISA_22, 0},
{"msp430x2274", MSP430_ISA_22, 0},
+ {"msp430x247", MSP430_ISA_24, 1},
+ {"msp430x248", MSP430_ISA_24, 1},
+ {"msp430x249", MSP430_ISA_24, 1},
+ {"msp430x2410", MSP430_ISA_24, 1},
+ {"msp430x2471", MSP430_ISA_24, 1},
+ {"msp430x2481", MSP430_ISA_24, 1},
+ {"msp430x2491", MSP430_ISA_24, 1},
+
+ {"msp430x2416", MSP430_ISA_241, 1},
+ {"msp430x2417", MSP430_ISA_241, 1},
+ {"msp430x2418", MSP430_ISA_241, 1},
+ {"msp430x2419", MSP430_ISA_241, 1},
+
+ {"msp430x2616", MSP430_ISA_26, 1},
+ {"msp430x2617", MSP430_ISA_26, 1},
+ {"msp430x2618", MSP430_ISA_26, 1},
+ {"msp430x2619", MSP430_ISA_26, 1},
+
{"msp430x311", MSP430_ISA_31, 0},
{"msp430x312", MSP430_ISA_31, 0},
{"msp430x313", MSP430_ISA_31, 0},
@@ -460,7 +481,14 @@
int
msp430_is_xarch ()
{
- return (msp430_get_arch() == MSP430_ISA_46);
+ switch (msp430_get_arch())
+ {
+ case MSP430_ISA_241:
+ case MSP430_ISA_26:
+ case MSP430_ISA_46:
+ return TRUE;
+ }
+ return FALSE;
}
void
Index: msp430.h
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/msp430.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -w -d -r1.38 -r1.39
--- msp430.h 13 Jan 2007 14:29:50 -0000 1.38
+++ msp430.h 15 May 2008 00:57:55 -0000 1.39
@@ -2847,6 +2847,21 @@
%{mmcu=msp430x2234:%(cpp_msp1) -D__MSP430_2234__} \
%{mmcu=msp430x2254:%(cpp_msp1) -D__MSP430_2254__} \
%{mmcu=msp430x2274:%(cpp_msp1) -D__MSP430_2274__} \
+%{mmcu=msp430x247:%(cpp_msp2) -D__MSP430_247__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x248:%(cpp_msp2) -D__MSP430_248__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x249:%(cpp_msp2) -D__MSP430_249__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2410:%(cpp_msp2) -D__MSP430_2410__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2471:%(cpp_msp2) -D__MSP430_2471__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2481:%(cpp_msp2) -D__MSP430_2481__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2491:%(cpp_msp2) -D__MSP430_2491__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2416:%(cpp_msp2) -D__MSP430_2416__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2417:%(cpp_msp2) -D__MSP430_2417__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2418:%(cpp_msp2) -D__MSP430_2418__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2419:%(cpp_msp2) -D__MSP430_2419__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2616:%(cpp_msp2) -D__MSP430_2616__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2617:%(cpp_msp2) -D__MSP430_2617__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2618:%(cpp_msp2) -D__MSP430_2618__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
+%{mmcu=msp430x2619:%(cpp_msp2) -D__MSP430_2619__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \
%{mmcu=msp430x311:%(cpp_msp1) -D__MSP430_311__} \
%{mmcu=msp430x312:%(cpp_msp1) -D__MSP430_312__} \
%{mmcu=msp430x313:%(cpp_msp1) -D__MSP430_313__} \
@@ -2995,6 +3010,21 @@
%{mmcu=msp430x2234:-m msp430x2234 } \
%{mmcu=msp430x2254:-m msp430x2254 } \
%{mmcu=msp430x2274:-m msp430x2274 } \
+%{mmcu=msp430x247:-m msp430x247 } \
+%{mmcu=msp430x248:-m msp430x248 } \
+%{mmcu=msp430x249:-m msp430x249 } \
+%{mmcu=msp430x2410:-m msp430x2410 } \
+%{mmcu=msp430x2471:-m msp430x2471 } \
+%{mmcu=msp430x2481:-m msp430x2481 } \
+%{mmcu=msp430x2491:-m msp430x2491 } \
+%{mmcu=msp430x2416:-m msp430x2416 } \
+%{mmcu=msp430x2417:-m msp430x2417 } \
+%{mmcu=msp430x2418:-m msp430x2418 } \
+%{mmcu=msp430x2419:-m msp430x2419 } \
+%{mmcu=msp430x2616:-m msp430x2616 } \
+%{mmcu=msp430x2617:-m msp430x2617 } \
+%{mmcu=msp430x2618:-m msp430x2618 } \
+%{mmcu=msp430x2619:-m msp430x2619 } \
%{mmcu=msp430x311:-m msp430x311 } \
%{mmcu=msp430x312:-m msp430x312 } \
%{mmcu=msp430x313:-m msp430x313 } \
@@ -3125,6 +3155,17 @@
%{mmcu=msp430x2234:crt430x2234.o%s} \
%{mmcu=msp430x2254:crt430x2254.o%s} \
%{mmcu=msp430x2274:crt430x2274.o%s} \
+%{mmcu=msp430x247:crt430x247.o%s} \
+%{mmcu=msp430x248:crt430x248.o%s} \
+%{mmcu=msp430x249:crt430x249.o%s} \
+%{mmcu=msp430x2410:crt430x2410.o%s} \
+%{mmcu=msp430x2471:crt430x2471.o%s} \
+%{mmcu=msp430x2481:crt430x2481.o%s} \
+%{mmcu=msp430x2491:crt430x2491.o%s} \
+%{mmcu=msp430x2416:crt430x2416.o%s} \
+%{mmcu=msp430x2417:crt430x2417.o%s} \
+%{mmcu=msp430x2418:crt430x2418.o%s} \
+%{mmcu=msp430x2419:crt430x2419.o%s} \
%{mmcu=msp430x311:crt430x311.o%s} \
%{mmcu=msp430x312:crt430x312.o%s} \
%{mmcu=msp430x313:crt430x313.o%s} \
@@ -3269,4 +3310,3 @@
/* Get the standard ELF stabs definitions. */
#include "dbxelf.h"
-
Index: t-msp430
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/t-msp430,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -w -d -r1.25 -r1.26
--- t-msp430 13 Jan 2007 14:29:50 -0000 1.25
+++ t-msp430 15 May 2008 00:57:56 -0000 1.26
@@ -79,6 +79,13 @@
mmcu?msp1=mmcu?msp430x2131 \
mmcu?msp1=mmcu?msp430x2232 mmcu?msp1=mmcu?msp430x2252 mmcu?msp1=mmcu?msp430x2272 \
mmcu?msp1=mmcu?msp430x2234 mmcu?msp1=mmcu?msp430x2254 mmcu?msp1=mmcu?msp430x2274 \
+ mmcu?msp2=mmcu?msp430x247 mmcu?msp2=mmcu?msp430x248 mmcu?msp2=mmcu?msp430x249 \
+ mmcu?msp2=mmcu?msp430x2410 \
+ mmcu?msp2=mmcu?msp430x2471 mmcu?msp2=mmcu?msp430x2481 mmcu?msp2=mmcu?msp430x2491 \
+ mmcu?msp2=mmcu?msp430x2416 mmcu?msp2=mmcu?msp430x2417 mmcu?msp2=mmcu?msp430x2418 \
+ mmcu?msp2=mmcu?msp430x2419 \
+ mmcu?msp2=mmcu?msp430x2616 mmcu?msp2=mmcu?msp430x2617 mmcu?msp2=mmcu?msp430x2618 \
+ mmcu?msp2=mmcu?msp430x2619 \
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 \
@@ -101,6 +108,3 @@
INSTALL_LIBGCC = install-multilib
##STMP_FIXINC =
-
-
-
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/