From: Richard Kenner Date: Thu, 22 Oct 1992 18:19:56 +0000 (-0400) Subject: (long constant split): Use gen_lowpart instead of making a SUBREG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a29212675a5de3f70670c35b319037ce4974233;p=gcc.git (long constant split): Use gen_lowpart instead of making a SUBREG directly. From-SVN: r2560 --- diff --git a/gcc/config/a29k/a29k.md b/gcc/config/a29k/a29k.md index 316baa48226..a44063b59a1 100644 --- a/gcc/config/a29k/a29k.md +++ b/gcc/config/a29k/a29k.md @@ -1699,10 +1699,10 @@ (and:SI (match_dup 1) (const_int 65535))) (set (match_dup 0) - (ior:SI (zero_extend:SI (subreg:HI (match_dup 0) 0)) + (ior:SI (zero_extend:SI (match_dup 2)) (and:SI (match_dup 1) (const_int -65536))))] - "") + " operands[2] = gen_lowpart (HImode, operands[0]); ") ;; Subroutines to load/store halfwords. Operands 0 and 1 are the output and ;; input, respectively, except that the address is passed for a MEM instead