diff options
author | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-21 21:23:03 +0000 |
---|---|---|
committer | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-21 21:23:03 +0000 |
commit | d8ad07579834dddcde83fad3d55de2588abd3ca0 (patch) | |
tree | d59834451d15df6a0be90ba8e64472d5601fd1a6 /gcc/config/xtensa | |
parent | 575caa8d9a2f640fcd1582eadde4db5c00a4e8b3 (diff) | |
download | gcc-d8ad07579834dddcde83fad3d55de2588abd3ca0.tar.gz |
* config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
TARGET_SERIALIZE_VOLATILE): Delete.
(MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
(TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
(TARGET_SWITCHES): Remove "-mserialize-volatile" and
"-mno-serialize-volatile".
* config/xtensa/xtensa.c (print_operand): Remove checks of
TARGET_SERIALIZE_VOLATILE.
* config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
* doc/invoke.texi (Option Summary, Xtensa Options): Remove
"-mserialize-volatile" and "-mno-serialize-volatile" options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67067 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/xtensa')
-rw-r--r-- | gcc/config/xtensa/xtensa.c | 2 | ||||
-rw-r--r-- | gcc/config/xtensa/xtensa.h | 15 | ||||
-rw-r--r-- | gcc/config/xtensa/xtensa.md | 4 |
3 files changed, 7 insertions, 14 deletions
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index 25bf6475b46..18ed9d37f92 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -1938,7 +1938,7 @@ print_operand (file, x, letter) { /* For a volatile memory reference, emit a MEMW before the load or store. */ - if (MEM_VOLATILE_P (x) && TARGET_SERIALIZE_VOLATILE) + if (MEM_VOLATILE_P (x)) fprintf (file, "memw\n\t"); } else diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index 89ae1fda79f..9b7f261e0a4 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -60,10 +60,9 @@ extern unsigned xtensa_current_frame_size; #define MASK_HARD_FLOAT_SQRT 0x00002000 /* floating-point sqrt */ #define MASK_HARD_FLOAT_RSQRT 0x00004000 /* floating-point recip sqrt */ #define MASK_NO_FUSED_MADD 0x00008000 /* avoid f-p mul/add */ -#define MASK_SERIALIZE_VOLATILE 0x00010000 /* serialize volatile refs */ -#define MASK_CONST16 0x00020000 /* use CONST16 instruction */ -#define MASK_ABS 0x00040000 /* use ABS instruction */ -#define MASK_ADDX 0x00080000 /* use ADDX* and SUBX* */ +#define MASK_CONST16 0x00010000 /* use CONST16 instruction */ +#define MASK_ABS 0x00020000 /* use ABS instruction */ +#define MASK_ADDX 0x00040000 /* use ADDX* and SUBX* */ /* Macros used in the machine description to test the flags. */ @@ -83,7 +82,6 @@ extern unsigned xtensa_current_frame_size; #define TARGET_HARD_FLOAT_SQRT (target_flags & MASK_HARD_FLOAT_SQRT) #define TARGET_HARD_FLOAT_RSQRT (target_flags & MASK_HARD_FLOAT_RSQRT) #define TARGET_NO_FUSED_MADD (target_flags & MASK_NO_FUSED_MADD) -#define TARGET_SERIALIZE_VOLATILE (target_flags & MASK_SERIALIZE_VOLATILE) #define TARGET_CONST16 (target_flags & MASK_CONST16) #define TARGET_ABS (target_flags & MASK_ABS) #define TARGET_ADDX (target_flags & MASK_ADDX) @@ -108,8 +106,7 @@ extern unsigned xtensa_current_frame_size; (XCHAL_HAVE_FP_DIV ? MASK_HARD_FLOAT_DIV : 0) | \ (XCHAL_HAVE_FP_RECIP ? MASK_HARD_FLOAT_RECIP : 0) | \ (XCHAL_HAVE_FP_SQRT ? MASK_HARD_FLOAT_SQRT : 0) | \ - (XCHAL_HAVE_FP_RSQRT ? MASK_HARD_FLOAT_RSQRT : 0) | \ - MASK_SERIALIZE_VOLATILE) + (XCHAL_HAVE_FP_RSQRT ? MASK_HARD_FLOAT_RSQRT : 0)) /* Macro to define tables used to set the flags. */ @@ -191,10 +188,6 @@ extern unsigned xtensa_current_frame_size; N_("Disable fused multiply/add and multiply/subtract FP instructions")}, \ {"fused-madd", -MASK_NO_FUSED_MADD, \ N_("Enable fused multiply/add and multiply/subtract FP instructions")}, \ - {"serialize-volatile", MASK_SERIALIZE_VOLATILE, \ - N_("Serialize volatile memory references with MEMW instructions")}, \ - {"no-serialize-volatile", -MASK_SERIALIZE_VOLATILE, \ - N_("Do not serialize volatile memory references with MEMW instructions")},\ {"text-section-literals", 0, \ N_("Intersperse literal pools with code in the text section")}, \ {"no-text-section-literals", 0, \ diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md index 626e4c722da..40bf5c036bf 100644 --- a/gcc/config/xtensa/xtensa.md +++ b/gcc/config/xtensa/xtensa.md @@ -1154,7 +1154,7 @@ "TARGET_HARD_FLOAT" "* { - if (TARGET_SERIALIZE_VOLATILE && volatile_refs_p (PATTERN (insn))) + if (volatile_refs_p (PATTERN (insn))) output_asm_insn (\"memw\", operands); return \"lsiu\\t%0, %1, %2\"; }" @@ -1171,7 +1171,7 @@ "TARGET_HARD_FLOAT" "* { - if (TARGET_SERIALIZE_VOLATILE && volatile_refs_p (PATTERN (insn))) + if (volatile_refs_p (PATTERN (insn))) output_asm_insn (\"memw\", operands); return \"ssiu\\t%2, %0, %1\"; }" |