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
This commit is contained in:
Nick Clifton 2011-01-24 17:00:28 +00:00 committed by Nick Clifton
parent 440eb8de89
commit a40d79d7af
4 changed files with 29 additions and 6 deletions

View File

@ -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

View File

@ -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 }, \

View File

@ -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

View File

@ -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