diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-10-22 14:19:56 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-10-22 14:19:56 -0400 |
commit | 9a29212675a5de3f70670c35b319037ce4974233 (patch) | |
tree | 71f754dfe50691118a420ad85a8da566901208ea | |
parent | 3cf4513f812c8dffc9d94d99e81d475f0e627da9 (diff) | |
download | gcc-9a29212675a5de3f70670c35b319037ce4974233.zip gcc-9a29212675a5de3f70670c35b319037ce4974233.tar.gz gcc-9a29212675a5de3f70670c35b319037ce4974233.tar.bz2 |
(long constant split): Use gen_lowpart instead of making a SUBREG
directly.
From-SVN: r2560
-rw-r--r-- | gcc/config/a29k/a29k.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/a29k/a29k.md b/gcc/config/a29k/a29k.md index 316baa4..a44063b 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 |