summaryrefslogtreecommitdiff
path: root/gcc/config/v850
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-10 18:28:51 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-10 18:28:51 +0000
commit4e6f14e40591122089b177324b39396238697238 (patch)
treea966be032d47a0fad7297b18e1a8cdc10e4f0a24 /gcc/config/v850
parent1c3c920abf911c65b424bd7d8eb72895be869ff3 (diff)
downloadgcc-4e6f14e40591122089b177324b39396238697238.tar.gz
gcc/
* genrecog.c (validate_pattern): Treat all messages except missing modes as errors. * config/epiphany/epiphany.md: Remove constraints from define_peephole2s. * config/h8300/h8300.md: Remove constraints from define_splits. * config/msp430/msp430.md: Likewise. * config/mcore/mcore.md (movdi_i, movsf_i, movdf_k): Use nonimmediate_operand rather than general_operand for operand 0. * config/moxie/moxie.md (*movsi, *movqi, *movhi): Likewise. * config/pdp11/predicates.md (float_operand, float_nonimm_operand): Use match_operator rather than match_test to invoke general_operand. * config/v850/v850.md (*movqi_internal, *movhi_internal) (*movsi_internal_v850e, *movsi_internal, *movsf_internal): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/v850')
-rw-r--r--gcc/config/v850/v850.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/v850/v850.md b/gcc/config/v850/v850.md
index f56d54a91a0..213aedffa57 100644
--- a/gcc/config/v850/v850.md
+++ b/gcc/config/v850/v850.md
@@ -233,7 +233,7 @@
})
(define_insn "*movqi_internal"
- [(set (match_operand:QI 0 "general_operand" "=r,r,r,Q,r,m,m")
+ [(set (match_operand:QI 0 "nonimmediate_operand" "=r,r,r,Q,r,m,m")
(match_operand:QI 1 "general_operand" "Jr,n,Q,Ir,m,r,I"))]
"register_operand (operands[0], QImode)
|| reg_or_0_operand (operands[1], QImode)"
@@ -258,7 +258,7 @@
})
(define_insn "*movhi_internal"
- [(set (match_operand:HI 0 "general_operand" "=r,r,r,Q,r,m,m")
+ [(set (match_operand:HI 0 "nonimmediate_operand" "=r,r,r,Q,r,m,m")
(match_operand:HI 1 "general_operand" "Jr,n,Q,Ir,m,r,I"))]
"register_operand (operands[0], HImode)
|| reg_or_0_operand (operands[1], HImode)"
@@ -334,7 +334,7 @@
;; upper part with hi, and then put the lower part in the load/store insn.
(define_insn "*movsi_internal_v850e"
- [(set (match_operand:SI 0 "general_operand" "=r,r,r,r,Q,r,r,m,m,r")
+ [(set (match_operand:SI 0 "nonimmediate_operand" "=r,r,r,r,Q,r,r,m,m,r")
(match_operand:SI 1 "general_operand" "Jr,K,L,Q,Ir,m,R,r,I,i"))]
"(TARGET_V850E_UP)
&& (register_operand (operands[0], SImode)
@@ -347,7 +347,7 @@
(set_attr "type" "other,other,other,load,other,load,other,store,store,other")])
(define_insn "*movsi_internal"
- [(set (match_operand:SI 0 "general_operand" "=r,r,r,r,Q,r,r,m,m")
+ [(set (match_operand:SI 0 "nonimmediate_operand" "=r,r,r,r,Q,r,r,m,m")
(match_operand:SI 1 "movsi_source_operand" "Jr,K,L,Q,Ir,m,R,r,I"))]
"register_operand (operands[0], SImode)
|| reg_or_0_operand (operands[1], SImode)"
@@ -359,7 +359,7 @@
(set_attr "type" "other,other,other,load,other,load,store,store,other")])
(define_insn "*movsf_internal"
- [(set (match_operand:SF 0 "general_operand" "=r,r,r,r,r,Q,r,m,m,r")
+ [(set (match_operand:SF 0 "nonimmediate_operand" "=r,r,r,r,r,Q,r,m,m,r")
(match_operand:SF 1 "general_operand" "Jr,K,L,n,Q,Ir,m,r,IG,iF"))]
"register_operand (operands[0], SFmode)
|| reg_or_0_operand (operands[1], SFmode)"