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
dc4f75b4
Commit
dc4f75b4
authored
Jul 21, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ashldi3, lshrdi3): Obsolete, deleted.
From-SVN: r4950
parent
8c597270
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
80 deletions
+0
-80
gcc/config/sparc/sparc.md
+0
-80
No files found.
gcc/config/sparc/sparc.md
View file @
dc4f75b4
...
...
@@ -2542,46 +2542,6 @@
""
"sll %1,%2,%0")
(define_expand "ashldi3"
[
(parallel
[
(set (match_operand:DI 0 "register_operand" "")
(ashift:DI (match_operand:DI 1 "register_operand" "")
(match_operand:DI 2 "const_int_operand" "")))
(clobber (match_scratch:SI 3 ""))])]
""
"
{
if (GET_CODE (operands
[
2
]
) != CONST_INT)
FAIL;
}")
(define_insn ""
[
(set (match_operand:DI 0 "register_operand" "=r")
(ashift:DI (match_operand:DI 1 "register_operand" "r")
(match_operand:DI 2 "const_int_operand" "I")))
(clobber (match_scratch:SI 3 "=r"))]
"INTVAL (operands
[
2
]
) < 32"
"
*
{
operands
[
4
]
= GEN_INT (32 - INTVAL (operands
[
2
]
));
return
\"
srl %R1,%4,%3
\;
sll %R1,%2,%R0
\;
sll %1,%2,%0
\;
or %3,%0,%0
\"
;
}"
[
(set_attr "type" "multi")
(set_attr "length" "4")])
(define_insn ""
[
(set (match_operand:DI 0 "register_operand" "=r")
(ashift:DI (match_operand:DI 1 "register_operand" "r")
(match_operand:DI 2 "const_int_operand" "I")))
(clobber (match_scratch:SI 3 "=X"))]
"INTVAL (operands
[
2
]
) >= 32"
"
*
{
operands
[
4
]
= GEN_INT (INTVAL (operands
[
2
]
) - 32);
return
\"
sll %R1,%4,%0
\;
mov %%g0,%R0
\"
;
}"
[
(set_attr "type" "multi")
(set_attr "length" "2")])
(define_insn "ashrsi3"
[
(set (match_operand:SI 0 "register_operand" "=r")
(ashiftrt:SI (match_operand:SI 1 "register_operand" "r")
...
...
@@ -2596,46 +2556,6 @@
""
"srl %1,%2,%0")
(define_expand "lshrdi3"
[
(parallel
[
(set (match_operand:DI 0 "register_operand" "")
(lshiftrt:DI (match_operand:DI 1 "register_operand" "")
(match_operand:DI 2 "const_int_operand" "")))
(clobber (match_scratch:SI 3 ""))])]
""
"
{
if (GET_CODE (operands
[
2
]
) != CONST_INT)
FAIL;
}")
(define_insn ""
[
(set (match_operand:DI 0 "register_operand" "=r")
(lshiftrt:DI (match_operand:DI 1 "register_operand" "r")
(match_operand:DI 2 "const_int_operand" "I")))
(clobber (match_scratch:SI 3 "=r"))]
"INTVAL (operands
[
2
]
) < 32"
"
*
{
operands
[
4
]
= GEN_INT (32 - INTVAL (operands
[
2
]
));
return
\"
sll %1,%4,%3
\;
srl %1,%2,%0
\;
srl %R1,%2,%R0
\;
or %3,%R0,%R0
\"
;
}"
[
(set_attr "type" "multi")
(set_attr "length" "4")])
(define_insn ""
[
(set (match_operand:DI 0 "register_operand" "=r")
(lshiftrt:DI (match_operand:DI 1 "register_operand" "r")
(match_operand:DI 2 "const_int_operand" "I")))
(clobber (match_scratch:SI 3 "=X"))]
"INTVAL (operands
[
2
]
) >= 32"
"
*
{
operands
[
4
]
= GEN_INT (INTVAL (operands
[
2
]
) - 32);
return
\"
srl %1,%4,%R0
\;
mov %%g0,%0
\"
;
}"
[
(set_attr "type" "multi")
(set_attr "length" "2")])
;; Unconditional and other jump instructions
;; On the Sparc, by setting the annul bit on an unconditional branch, the
;; following insn is never executed. This saves us a nop. Dbx does not
...
...
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