Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
68fe56fc
Commit
68fe56fc
authored
20 years ago
by
J"orn Rennecke
Committed by
Joern Rennecke
20 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sh.md (cbranch define_delay) Use cond_delay_slot for
non-anulled condition too. From-SVN: r85941
parent
a688b3ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
gcc/ChangeLog
+5
-0
gcc/config/sh/sh.md
+5
-1
No files found.
gcc/ChangeLog
View file @
68fe56fc
2004-08-13 J"orn Rennecke <joern.rennecke@superh.com>
* sh.md (cbranch define_delay) Use cond_delay_slot for
non-anulled condition too.
2004-08-12 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (any_parallel_operand): New predicate.
...
...
This diff is collapsed.
Click to expand it.
gcc/config/sh/sh.md
View file @
68fe56fc
...
...
@@ -524,12 +524,16 @@
;; Say that we have annulled true branches, since this gives smaller and
;; faster code when branches are predicted as not taken.
;; ??? The non-annulled condition should really be "in_delay_slot",
;; but insns that can be filled in non-annulled get priority over insns
;; that can only be filled in anulled.
(define_delay
(and (eq_attr "type" "cbranch")
(ne (symbol_ref "TARGET_SH2") (const_int 0)))
;; SH2e has a hardware bug that pretty much prohibits the use of
;; annuled delay slots.
[
(eq_attr "
in
_delay_slot" "yes") (and (eq_attr "cond_delay_slot" "yes")
[
(eq_attr "
cond
_delay_slot" "yes") (and (eq_attr "cond_delay_slot" "yes")
(not (eq_attr "cpu" "sh2e"))) (nil)])
;; -------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment