TARGET_SWITCHES docs

Jeffrey A Law law@upchuck.cygnus.com
Mon Mar 22 00:08:00 GMT 1999


More TARGET_SWITCHES updates...

	* i860.h (TARGET_SWITCHES): Add documentation for default case.
	* i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
	* i370.h (TARGET_SWITCHES): Add documentation for default case.
	* fx80.h (TARGET_SWITCHES): Add documentation for default case.
        * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
	* clipper.h (TARGET_SWITCHES): Add documentation for default case.
	* 1750a.h (TARGET_SWITCHES): Add documentation for default case.
	* pa.h (TARGET_SWITCHES): Add documentation for default case.
	(TARGET_OPTIONS): Likewise for default case.
	* mn10300.h (TARGET_SWITCHES): Add documen for default casetation.
	* h8300.h (TARGET_SWITCHES): Add documentation for default case.

Index: i860/i860.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/i860/i860.h,v
retrieving revision 1.8
diff -c -3 -p -r1.8 i860.h
*** i860.h	1999/03/18 22:05:13	1.8
--- i860.h	1999/03/22 08:04:02
*************** extern int target_flags;
*** 55,61 ****
    { {"xp", 1, "Generate code which uses the FPU"},			\
      {"noxp", -1, "Do not generate code which uses the FPU"},		\
      {"xr", -1, "Do not generate code which uses the FPU"},		\
!     { "", TARGET_DEFAULT}}
  
  #define TARGET_DEFAULT 0
  
--- 55,61 ----
    { {"xp", 1, "Generate code which uses the FPU"},			\
      {"noxp", -1, "Do not generate code which uses the FPU"},		\
      {"xr", -1, "Do not generate code which uses the FPU"},		\
!     { "", TARGET_DEFAULT, NULL}}
  
  #define TARGET_DEFAULT 0
  
Index: i860/paragon.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/i860/paragon.h,v
retrieving revision 1.3
diff -c -3 -p -r1.3 paragon.h
*** paragon.h	1999/03/18 22:05:14	1.3
--- paragon.h	1999/03/22 08:04:03
*************** Boston, MA 02111-1307, USA.  */
*** 33,39 ****
      {"xr", -1, "Do not generate code which uses the FPU"},      \
      {"noieee", -1, "Do not generate code which uses the FPU"},	\
      {"nx", 2, NULL},                  \
!     { "", TARGET_DEFAULT}}
   
  #undef TARGET_DEFAULT
  #define TARGET_DEFAULT 1
--- 33,39 ----
      {"xr", -1, "Do not generate code which uses the FPU"},      \
      {"noieee", -1, "Do not generate code which uses the FPU"},	\
      {"nx", 2, NULL},                  \
!     { "", TARGET_DEFAULT, NULL}}
   
  #undef TARGET_DEFAULT
  #define TARGET_DEFAULT 1
Index: i370/i370.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/i370/i370.h,v
retrieving revision 1.8
diff -c -3 -p -r1.8 i370.h
*** i370.h	1999/03/18 21:57:42	1.8
--- i370.h	1999/03/22 08:04:05
*************** extern int current_function_outgoing_arg
*** 76,82 ****
  #define TARGET_SWITCHES							\
  { { "char-instructions", 1, "Generate char instructions"},		\
    { "no-char-instructions", -1, "Do not generate char instructions"},	\
!   { "", TARGET_DEFAULT} }
  
  /* To use IBM supplied macro function prologue and epilogue, define the
     following to 1.  Should only be needed if IBM changes the definition
--- 76,82 ----
  #define TARGET_SWITCHES							\
  { { "char-instructions", 1, "Generate char instructions"},		\
    { "no-char-instructions", -1, "Do not generate char instructions"},	\
!   { "", TARGET_DEFAULT, NULL} }
  
  /* To use IBM supplied macro function prologue and epilogue, define the
     following to 1.  Should only be needed if IBM changes the definition
Index: fx80/fx80.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/fx80/fx80.h,v
retrieving revision 1.6
diff -c -3 -p -r1.6 fx80.h
*** fx80.h	1999/03/18 21:55:47	1.6
--- fx80.h	1999/03/22 08:04:07
*************** extern int target_flags;
*** 118,124 ****
      { "nobitfield", -4, "Do not generate bitfield insns"},	\
      { "short", 040, "Use 16bit integers"},			\
      { "noshort", -040, "Use 32bit integers"},			\
!     { "", TARGET_DEFAULT}}
  
  /* target machine storage layout */
  
--- 118,124 ----
      { "nobitfield", -4, "Do not generate bitfield insns"},	\
      { "short", 040, "Use 16bit integers"},			\
      { "noshort", -040, "Use 32bit integers"},			\
!     { "", TARGET_DEFAULT, NULL}}
  
  /* target machine storage layout */
  
Index: elxsi/elxsi.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/elxsi/elxsi.h,v
retrieving revision 1.6
diff -c -3 -p -r1.6 elxsi.h
*** elxsi.h	1999/03/18 21:52:13	1.6
--- elxsi.h	1999/03/22 08:04:09
*************** extern int target_flags;
*** 49,55 ****
  #define TARGET_SWITCHES  \
    { {"unix", 1, "Generate code the unix assembler can handle"},  \
      {"embos", -1, "Generate code an embedded assembler can handle"},  \
!     { "", TARGET_DEFAULT}}
  
  /* Default target_flags if no switches specified.  */
  
--- 49,55 ----
  #define TARGET_SWITCHES  \
    { {"unix", 1, "Generate code the unix assembler can handle"},  \
      {"embos", -1, "Generate code an embedded assembler can handle"},  \
!     { "", TARGET_DEFAULT, NULL}}
  
  /* Default target_flags if no switches specified.  */
  
Index: clipper/clipper.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/clipper/clipper.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 clipper.h
*** clipper.h	1999/03/18 21:50:09	1.7
--- clipper.h	1999/03/22 08:04:15
*************** extern int target_flags;
*** 41,47 ****
  #define TARGET_SWITCHES		\
    { { "c400", 1, "Generate code for the C400" },		\
      { "c300", -1, "Generate code for the C300" },		\
!     { "", TARGET_DEFAULT} }
  
  #define TARGET_C400 1
  #define TARGET_C300 0
--- 41,47 ----
  #define TARGET_SWITCHES		\
    { { "c400", 1, "Generate code for the C400" },		\
      { "c300", -1, "Generate code for the C300" },		\
!     { "", TARGET_DEFAULT, NULL} }
  
  #define TARGET_C400 1
  #define TARGET_C300 0
Index: 1750a/1750a.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/1750a/1750a.h,v
retrieving revision 1.11
diff -c -3 -p -r1.11 1750a.h
*** 1750a.h	1999/03/18 21:47:49	1.11
--- 1750a.h	1999/03/22 08:04:15
*************** Boston, MA 02111-1307, USA.  */
*** 36,42 ****
  
  #define TARGET_SWITCHES  \
    { {"vaxc-alignment", 2, "Use VAX-C alignment"}, \
!     { "", TARGET_DEFAULT}}
  
  /* Default target_flags if no switches specified.  */
  
--- 36,42 ----
  
  #define TARGET_SWITCHES  \
    { {"vaxc-alignment", 2, "Use VAX-C alignment"}, \
!     { "", TARGET_DEFAULT, NULL}}
  
  /* Default target_flags if no switches specified.  */
  
Index: pa/pa.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/pa/pa.h,v
retrieving revision 1.38
diff -c -3 -p -r1.38 pa.h
*** pa.h	1999/03/18 21:44:59	1.38
--- pa.h	1999/03/22 08:04:21
*************** extern int target_flags;
*** 171,177 ****
     {"big-switch", MASK_BIG_SWITCH, "Generate code for huge switch statements"},	\
     {"no-big-switch", -MASK_BIG_SWITCH, "Do not generate code for huge switch statements"},	\
     {"linker-opt", 0, "Enable linker optimizations"},		\
!    { "", TARGET_DEFAULT | TARGET_CPU_DEFAULT}}
  
  #ifndef TARGET_DEFAULT
  #define TARGET_DEFAULT (MASK_GAS | MASK_JUMP_IN_DELAY)
--- 171,177 ----
     {"big-switch", MASK_BIG_SWITCH, "Generate code for huge switch statements"},	\
     {"no-big-switch", -MASK_BIG_SWITCH, "Do not generate code for huge switch statements"},	\
     {"linker-opt", 0, "Enable linker optimizations"},		\
!    { "", TARGET_DEFAULT | TARGET_CPU_DEFAULT, NULL}}
  
  #ifndef TARGET_DEFAULT
  #define TARGET_DEFAULT (MASK_GAS | MASK_JUMP_IN_DELAY)
Index: mn10300/mn10300.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/mn10300/mn10300.h,v
retrieving revision 1.16
diff -c -3 -p -r1.16 mn10300.h
*** mn10300.h	1999/03/18 21:34:46	1.16
--- mn10300.h	1999/03/22 08:04:21
*************** extern int target_flags;
*** 49,55 ****
  #define TARGET_SWITCHES  \
    {{ "mult-bug",	0x1,  "Work around hardware multiply bug"},	\
     { "no-mult-bug", 	-0x1, "Do not work around hardware multiply bug"},\
!    { "", TARGET_DEFAULT}}
  
  #ifndef TARGET_DEFAULT
  #define TARGET_DEFAULT 0x1
--- 49,55 ----
  #define TARGET_SWITCHES  \
    {{ "mult-bug",	0x1,  "Work around hardware multiply bug"},	\
     { "no-mult-bug", 	-0x1, "Do not work around hardware multiply bug"},\
!    { "", TARGET_DEFAULT, NULL}}
  
  #ifndef TARGET_DEFAULT
  #define TARGET_DEFAULT 0x1
Index: h8300/h8300.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/./gcc/config/h8300/h8300.h,v
retrieving revision 1.15
diff -c -3 -p -r1.15 h8300.h
*** h8300.h	1999/03/18 21:30:55	1.15
--- h8300.h	1999/03/22 08:04:22
*************** extern int target_flags;
*** 110,116 ****
      {"h",		4096,  "Generate H8/300H code"},		\
      {"no-h",		-4096, "Do not generate H8/300H code"},		\
      {"align-300",	8192,  "Use H8/300 alignment rules"},		\
!     { "", TARGET_DEFAULT}}
  
  /* Do things that must be done once at start up.  */
  
--- 110,116 ----
      {"h",		4096,  "Generate H8/300H code"},		\
      {"no-h",		-4096, "Do not generate H8/300H code"},		\
      {"align-300",	8192,  "Use H8/300 alignment rules"},		\
!     { "", TARGET_DEFAULT, NULL}}
  
  /* Do things that must be done once at start up.  */
  


More information about the Gcc-patches mailing list