aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/v850
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-01-24 17:00:28 +0000
committerNick Clifton <nickc@gcc.gnu.org>2011-01-24 17:00:28 +0000
commita40d79d7af069afb35fb1655a45bf3e04a202e35 (patch)
tree8048bfc833a4c85858aa2961b04a0d5ed393b834 /gcc/config/v850
parent440eb8de8906dd789306f3497ade607adc410898 (diff)
downloadgcc-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/config/v850')
-rw-r--r--gcc/config/v850/v850.h12
-rw-r--r--gcc/config/v850/v850.opt8
2 files changed, 15 insertions, 5 deletions
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