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
37641f7d
Commit
37641f7d
authored
Oct 16, 1999
by
Michael Hayes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try again!?
From-SVN: r30032
parent
6c7811a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
73 additions
and
0 deletions
+73
-0
gcc/config/c4x/c4x.md
+73
-0
No files found.
gcc/config/c4x/c4x.md
View file @
37641f7d
...
...
@@ -5040,6 +5040,40 @@
"
[(set_attr "type" "db,jmpc,jmpc,jmpc")])
(define_insn "*db_noclobber"
[(set (pc)
(if_then_else (ne (match_operand:QI 0 "addr_reg_operand" "+a")
(const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_dup 0)
(plus:QI (match_dup 0)
(const_int -1)))]
"reload_completed && TARGET_DB && TARGET_LOOP_UNSIGNED"
"dbu%#\\t%0,%l1"
[(set_attr "type" "db")])
(define_split
[(set (pc)
(if_then_else (ne (match_operand:QI 0 "addr_reg_operand" "")
(const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_dup 0)
(plus:QI (match_dup 0)
(const_int -1)))
(clobber (reg:CC_NOOV 21))]
"reload_completed && TARGET_DB && TARGET_LOOP_UNSIGNED"
[(parallel [(set (pc)
(if_then_else (ne (match_dup 0)
(const_int 0))
(label_ref (match_dup 1))
(pc)))
(set (match_dup 0)
(plus:QI (match_dup 0)
(const_int -1)))])]
"")
; This insn is used for some loop tests, typically loops reversed when
; strength reduction is used. It is actually created when the instruction
...
...
@@ -5076,6 +5110,45 @@
"
[
(set_attr "type" "db,jmpc,jmpc,jmpc")
]
)
(define_insn "
*
decrement_and_branch_until_zero_noclobber"
[
(set (pc)
(if_then_else (ge (plus:QI (match_operand:QI 0 "addr_reg_operand" "+a")
(const_int -1))
(const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_dup 0)
(plus:QI (match_dup 0)
(const_int -1)))]
"reload_completed && (TARGET_DB && (find_reg_note (insn, REG_NONNEG, 0)
|| TARGET_LOOP_UNSIGNED))"
"dbu%#
\\
t%0,%l1"
[
(set_attr "type" "db")
]
)
(define_split
[
(set (pc)
(if_then_else (ge (plus:QI (match_operand:QI 0 "addr_reg_operand" "")
(const_int -1))
(const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_dup 0)
(plus:QI (match_dup 0)
(const_int -1)))
(clobber (reg:CC_NOOV 21))]
"reload_completed && (TARGET_DB && (find_reg_note (insn, REG_NONNEG, 0)
|| TARGET_LOOP_UNSIGNED))"
[
(parallel
[
(set (pc)
(if_then_else (ge (plus:QI (match_dup 0)
(const_int -1))
(const_int 0))
(label_ref (match_dup 1))
(pc)))
(set (match_dup 0)
(plus:QI (match_dup 0)
(const_int -1)))])]
"")
;
; MISC INSTRUCTIONS
;
...
...
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