From 9a29212675a5de3f70670c35b319037ce4974233 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 22 Oct 1992 14:19:56 -0400 Subject: [PATCH] (long constant split): Use gen_lowpart instead of making a SUBREG directly. From-SVN: r2560 --- gcc/config/a29k/a29k.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2