From: Jim Wilson Date: Tue, 10 Jun 1997 21:39:22 +0000 (-0700) Subject: (emit_group_load): Add case using gen_lowpart. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7d775a019c3a310bf54759560c7392bb03ea669;p=gcc.git (emit_group_load): Add case using gen_lowpart. From-SVN: r14224 --- diff --git a/gcc/expr.c b/gcc/expr.c index 537eefba8aa..b3ca5395475 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -1813,6 +1813,9 @@ emit_group_load (x, y) && GET_MODE (target_reg) == word_mode) /* This might be a const_double, so we can't just use SUBREG. */ source = operand_subword (y, 0, 0, VOIDmode); + else if (GET_MODE_SIZE (GET_MODE (target_reg)) + == GET_MODE_SIZE (GET_MODE (y))) + source = gen_lowpart (GET_MODE (target_reg), y); else abort (); }