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
1568d79b
Commit
1568d79b
authored
Jul 13, 2001
by
David Edelsohn
Committed by
David Edelsohn
Jul 13, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (try_combine): Ensure const_int pow2 is positive.
From-SVN: r43983
parent
8e1ab0fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/ChangeLog
+4
-0
gcc/combine.c
+1
-0
No files found.
gcc/ChangeLog
View file @
1568d79b
2001-07-13 David Edelsohn <edelsohn@gnu.org>
* combine.c (try_combine): Ensure const_int pow2 is positive.
2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
2001-07-13 Hartmut Penner <hpenner@de.ibm.com>
* config.gcc: Add configuration for s/390.
* config.gcc: Add configuration for s/390.
...
...
gcc/combine.c
View file @
1568d79b
...
@@ -2235,6 +2235,7 @@ try_combine (i3, i2, i1, new_direct_jump_p)
...
@@ -2235,6 +2235,7 @@ try_combine (i3, i2, i1, new_direct_jump_p)
appeared to be a memory address. This is a kludge. */
appeared to be a memory address. This is a kludge. */
if
(
split_code
==
MULT
if
(
split_code
==
MULT
&&
GET_CODE
(
XEXP
(
*
split
,
1
))
==
CONST_INT
&&
GET_CODE
(
XEXP
(
*
split
,
1
))
==
CONST_INT
&&
INTVAL
(
XEXP
(
*
split
,
1
))
>
0
&&
(
i
=
exact_log2
(
INTVAL
(
XEXP
(
*
split
,
1
))))
>=
0
)
&&
(
i
=
exact_log2
(
INTVAL
(
XEXP
(
*
split
,
1
))))
>=
0
)
{
{
SUBST
(
*
split
,
gen_rtx_ASHIFT
(
split_mode
,
SUBST
(
*
split
,
gen_rtx_ASHIFT
(
split_mode
,
...
...
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