From: aoliva Date: Sun, 3 Feb 2002 00:50:50 +0000 (+0000) Subject: * config/sh/sh.md (ic_invalidate_line): Make sure the immediate X-Git-Tag: upstream/4.9.2~88938 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=784642299e9c32913dfc9ef235bc0bc801e30540;p=platform%2Fupstream%2Flinaro-gcc.git * config/sh/sh.md (ic_invalidate_line): Make sure the immediate constant is a valid sign-extension for Pmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49451 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cde4195..0057ca7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-02 Alexandre Oliva + + * config/sh/sh.md (ic_invalidate_line): Make sure the immediate + constant is a valid sign-extension for Pmode. + 2002-02-02 Kazu Hirata * config/h8300/h8300.c: Fix formatting. diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 9b54d29..24fbacc 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -2501,7 +2501,8 @@ " { operands[0] = force_reg (Pmode, operands[0]); - operands[1] = force_reg (Pmode, GEN_INT (0xf0000008)); + operands[1] = force_reg (Pmode, GEN_INT (trunc_int_for_mode (0xf0000008, + Pmode))); }") ;; The address %0 is assumed to be 4-aligned at least. Thus, by ORing