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
8937b6a2
Commit
8937b6a2
authored
Mar 12, 2004
by
Roger Sayle
Committed by
Roger Sayle
Mar 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63.
From-SVN: r79397
parent
b8d50739
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/ChangeLog
+4
-0
gcc/config/i386/i386.c
+8
-1
No files found.
gcc/ChangeLog
View file @
8937b6a2
2004-03-12 Roger Sayle <roger@eyesopen.com>
* config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63.
2004-03-12 Matt Austern <austern@apple.com>
2004-03-12 Matt Austern <austern@apple.com>
* target.h (struct gcc_target): New target hook, unwind_label.
* target.h (struct gcc_target): New target hook, unwind_label.
...
...
gcc/config/i386/i386.c
View file @
8937b6a2
...
@@ -10873,7 +10873,14 @@ ix86_split_ashrdi (rtx *operands, rtx scratch)
...
@@ -10873,7 +10873,14 @@ ix86_split_ashrdi (rtx *operands, rtx scratch)
split_di
(
operands
,
2
,
low
,
high
);
split_di
(
operands
,
2
,
low
,
high
);
count
=
INTVAL
(
operands
[
2
])
&
63
;
count
=
INTVAL
(
operands
[
2
])
&
63
;
if
(
count
>=
32
)
if
(
count
==
63
)
{
emit_move_insn
(
high
[
0
],
high
[
1
]);
emit_insn
(
gen_ashrsi3
(
high
[
0
],
high
[
0
],
GEN_INT
(
31
)));
emit_move_insn
(
low
[
0
],
high
[
0
]);
}
else
if
(
count
>=
32
)
{
{
emit_move_insn
(
low
[
0
],
high
[
1
]);
emit_move_insn
(
low
[
0
],
high
[
1
]);
...
...
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