v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the shift, as we've disabled the "switch" insn that needs it.

* config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
shift, as we've disabled the "switch" insn that needs it.

From-SVN: r114315
This commit is contained in:
DJ Delorie 2006-06-01 13:54:20 -04:00 committed by DJ Delorie
parent 0977c9ab42
commit df5c71ac3c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-06-01 DJ Delorie <dj@redhat.com>
* config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
shift, as we've disabled the "switch" insn that needs it.
2006-06-01 Per Bothner <bothner@bothner.com>
Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.

View File

@ -987,12 +987,14 @@ typedef enum
/* This is how to output an element of a case-vector that is relative. */
/* Disable the shift, which is for the currently disabled "switch"
opcode. Se casesi in v850.md. */
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
fprintf (FILE, "\t%s %s.L%d-.L%d%s\n", \
(TARGET_BIG_SWITCH ? ".long" : ".short"), \
(! TARGET_BIG_SWITCH && TARGET_V850E ? "(" : ""), \
(0 && ! TARGET_BIG_SWITCH && TARGET_V850E ? "(" : ""), \
VALUE, REL, \
(! TARGET_BIG_SWITCH && TARGET_V850E ? ")>>1" : ""))
(0 && ! TARGET_BIG_SWITCH && TARGET_V850E ? ")>>1" : ""))
#define ASM_OUTPUT_ALIGN(FILE, LOG) \
if ((LOG) != 0) \