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
edeac5de
Commit
edeac5de
authored
Jul 30, 2003
by
Andi Kleen
Committed by
Richard Henderson
Jul 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (check_dbra_loop): Allow LTU in the loop condition.
From-SVN: r69971
parent
6e885ee3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+4
-0
gcc/loop.c
+4
-2
No files found.
gcc/ChangeLog
View file @
edeac5de
2003-07-30 Andi Kleen <ak@muc.de>
* loop.c (check_dbra_loop): Allow LTU in the loop condition.
2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
...
...
gcc/loop.c
View file @
edeac5de
...
...
@@ -8070,7 +8070,8 @@ check_dbra_loop (struct loop *loop, int insn_count)
before_comparison
=
get_condition_for_loop
(
loop
,
p
);
if
(
before_comparison
&&
XEXP
(
before_comparison
,
0
)
==
bl
->
biv
->
dest_reg
&&
GET_CODE
(
before_comparison
)
==
LT
&&
(
GET_CODE
(
before_comparison
)
==
LT
||
GET_CODE
(
before_comparison
)
==
LTU
)
&&
XEXP
(
before_comparison
,
1
)
==
const0_rtx
&&
!
reg_set_between_p
(
bl
->
biv
->
dest_reg
,
p
,
loop_start
)
&&
INTVAL
(
bl
->
biv
->
add_val
)
==
-
1
)
...
...
@@ -8241,7 +8242,8 @@ check_dbra_loop (struct loop *loop, int insn_count)
/* for constants, LE gets turned into LT */
&&
(
GET_CODE
(
comparison
)
==
LT
||
(
GET_CODE
(
comparison
)
==
LE
&&
no_use_except_counting
)))
&&
no_use_except_counting
)
||
GET_CODE
(
comparison
)
==
LTU
))
{
HOST_WIDE_INT
add_val
,
add_adjust
,
comparison_val
=
0
;
rtx
initial_value
,
comparison_value
;
...
...
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