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
9311f3f6
Commit
9311f3f6
authored
Mar 30, 2003
by
Roger Sayle
Committed by
Roger Sayle
Mar 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.
From-SVN: r65060
parent
c717c5af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
gcc/ChangeLog
+4
-0
gcc/dojump.c
+9
-4
No files found.
gcc/ChangeLog
View file @
9311f3f6
2003-03-30 Roger Sayle <roger@eyesopen.com>
* dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.
2003-03-30 DJ Delorie <dj@redhat.com>
2003-03-30 DJ Delorie <dj@redhat.com>
* profile.c (instrument_edges): Make sure any newly created
* profile.c (instrument_edges): Make sure any newly created
...
...
gcc/dojump.c
View file @
9311f3f6
...
@@ -588,10 +588,15 @@ do_jump (exp, if_false_label, if_true_label)
...
@@ -588,10 +588,15 @@ do_jump (exp, if_false_label, if_true_label)
/* Note swapping the labels gives us not-equal. */
/* Note swapping the labels gives us not-equal. */
do_jump_by_parts_equality_rtx
(
temp
,
if_true_label
,
if_false_label
);
do_jump_by_parts_equality_rtx
(
temp
,
if_true_label
,
if_false_label
);
else
if
(
GET_MODE
(
temp
)
!=
VOIDmode
)
else
if
(
GET_MODE
(
temp
)
!=
VOIDmode
)
do_compare_rtx_and_jump
(
temp
,
CONST0_RTX
(
GET_MODE
(
temp
)),
{
NE
,
TREE_UNSIGNED
(
TREE_TYPE
(
exp
)),
/* The RTL optimizers prefer comparisons against pseudos. */
GET_MODE
(
temp
),
NULL_RTX
,
if
(
GET_CODE
(
temp
)
==
SUBREG
)
if_false_label
,
if_true_label
);
temp
=
copy_to_reg
(
temp
);
do_compare_rtx_and_jump
(
temp
,
CONST0_RTX
(
GET_MODE
(
temp
)),
NE
,
TREE_UNSIGNED
(
TREE_TYPE
(
exp
)),
GET_MODE
(
temp
),
NULL_RTX
,
if_false_label
,
if_true_label
);
}
else
else
abort
();
abort
();
}
}
...
...
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