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
202571cd
Commit
202571cd
authored
Feb 02, 1993
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(cmov): Use @ for output.
From-SVN: r3406
parent
d74154d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
26 deletions
+13
-26
gcc/config/pa/pa.md
+13
-26
No files found.
gcc/config/pa/pa.md
View file @
202571cd
...
...
@@ -493,34 +493,21 @@
;;; Experimental conditional move
(define_insn "cmov"
[
(set (match_operand:SI 0 "register_operand" "=r,r")
(if_then_else:SI
[
(set (match_operand:SI 0 "register_operand" "=r,r
,r,r
")
(if_then_else:SI
(match_operator 5 "comparison_operator"
[
(match_operand:SI 3 "register_operand" "
r,r")
(match_operand:SI 4 "arith5_operand" "rL,rL")])
(match_operand:SI 1 "arith11_operand" "0,r
I")
(match_operand:SI 2 "arith11_operand" "rI
,0")))]
[
(match_operand:SI 3 "register_operand" "r,r,
r,r")
(match_operand:SI 4 "arith5_operand" "rL,rL
,rL,rL
")])
(match_operand:SI 1 "arith11_operand" "0,0,r,
I")
(match_operand:SI 2 "arith11_operand" "r,I,0
,0")))]
""
"
*
{
output_asm_insn (
\"
com%I4clr,%S5 %4,%3,0
\"
, operands);
if (which_alternative == 0)
{
if (GET_CODE (operands
[
2
]
) == CONST_INT)
return
\"
ldi %2,%0
\"
;
else
return
\"
copy %2,%0
\"
;
}
else
{
if (GET_CODE (operands
[
1
]
) == CONST_INT)
return
\"
ldi %1,%0
\"
;
else
return
\"
copy %1,%0
\"
;
}
}"
[
(set_attr "type" "multi,multi")
(set_attr "length" "2,2")])
"@
com%I4clr,%S5 %4,%3,0
\;
copy %2,%0
com%I4clr,%S5 %4,%3,0
\;
ldi %2,%0
com%I4clr,%S5 %4,%3,0
\;
copy %1,%0
com%I4clr,%S5 %4,%3,0
\;
ldi %1,%0"
[
(set_attr "type" "multi,multi,multi,multi")
(set_attr "length" "2,2,2,2")])
;; Conditional Branches
...
...
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