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
5c72c15e
Commit
5c72c15e
authored
May 27, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add define_split for sign-extended PLUS of an SImode comparison;
change comparison to DImode. From-SVN: r7360
parent
1b0cb6fc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
gcc/config/alpha/alpha.md
+18
-0
No files found.
gcc/config/alpha/alpha.md
View file @
5c72c15e
...
...
@@ -165,6 +165,24 @@
operands
[
5
]
= GEN_INT (mult);
}")
(define_split
[
(set (match_operand:DI 0 "register_operand" "")
(sign_extend:DI
(plus:SI (match_operator:SI 1 "comparison_operator"
[
(match_operand 2 "" "")
(match_operand 3 "" "")])
(match_operand:SI 4 "add_operand" ""))))
(clobber (match_operand:DI 5 "register_operand" ""))]
""
[
(set (match_dup 5) (match_dup 6))
(set (match_dup 0) (sign_extend:DI (plus:SI (match_dup 7) (match_dup 4))))]
"
{
operands
[
6
]
= gen_rtx (GET_CODE (operands
[
1
]
), DImode,
operands
[
2
]
, operands
[
3
]
);
operands
[
7
]
= gen_lowpart (SImode, operands
[
5
]
);
}")
(define_insn "adddi3"
[
(set (match_operand:DI 0 "register_operand" "=r,r,r,r")
(plus:DI (match_operand:DI 1 "reg_or_0_operand" "%rJ,rJ,rJ,rJ")
...
...
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