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
74a61069
Commit
74a61069
authored
Jun 29, 1994
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(umuldi3_highpart): New expander and matcher.
From-SVN: r7592
parent
14edc0e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
gcc/config/alpha/alpha.md
+22
-0
No files found.
gcc/config/alpha/alpha.md
View file @
74a61069
...
@@ -417,6 +417,28 @@
...
@@ -417,6 +417,28 @@
""
""
"mulq %r1,%r2,%0"
"mulq %r1,%r2,%0"
[
(set_attr "type" "imulq")
]
)
[
(set_attr "type" "imulq")
]
)
(define_insn "umuldi3_highpart"
[
(set (match_operand:DI 0 "register_operand" "=r")
(truncate:DI
(lshiftrt:TI
(mult:TI (zero_extend:TI (match_operand:DI 1 "register_operand" "r"))
(zero_extend:TI (match_operand:DI 2 "register_operand" "r")))
(const_int 64))))]
""
"umulh %1,%2,%0"
[
(set_attr "type" "imulq")
]
)
(define_insn ""
[
(set (match_operand:DI 0 "register_operand" "=r")
(truncate:DI
(lshiftrt:TI
(mult:TI (zero_extend:TI (match_operand:DI 1 "register_operand" "r"))
(match_operand:TI 2 "cint8_operand" "I"))
(const_int 64))))]
""
"umulh %1,%2,%0"
[
(set_attr "type" "imulq")
]
)
;; The divide and remainder operations always take their inputs from
;; The divide and remainder operations always take their inputs from
;; r24 and r25, put their output in r27, and clobber r23 and r28.
;; r24 and r25, put their output in r27, and clobber r23 and r28.
...
...
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