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
ff2a9d88
Commit
ff2a9d88
authored
Feb 01, 2013
by
Richard Henderson
Committed by
Richard Henderson
Feb 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alpha: widening multiply pattern
* config/alpha/alpha.md (umulditi3): New. From-SVN: r195668
parent
749af8ee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/ChangeLog
+2
-0
gcc/config/alpha/alpha.md
+15
-0
No files found.
gcc/ChangeLog
View file @
ff2a9d88
...
...
@@ -3,6 +3,8 @@
* config/rs6000/rs6000.md (smulditi3): New.
(umulditi3): New.
* config/alpha/alpha.md (umulditi3): New.
2013-02-01 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
...
...
gcc/config/alpha/alpha.md
View file @
ff2a9d88
...
...
@@ -720,6 +720,21 @@
[
(set_attr "type" "imul")
(set_attr "opsize" "udi")])
(define_expand "umulditi3"
[
(set (match_operand:TI 0 "register_operand")
(mult:TI
(zero_extend:TI (match_operand:DI 1 "reg_no_subreg_operand"))
(zero_extend:TI (match_operand:DI 2 "reg_no_subreg_operand"))))]
""
{
rtx l = gen_reg_rtx (DImode), h = gen_reg_rtx (DImode);
emit_insn (gen_muldi3 (l, operands
[
1
]
, operands
[
2
]
));
emit_insn (gen_umuldi3_highpart (h, operands
[
1
]
, operands
[
2
]
));
emit_move_insn (gen_lowpart (DImode, operands
[
0
]
), l);
emit_move_insn (gen_highpart (DImode, operands
[
0
]
), h);
DONE;
})
;; The divide and remainder operations take their inputs from r24 and
;; r25, put their output in r27, and clobber r23 and r28 on all systems.
;;
...
...
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