diff options
author | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-15 15:46:01 +0000 |
---|---|---|
committer | m.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-15 15:46:01 +0000 |
commit | 09e6b61b5864acdccf328a4639d31442804ecd71 (patch) | |
tree | ac9741e191a7a3810ff5d9da0639521096de38a0 /gcc/config/c4x/c4x.md | |
parent | e81c27fb8a76f21e305abe910495430815cee2fe (diff) | |
download | gcc-09e6b61b5864acdccf328a4639d31442804ecd71.tar.gz |
* config/c4x/c4x.md (not_repeat_reg): Allow ldp instruction
in delay slot of RPTBD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/c4x/c4x.md')
-rw-r--r-- | gcc/config/c4x/c4x.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md index 50c1a32056b..7d858547a79 100644 --- a/gcc/config/c4x/c4x.md +++ b/gcc/config/c4x/c4x.md @@ -342,7 +342,7 @@ (const_string "false"))) (define_attr "not_repeat_reg" "false,true" - (cond [(eq_attr "type" "unary,unarycc,compare,lda,store") + (cond [(eq_attr "type" "unary,unarycc,compare,lda,ldp,store") (if_then_else (and (match_operand 0 "not_rc_reg" "") (match_operand 1 "not_rc_reg" "")) (const_string "true") (const_string "false")) @@ -353,6 +353,9 @@ (const_string "true") (const_string "false"))] (const_string "false"))) +/* Disable compare because the c4x contains a bug. The cmpi insn sets the CC + in the read phase of the pipeline instead of the execution phase when + two registers are compared. */ (define_attr "in_annul_slot_1" "false,true" (if_then_else (and (and (eq_attr "cpu" "c4x") (eq_attr "type" "!jump,call,rets,jmpc,compare,db,dbc,repeat,repeat_top,laj,push,pop,lda,ldp,multi")) |