diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2015-02-23 19:16:34 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2015-02-23 19:16:34 +0000 |
commit | 2c6a427ff9a15735ff7162eae5cbb18cffc5d7cf (patch) | |
tree | 897ba0b0f1c9673c74da8932570e0df6d579fd75 /gcc/config | |
parent | b6530d0a506320afa4703f2498914f100e51716b (diff) | |
download | gcc-2c6a427ff9a15735ff7162eae5cbb18cffc5d7cf.zip gcc-2c6a427ff9a15735ff7162eae5cbb18cffc5d7cf.tar.gz gcc-2c6a427ff9a15735ff7162eae5cbb18cffc5d7cf.tar.bz2 |
re PR target/65163 ([SH] ICE in decompose at rtl.h:2007)
gcc/
PR target/65163
* config/sh/sh.md (swapbsi2, related peephole2): Use const_int -65536
instead of const_int 4294901760.
gcc/testsuite/
PR target/65163
* gcc.c-torture/compile/pr65163.c: New.
From-SVN: r220916
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/sh/sh.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 94a01af..3461edb 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -6218,7 +6218,7 @@ label: (define_insn "swapbsi2" [(set (match_operand:SI 0 "arith_reg_dest" "=r") (ior:SI (and:SI (match_operand:SI 1 "arith_reg_operand" "r") - (const_int 4294901760)) + (const_int -65536)) ;; 0xFFFF0000 (ior:SI (and:SI (ashift:SI (match_dup 1) (const_int 8)) (const_int 65280)) (and:SI (ashiftrt:SI (match_dup 1) (const_int 8)) @@ -6286,7 +6286,7 @@ label: (define_peephole2 [(set (match_operand:SI 0 "arith_reg_dest" "") (ior:SI (and:SI (match_operand:SI 1 "arith_reg_operand" "") - (const_int 4294901760)) + (const_int -65536)) ;; 0xFFFF0000 (ior:SI (and:SI (ashift:SI (match_dup 1) (const_int 8)) (const_int 65280)) (and:SI (ashiftrt:SI (match_dup 1) (const_int 8)) @@ -6296,7 +6296,7 @@ label: "TARGET_SH1 && peep2_reg_dead_p (2, operands[0])" [(set (match_dup 2) (ior:SI (and:SI (match_operand:SI 1 "arith_reg_operand" "") - (const_int 4294901760)) + (const_int -65536)) ;; 0xFFFF0000 (ior:SI (and:SI (ashift:SI (match_dup 1) (const_int 8)) (const_int 65280)) (and:SI (ashiftrt:SI (match_dup 1) (const_int 8)) |