summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-18 22:20:58 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-18 22:20:58 +0000
commitec708c23eba20e5969f14bff4c69dcab0c7c0dee (patch)
treefc0df1733c68f9dccfa76295b2e89c0c8c0ea622 /gcc
parenta7b07d1958a94a8bb6420571204d4c7294f94aaf (diff)
downloadppe42-gcc-ec708c23eba20e5969f14bff4c69dcab0c7c0dee.tar.gz
ppe42-gcc-ec708c23eba20e5969f14bff4c69dcab0c7c0dee.zip
* config/h8300/h8300.md (divmod patterns): Change the
constraints for operands[1] to register_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md8
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,5 +1,10 @@
2002-02-18 Kazu Hirata <kazu@hxi.com>
+ * config/h8300/h8300.md (divmod patterns): Change the
+ constraints for operands[1] to register_operand.
+
+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.
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
OpenPOWER on IntegriCloud