diff options
author | Nick Clifton <nickc@redhat.com> | 2011-01-24 17:00:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2011-01-24 17:00:28 +0000 |
commit | a40d79d7af069afb35fb1655a45bf3e04a202e35 (patch) | |
tree | 8048bfc833a4c85858aa2961b04a0d5ed393b834 /gcc | |
parent | 440eb8de8906dd789306f3497ade607adc410898 (diff) | |
download | gcc-a40d79d7af069afb35fb1655a45bf3e04a202e35.zip gcc-a40d79d7af069afb35fb1655a45bf3e04a202e35.tar.gz gcc-a40d79d7af069afb35fb1655a45bf3e04a202e35.tar.bz2 |
v850.opt (mv850es): New option - alias for -mv850e1.
* config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
* config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
-mv850e1 to the assembler. If -mv850e1 or -mv850es is specified
then define __v850e1__.
* doc/invoke.texi: Document -mv850es.
From-SVN: r169170
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/v850/v850.h | 12 | ||||
-rw-r--r-- | gcc/config/v850/v850.opt | 8 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
4 files changed, 29 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 26edfae1..2007a76 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2011-01-24 Nick Clifton <nickc@redhat.com> + + * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. + * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass + -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified + then define __v850e1__. + * doc/invoke.texi: Document -mv850es. + 2011-01-24 Richard Henderson <rth@redhat.com> * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index f7926f3..afea278 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -98,9 +98,15 @@ extern GTY(()) rtx v850_compare_op1; #define TARGET_V850E2_ALL (TARGET_V850E2 || TARGET_V850E2V3) -#define ASM_SPEC "%{mv*:-mv%*}" -#define CPP_SPEC "%{mv850e2v3:-D__v850e2v3__} %{mv850e2:-D__v850e2__} %{mv850e:-D__v850e__} %{mv850:-D__v850__} %(subtarget_cpp_spec)" \ - " %{mep:-D__EP__}" +#define ASM_SPEC "%{mv850es:-mv850e1}%{!mv850es:%{mv*:-mv%*}}" +#define CPP_SPEC "\ + %{mv850e2v3:-D__v850e2v3__} \ + %{mv850e2:-D__v850e2__} \ + %{mv850es:-D__v850e1__} \ + %{mv850e1:-D__v850e1__} \ + %{mv850:-D__v850__} \ + %(subtarget_cpp_spec)" \ + " %{mep:-D__EP__}" #define EXTRA_SPECS \ { "subtarget_asm_spec", SUBTARGET_ASM_SPEC }, \ diff --git a/gcc/config/v850/v850.opt b/gcc/config/v850/v850.opt index 6fe0414..0ae1431 100644 --- a/gcc/config/v850/v850.opt +++ b/gcc/config/v850/v850.opt @@ -68,11 +68,11 @@ Set the max size of data eligible for the TDA area mno-strict-align Target Report Mask(NO_STRICT_ALIGN) -Enforce strict alignment +Do not enforce strict alignment mjump-tables-in-data-section Target Report Mask(JUMP_TABLES_IN_DATA_SECTION) -Enforce table jump +Put jump tables for switch statements into the .data section rather than the .code section mUS-bit-set Target Report Mask(US_BIT_SET) @@ -89,6 +89,10 @@ mv850e1 Target RejectNegative Mask(V850E1) Compile for the v850e1 processor +mv850es +Target RejectNegative Mask(V850E1) MaskExists +Compile for the v850es variant of the v850e1 + mv850e2 Target Report RejectNegative Mask(V850E2) Compile for the v850e2 processor diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 3d64438..8dba2ec 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -890,7 +890,7 @@ See RS/6000 and PowerPC Options. -mdisable-callt -mno-disable-callt @gol -mv850e2v3 @gol -mv850e2 @gol --mv850e1 @gol +-mv850e1 -mv850es @gol -mv850e @gol -mv850 -mbig-switch} @@ -17389,6 +17389,11 @@ constants @samp{__v850e2__} will be defined if Specify that the target processor is the V850E1. The preprocessor constants @samp{__v850e1__} and @samp{__v850e__} will be defined if +@item -mv850es +@opindex mv850es +Specify that the target processor is the V850ES. This is an alias for +the @option{-mv850e1} option. + @item -mv850e @opindex mv850e Specify that the target processor is the V850E@. The preprocessor |