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
1d29a58d
Commit
1d29a58d
authored
Aug 29, 2008
by
Bob Wilson
Committed by
Bob Wilson
Aug 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/xtensa/xtensa.md (<u>mulsidi3): Use a temporary register.
From-SVN: r139750
parent
d2155632
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+4
-0
gcc/config/xtensa/xtensa.md
+3
-2
No files found.
gcc/ChangeLog
View file @
1d29a58d
2008
-
08
-
28
Bob
Wilson
<
bob
.
wilson
@acm
.
org
>
*
config
/
xtensa
/
xtensa
.
md
(
<
u
>
mulsidi3
)
:
Use
a
temporary
register
.
2008
-
08
-
28
Adam
Nemet
<
anemet
@caviumnetworks
.
com
>
2008
-
08
-
28
Adam
Nemet
<
anemet
@caviumnetworks
.
com
>
*
config
/
mips
/
mips
.
h
(
ISA_HAS_BBIT
)
:
New
macro
.
*
config
/
mips
/
mips
.
h
(
ISA_HAS_BBIT
)
:
New
macro
.
...
...
gcc/config/xtensa/xtensa.md
View file @
1d29a58d
...
@@ -222,10 +222,11 @@
...
@@ -222,10 +222,11 @@
(any_extend:DI (match_operand:SI 2 "register_operand"))))]
(any_extend:DI (match_operand:SI 2 "register_operand"))))]
"TARGET_MUL32_HIGH"
"TARGET_MUL32_HIGH"
{
{
emit_insn (gen_mulsi3 (gen_lowpart (SImode, operands
[
0
]
),
rtx temp = gen_reg_rtx (SImode);
operands
[
1
]
, operands
[
2
]
));
emit_insn (gen_mulsi3 (temp,
operands
[
1
]
, operands
[
2
]
));
emit_insn (gen_
<u>
mulsi3_highpart (gen_highpart (SImode, operands
[
0
]
),
emit_insn (gen_
<u>
mulsi3_highpart (gen_highpart (SImode, operands
[
0
]
),
operands
[
1
]
, operands
[
2
]
));
operands
[
1
]
, operands
[
2
]
));
emit_insn (gen_movsi (gen_lowpart (SImode, operands
[
0
]
), temp));
DONE;
DONE;
})
})
...
...
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