Commit 3a97685a by Catherine Moore Committed by Catherine Moore

v850.md (casesi): Generate LABEL_REF with Pmode.

        * config/v850/v850.md (casesi): Generate LABEL_REF
        with Pmode.

From-SVN: r44197
parent eec9ac3d
2001-07-20 Catherine Moore <clm@redhat.com>
* config/v850/v850.md (casesi): Generate LABEL_REF
with Pmode.
Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
......
......@@ -944,7 +944,7 @@
emit_insn (gen_ashlsi3 (reg, reg, GEN_INT (TARGET_BIG_SWITCH ? 2 : 1)));
/* Load the table address into a pseudo. */
emit_insn (gen_movsi (tableaddress,
gen_rtx_LABEL_REF (VOIDmode, operands[3])));
gen_rtx_LABEL_REF (Pmode, operands[3])));
/* Add the table address to the index. */
emit_insn (gen_addsi3 (reg, reg, tableaddress));
/* Load the table entry. */
......
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