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
a6845123
Commit
a6845123
authored
Jun 08, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(decrement_and_branch): Ensure label is operand 0.
From-SVN: r9903
parent
455350f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
gcc/config/rs6000/rs6000.md
+14
-13
No files found.
gcc/config/rs6000/rs6000.md
View file @
a6845123
...
...
@@ -7101,7 +7101,8 @@
""
"@
bctr
{br|blr}")
{br|blr}"
[
(set_attr "type" "jmpreg")
]
)
(define_insn "nop"
[
(const_int 0)
]
...
...
@@ -7127,9 +7128,9 @@
[
(set (pc)
(if_then_else (ne (match_operand:SI 1 "register_operand" "0,
*r,*
r")
(const_int 1))
(label_ref (match_operand
2
"" ""))
(label_ref (match_operand
0
"" ""))
(pc)))
(set (match_operand:SI
0
"register_operand" "=c,
*r,m*
q
*c*
l")
(set (match_operand:SI
2
"register_operand" "=c,
*r,m*
q
*c*
l")
(plus:SI (match_dup 1) (const_int -1)))
(clobber (match_scratch:CC 3 "=X,&x,&x"))
(clobber (match_scratch:SI 4 "=X,X,r"))]
...
...
@@ -7139,9 +7140,9 @@
if (which_alternative != 0)
return
\"
#
\"
;
else if (get_attr_length (insn) == 8)
return
\"
{bdn|bdnz} %l
2
\"
;
return
\"
{bdn|bdnz} %l
0
\"
;
else
return
\"
bdz $+8
\;
b %l
2
\"
;
return
\"
bdz $+8
\;
b %l
0
\"
;
}"
[
(set_attr "type" "branch")
(set_attr "length" "
*
,12,16")])
...
...
@@ -7151,9 +7152,9 @@
[
(set (pc)
(if_then_else (ge (match_operand:SI 1 "register_operand" "0,
*r,*
r")
(const_int 0))
(label_ref (match_operand
2
"" ""))
(label_ref (match_operand
0
"" ""))
(pc)))
(set (match_operand:SI
0
"register_operand" "=c,
*r,m*
q
*c*
l")
(set (match_operand:SI
2
"register_operand" "=c,
*r,m*
q
*c*
l")
(plus:SI (match_dup 1) (const_int -1)))
(clobber (match_scratch:CC 3 "=X,&x,&X"))
(clobber (match_scratch:SI 4 "=X,X,r"))]
...
...
@@ -7163,9 +7164,9 @@
if (which_alternative != 0)
return
\"
#
\"
;
else if (get_attr_length (insn) == 8)
return
\"
{bdn|bdnz} %l
2
\"
;
return
\"
{bdn|bdnz} %l
0
\"
;
else
return
\"
bdz $+8
\;
b %l
2
\"
;
return
\"
bdz $+8
\;
b %l
0
\"
;
}"
[
(set_attr "type" "branch")
(set_attr "length" "
*
,12,16")])
...
...
@@ -7174,9 +7175,9 @@
[
(set (pc)
(if_then_else (eq (match_operand:SI 1 "register_operand" "0,
*r,*
r")
(const_int 1))
(label_ref (match_operand
2
"" ""))
(label_ref (match_operand
0
"" ""))
(pc)))
(set (match_operand:SI
0
"register_operand" "=c,
*r,m*
q
*c*
l")
(set (match_operand:SI
2
"register_operand" "=c,
*r,m*
q
*c*
l")
(plus:SI (match_dup 1) (const_int -1)))
(clobber (match_scratch:CC 3 "=X,&x,&x"))
(clobber (match_scratch:SI 4 "=X,X,r"))]
...
...
@@ -7186,9 +7187,9 @@
if (which_alternative != 0)
return
\"
#
\"
;
else if (get_attr_length (insn) == 8)
return
\"
bdz %l
2
\"
;
return
\"
bdz %l
0
\"
;
else
return
\"
{bdn|bdnz} $+8
\;
b %l
2
\"
;
return
\"
{bdn|bdnz} $+8
\;
b %l
0
\"
;
}"
[
(set_attr "type" "branch")
(set_attr "length" "
*
,12,16")])
...
...
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