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
b2d3f886
Commit
b2d3f886
authored
Jul 30, 2013
by
Richard Earnshaw
Committed by
Richard Earnshaw
Jul 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* arm.md (mulhi3): New expand pattern.
From-SVN: r201341
parent
b6d846de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
gcc/ChangeLog
+4
-0
gcc/config/arm/arm.md
+14
-0
No files found.
gcc/ChangeLog
View file @
b2d3f886
2013-07-30 Richard Earnshaw <rearnsha@arm.com>
* arm.md (mulhi3): New expand pattern.
2013-07-30 Jan Hubicka <jh@suse.cz>
Martin Liska <marxin.liska@gmail.com>
...
...
gcc/config/arm/arm.md
View file @
b2d3f886
...
...
@@ -1725,6 +1725,20 @@
;; Multiplication insns
(define_expand "mulhi3"
[
(set (match_operand:HI 0 "s_register_operand" "")
(mult:HI (match_operand:HI 1 "s_register_operand" "")
(match_operand:HI 2 "s_register_operand" "")))]
"TARGET_DSP_MULTIPLY"
"
{
rtx result = gen_reg_rtx (SImode);
emit_insn (gen_mulhisi3 (result, operands
[
1
]
, operands
[
2
]
));
emit_move_insn (operands
[
0
]
, gen_lowpart (HImode, result));
DONE;
}"
)
(define_expand "mulsi3"
[
(set (match_operand:SI 0 "s_register_operand" "")
(mult:SI (match_operand:SI 2 "s_register_operand" "")
...
...
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