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
This commit is contained in:
Kazu Hirata 2002-02-18 22:07:42 +00:00 committed by Kazu Hirata
parent 577f406186
commit 82be00ee67
4 changed files with 9 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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