Commit 7c596205 by Jim Wilson

(TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT.

(OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3.

From-SVN: r9362
parent d2f09a2f
......@@ -141,8 +141,8 @@ extern int target_flags;
{ {"0", (SH0_BIT) }, \
{"1", (SH1_BIT) }, \
{"2", (SH2_BIT) }, \
{"3", (SH3_BIT) }, \
{"3l", (SH3_BIT|LITTLE_ENDIAN_BIT)}, \
{"3", (SH3_BIT|SH2_BIT) }, \
{"3l", (SH3_BIT|SH2_BIT|LITTLE_ENDIAN_BIT)}, \
{"R", (R_BIT) }, \
{"b", (-LITTLE_ENDIAN_BIT) }, \
{"bigtable", (BIGTABLE_BIT)}, \
......@@ -176,8 +176,8 @@ do { \
sh_cpu = CPU_SH1; \
if (TARGET_SH2) \
sh_cpu = CPU_SH2; \
if (TARGET_SH3) \
sh_cpu = CPU_SH3|CPU_SH2; \
if (TARGET_SH3) \
sh_cpu = CPU_SH3; \
\
/* We *MUST* always define optimize since we *HAVE* to run \
shorten branches to get correct code. */ \
......
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