aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>1999-02-09 18:50:19 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>1999-02-09 18:50:19 +0000
commit95d62815b5c001319c1e1f0b8746342e65dec86a (patch)
tree671fb2814f5ef2f487820874a0332b8a3dc00898 /gcc
parente4d8ad2321d424a13b249c4e8794ae1ef3545c59 (diff)
downloadgcc-95d62815b5c001319c1e1f0b8746342e65dec86a.zip
gcc-95d62815b5c001319c1e1f0b8746342e65dec86a.tar.gz
gcc-95d62815b5c001319c1e1f0b8746342e65dec86a.tar.bz2
c4x.md (*movhf_noclobber, [...]): Use m constraint instead of QT.
* config/c4x/c4x.md (*movhf_noclobber, *movhi_noclobber): Use m constraint instead of QT. From-SVN: r25113
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/c4x/c4x.md5
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6ead2b2..152b2bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Feb 10 15:46:10 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * config/c4x/c4x.md (*movhf_noclobber, *movhi_noclobber): Use
+ m constraint instead of QT.
+
1999-02-09 Brendan Kehoe <brendan@cygnus.com>
* cpplib.c (special_symbol): Move IP to be declared in function
diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md
index d49b411..32908f8 100644
--- a/gcc/config/c4x/c4x.md
+++ b/gcc/config/c4x/c4x.md
@@ -4859,10 +4859,9 @@
"ldfu\\t%1,%0"
[(set_attr "type" "unary")])
-; The predicates could be tightened to disallow constants
(define_insn "*movhf_noclobber"
[(set (match_operand:HF 0 "src_operand" "=h,m")
- (match_operand:HF 1 "src_operand" "HQT>,h"))]
+ (match_operand:HF 1 "src_operand" "Hm,h"))]
"reg_operand (operands[0], HFmode) ^ reg_operand (operands[1], HFmode)"
"#"
[(set_attr "type" "multi,multi")])
@@ -5392,7 +5391,7 @@
; votes for FP_REGS so we use dr as the constraints.
(define_insn "*movhi_noclobber"
[(set (match_operand:HI 0 "src_operand" "=dr,m")
- (match_operand:HI 1 "src_operand" "drIQT>,r"))]
+ (match_operand:HI 1 "src_operand" "drIm,r"))]
"reg_operand (operands[0], HImode)
|| reg_operand (operands[1], HImode)"
"#"