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
702d7434
Commit
702d7434
authored
Jul 06, 1998
by
Alasdair Baird
Committed by
Jeff Law
Jul 06, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.
From-SVN: r20962
parent
eafdfea8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
gcc/ChangeLog
+4
-0
gcc/jump.c
+2
-0
No files found.
gcc/ChangeLog
View file @
702d7434
Mon Jul 6 22:17:19 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.
Mon Jul 6 22:14:31 1998 Richard Henderson (rth@cygnus.com)
* regclass.c (allocate_reg_info): Initialize the entire reg_data
...
...
gcc/jump.c
View file @
702d7434
...
...
@@ -1299,11 +1299,13 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
/* Check that the mask is a power of two,
so that it can probably be generated
with a shift. */
&&
GET_CODE
(
temp3
)
==
CONST_INT
&&
exact_log2
(
INTVAL
(
temp3
))
>=
0
))
&&
(
reversep
=
0
,
temp2
==
const0_rtx
))
||
((
BRANCH_COST
>=
2
||
STORE_FLAG_VALUE
==
-
1
||
(
STORE_FLAG_VALUE
==
1
&&
GET_CODE
(
temp2
)
==
CONST_INT
&&
exact_log2
(
INTVAL
(
temp2
))
>=
0
))
&&
temp3
==
const0_rtx
&&
(
reversep
=
can_reverse_comparison_p
(
temp4
,
insn
)))
...
...
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