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
7124e1e5
Commit
7124e1e5
authored
32 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(jump_optimize): Don't optimize jumps to store-flag insns
when BLKmode values are being compared. From-SVN: r2450
parent
fb3ef382
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/jump.c
+8
-0
No files found.
gcc/jump.c
View file @
7124e1e5
...
...
@@ -1019,6 +1019,10 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&&
simplejump_p
(
temp4
)
&&
JUMP_LABEL
(
temp4
)
==
JUMP_LABEL
(
insn
)))
&&
(
temp4
=
get_condition
(
insn
,
&
temp5
))
!=
0
/* We must be comparing objects whose modes imply the size.
We could handle BLKmode if (1) emit_store_flag could
and (2) we could find the size reliably. */
&&
GET_MODE
(
XEXP
(
temp4
,
0
))
!=
BLKmode
/* If B is zero, OK; if A is zero, can only do (1) if we
can reverse the condition. See if (3) applies possibly
...
...
@@ -1200,6 +1204,10 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
&&
simplejump_p
(
temp3
)
&&
JUMP_LABEL
(
temp3
)
==
JUMP_LABEL
(
insn
)))
&&
(
temp3
=
get_condition
(
insn
,
&
temp4
))
!=
0
/* We must be comparing objects whose modes imply the size.
We could handle BLKmode if (1) emit_store_flag could
and (2) we could find the size reliably. */
&&
GET_MODE
(
XEXP
(
temp3
,
0
))
!=
BLKmode
&&
can_reverse_comparison_p
(
temp3
,
insn
))
{
rtx
temp6
,
target
=
0
,
seq
,
init_insn
=
0
,
init
=
temp2
;
...
...
This diff is collapsed.
Click to expand it.
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