Commit 6d81ba45 by Chris Demetriou Committed by Jeff Law

mips.h: Clean up comments and spacing near MASKs.

        * mips.h: Clean up comments and spacing near MASKs.
        (TARGET_UNIX_ASM): Delete.
        (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
        MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
        values contiguous.

From-SVN: r35509
parent 7e9c81d6
2000-08-05 Chris Demetriou <cgd@sibyte.com>
* mips.h: Clean up comments and spacing near MASKs.
(TARGET_UNIX_ASM): Delete.
(MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
values contiguous.
2000-08-05 Joseph S. Myers <jsm28@cam.ac.uk> 2000-08-05 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.c (print_char_table): Add entries for the X/Open ' * c-common.c (print_char_table): Add entries for the X/Open '
......
...@@ -206,27 +206,30 @@ extern void sbss_section PARAMS ((void)); ...@@ -206,27 +206,30 @@ extern void sbss_section PARAMS ((void));
#define MASK_MAD 0x00040000 /* Generate mad/madu as on 4650. */ #define MASK_MAD 0x00040000 /* Generate mad/madu as on 4650. */
#define MASK_4300_MUL_FIX 0x00080000 /* Work-around early Vr4300 CPU bug */ #define MASK_4300_MUL_FIX 0x00080000 /* Work-around early Vr4300 CPU bug */
#define MASK_MIPS3900 0x00100000 /* like -mips1 only 3900 */ #define MASK_MIPS3900 0x00100000 /* like -mips1 only 3900 */
#define MASK_MIPS16 0x01000000 /* Generate mips16 code */ #define MASK_MIPS16 0x00200000 /* Generate mips16 code */
#define MASK_NO_CHECK_ZERO_DIV 0x04000000 /* divide by zero checking */ #define MASK_NO_CHECK_ZERO_DIV \
#define MASK_CHECK_RANGE_DIV 0x08000000 /* divide result range checking */ 0x00400000 /* divide by zero checking */
#define MASK_UNINIT_CONST_IN_RODATA 0x10000000 /* Store uninitialized #define MASK_CHECK_RANGE_DIV \
0x00800000 /* divide result range checking */
#define MASK_UNINIT_CONST_IN_RODATA \
0x01000000 /* Store uninitialized
consts in rodata */ consts in rodata */
/* Dummy switches used only in spec's*/
#define MASK_MIPS_TFILE 0x00000000 /* flag for mips-tfile usage */
/* Debug switches, not documented */ /* Debug switches, not documented */
#define MASK_DEBUG 0 /* Eliminate version # in .s file */ #define MASK_DEBUG 0 /* unused */
#define MASK_DEBUG_A 0x0 /* don't allow <label>($reg) addrs */ #define MASK_DEBUG_A 0 /* don't allow <label>($reg) addrs */
#define MASK_DEBUG_B 0x0 /* GO_IF_LEGITIMATE_ADDRESS debug */ #define MASK_DEBUG_B 0 /* GO_IF_LEGITIMATE_ADDRESS debug */
#define MASK_DEBUG_C 0x0 /* don't expand seq, etc. */ #define MASK_DEBUG_C 0 /* don't expand seq, etc. */
#define MASK_DEBUG_D 0 /* don't do define_split's */ #define MASK_DEBUG_D 0 /* don't do define_split's */
#define MASK_DEBUG_E 0 /* function_arg debug */ #define MASK_DEBUG_E 0 /* function_arg debug */
#define MASK_DEBUG_F 0 #define MASK_DEBUG_F 0 /* ??? */
#define MASK_DEBUG_G 0 /* don't support 64 bit arithmetic */ #define MASK_DEBUG_G 0 /* don't support 64 bit arithmetic */
#define MASK_DEBUG_H 0 /* allow ints in FP registers */ #define MASK_DEBUG_H 0 /* allow ints in FP registers */
#define MASK_DEBUG_I 0 /* unused */ #define MASK_DEBUG_I 0 /* unused */
/* Dummy switches used only in specs */
#define MASK_MIPS_TFILE 0 /* flag for mips-tfile usage */
/* r4000 64 bit sizes */ /* r4000 64 bit sizes */
#define TARGET_INT64 (target_flags & MASK_INT64) #define TARGET_INT64 (target_flags & MASK_INT64)
#define TARGET_LONG64 (target_flags & MASK_LONG64) #define TARGET_LONG64 (target_flags & MASK_LONG64)
...@@ -241,10 +244,9 @@ extern void sbss_section PARAMS ((void)); ...@@ -241,10 +244,9 @@ extern void sbss_section PARAMS ((void));
/* Mips vs. GNU assembler */ /* Mips vs. GNU assembler */
#define TARGET_GAS (target_flags & MASK_GAS) #define TARGET_GAS (target_flags & MASK_GAS)
#define TARGET_UNIX_ASM (!TARGET_GAS) #define TARGET_MIPS_AS (!TARGET_GAS)
#define TARGET_MIPS_AS TARGET_UNIX_ASM
/* Debug Mode */ /* Debug Modes */
#define TARGET_DEBUG_MODE (target_flags & MASK_DEBUG) #define TARGET_DEBUG_MODE (target_flags & MASK_DEBUG)
#define TARGET_DEBUG_A_MODE (target_flags & MASK_DEBUG_A) #define TARGET_DEBUG_A_MODE (target_flags & MASK_DEBUG_A)
#define TARGET_DEBUG_B_MODE (target_flags & MASK_DEBUG_B) #define TARGET_DEBUG_B_MODE (target_flags & MASK_DEBUG_B)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment