sh.md (ic_invalidate_line): Make sure the immediate constant is a valid sign-extension for Pmode.

* config/sh/sh.md (ic_invalidate_line): Make sure the immediate
constant is a valid sign-extension for Pmode.

From-SVN: r49451
This commit is contained in:
Alexandre Oliva 2002-02-03 00:50:50 +00:00 committed by Alexandre Oliva
parent e7daa976ff
commit 90e65b7084
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-02-02 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.md (ic_invalidate_line): Make sure the immediate
constant is a valid sign-extension for Pmode.
2002-02-02 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix formatting.

View File

@ -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