From 4915d3aa28f9b3d26a2e29123ced03c546693596 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 18 Feb 2002 22:20:58 +0000 Subject: [PATCH] h8300.md (divmod patterns): Change the constraints for operands[1] to register_operand. * config/h8300/h8300.md (divmod patterns): Change the constraints for operands[1] to register_operand. From-SVN: r49849 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9707a8c1a3a..6916ab9eb6d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-18 Kazu Hirata + + * config/h8300/h8300.md (divmod patterns): Change the + constraints for operands[1] to register_operand. + 2002-02-18 Kazu Hirata * config/h8300/h8300-protos.h: Remove the prototype for diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 724d8d0bcc5..b9dc6403222 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -915,7 +915,7 @@ [(set (match_operand:QI 0 "register_operand" "=r") (truncate:QI (udiv:HI - (match_operand:HI 1 "general_operand" "0") + (match_operand:HI 1 "register_operand" "0") (zero_extend:HI (match_operand:QI 2 "register_operand" "r"))))) (set (match_operand:QI 3 "register_operand" "=r") (truncate:QI @@ -937,7 +937,7 @@ [(set (match_operand:QI 0 "register_operand" "=r") (truncate:QI (div:HI - (match_operand:HI 1 "general_operand" "0") + (match_operand:HI 1 "register_operand" "0") (sign_extend:HI (match_operand:QI 2 "register_operand" "r"))))) (set (match_operand:QI 3 "register_operand" "=r") (truncate:QI @@ -959,7 +959,7 @@ [(set (match_operand:HI 0 "register_operand" "=r") (truncate:HI (udiv:SI - (match_operand:SI 1 "general_operand" "0") + (match_operand:SI 1 "register_operand" "0") (zero_extend:SI (match_operand:HI 2 "register_operand" "r"))))) (set (match_operand:HI 3 "register_operand" "=r") (truncate:HI @@ -981,7 +981,7 @@ [(set (match_operand:HI 0 "register_operand" "=r") (truncate:HI (div:SI - (match_operand:SI 1 "general_operand" "0") + (match_operand:SI 1 "register_operand" "0") (sign_extend:SI (match_operand:HI 2 "register_operand" "r"))))) (set (match_operand:HI 3 "register_operand" "=r") (truncate:HI