diff options
author | Kazu Hirata <kazu@hxi.com> | 2002-02-18 22:07:42 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-02-18 22:07:42 +0000 |
commit | 82be00ee67dc07c7f3cf817532501e10db1fd249 (patch) | |
tree | 1a1140ff898bdc79e9665701bad2b51f1fe579e7 /gcc | |
parent | 577f406186438493eac86d0dd14e92b9f92c47bb (diff) | |
download | gcc-82be00ee67dc07c7f3cf817532501e10db1fd249.zip gcc-82be00ee67dc07c7f3cf817532501e10db1fd249.tar.gz gcc-82be00ee67dc07c7f3cf817532501e10db1fd249.tar.bz2 |
h8300-protos.h: Remove the prototype for p_operand.
* config/h8300/h8300-protos.h: Remove the prototype for
p_operand.
* config/h8300/h8300.c (p_operand): Remove.
* config/h8300/h8300.md: Replace p_operand with
const_int_operand.
From-SVN: r49848
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/h8300/h8300-protos.h | 1 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 11 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 2 |
4 files changed, 9 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe35ed4..9707a8c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2002-02-18 Kazu Hirata <kazu@hxi.com> + + * config/h8300/h8300-protos.h: Remove the prototype for + p_operand. + * config/h8300/h8300.c (p_operand): Remove. + * config/h8300/h8300.md: Replace p_operand with + const_int_operand. + 2002-02-18 Philip Blundell <pb@nexus.co.uk> * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h index 876b3cb..5d84a97 100644 --- a/gcc/config/h8300/h8300-protos.h +++ b/gcc/config/h8300/h8300-protos.h @@ -45,7 +45,6 @@ extern void split_adds_subs PARAMS ((enum machine_mode, rtx[])); extern int general_operand_src PARAMS ((rtx, enum machine_mode)); extern int general_operand_dst PARAMS ((rtx, enum machine_mode)); extern int o_operand PARAMS ((rtx, enum machine_mode)); -extern int p_operand PARAMS ((rtx, enum machine_mode)); extern int call_insn_operand PARAMS ((rtx, enum machine_mode)); extern int two_insn_adds_subs_operand PARAMS ((rtx, enum machine_mode)); extern int small_call_insn_operand PARAMS ((rtx, enum machine_mode)); diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index e79d865..eb573f3 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -572,17 +572,6 @@ o_operand (operand, mode) && CONST_OK_FOR_O (INTVAL (operand))); } -/* Return true if OP is a const valid for a bit set or bit xor instruction. */ - -int -p_operand (operand, mode) - rtx operand; - enum machine_mode mode ATTRIBUTE_UNUSED; -{ - return (GET_CODE (operand) == CONST_INT - && CONST_OK_FOR_P (INTVAL (operand))); -} - /* Return true if OP is a valid call operand. */ int diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 4d85dd1..724d8d0 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -2006,7 +2006,7 @@ (define_insn "" [(set (match_operand:HI 0 "register_operand" "=&r") (zero_extract:HI (xor:HI (match_operand:HI 1 "register_operand" "r") - (match_operand:HI 3 "p_operand" "P")) + (match_operand:HI 3 "const_int_operand" "n")) (const_int 1) (match_operand:HI 2 "const_int_operand" "n")))] "TARGET_H8300 |