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
df0f3392
Commit
df0f3392
authored
Dec 02, 2013
by
Ganesh Gopalasubramanian
Committed by
Ganesh Gopalasubramanian
Dec 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check TARGET_LOOP_UNROLL_ADJUST while deciding unroll factor
From-SVN: r205580
parent
62ca1b14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/ChangeLog
+5
-0
gcc/loop-unroll.c
+3
-0
No files found.
gcc/ChangeLog
View file @
df0f3392
2013
-
12
-
02
Ganesh
Gopalasubramanian
<
Ganesh
.
Gopalasubramanian
@
amd
.
com
>
*
loop
-
unroll
.
c
(
decide_unroll_constant_iterations
):
Check
macro
TARGET_LOOP_UNROLL_ADJUST
while
deciding
unroll
factor
.
2013
-
12
-
01
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
2013
-
12
-
01
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
config
/
i386
/
winnt
.
c
(
i386_pe_asm_named_section
):
Be
prepared
for
an
*
config
/
i386
/
winnt
.
c
(
i386_pe_asm_named_section
):
Be
prepared
for
an
gcc/loop-unroll.c
View file @
df0f3392
...
@@ -664,6 +664,9 @@ decide_unroll_constant_iterations (struct loop *loop, int flags)
...
@@ -664,6 +664,9 @@ decide_unroll_constant_iterations (struct loop *loop, int flags)
if
(
nunroll
>
(
unsigned
)
PARAM_VALUE
(
PARAM_MAX_UNROLL_TIMES
))
if
(
nunroll
>
(
unsigned
)
PARAM_VALUE
(
PARAM_MAX_UNROLL_TIMES
))
nunroll
=
PARAM_VALUE
(
PARAM_MAX_UNROLL_TIMES
);
nunroll
=
PARAM_VALUE
(
PARAM_MAX_UNROLL_TIMES
);
if
(
targetm
.
loop_unroll_adjust
)
nunroll
=
targetm
.
loop_unroll_adjust
(
nunroll
,
loop
);
/* Skip big loops. */
/* Skip big loops. */
if
(
nunroll
<=
1
)
if
(
nunroll
<=
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