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
08af8e09
Commit
08af8e09
authored
Jun 24, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1279
parent
5959a6cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
gcc/expr.c
+10
-4
No files found.
gcc/expr.c
View file @
08af8e09
...
...
@@ -5927,11 +5927,14 @@ do_jump (exp, if_false_label, if_true_label)
combine can't do this for us because it can't know whether a
ZERO_EXTRACT or a compare in a smaller mode exists, but we do. */
if
(
TREE_CODE
(
TREE_OPERAND
(
exp
,
1
))
==
INTEGER_CST
if
(
!
SLOW_BYTE_ACCESS
&&
TREE_CODE
(
TREE_OPERAND
(
exp
,
1
))
==
INTEGER_CST
&&
TYPE_PRECISION
(
TREE_TYPE
(
exp
))
<=
HOST_BITS_PER_INT
&&
(
i
=
floor_log2
(
TREE_INT_CST_LOW
(
TREE_OPERAND
(
exp
,
1
))))
>=
0
&&
(
type
=
type_for_size
(
i
+
1
,
1
))
!=
0
&&
TYPE_PRECISION
(
type
)
<
TYPE_PRECISION
(
TREE_TYPE
(
exp
)))
&&
TYPE_PRECISION
(
type
)
<
TYPE_PRECISION
(
TREE_TYPE
(
exp
))
&&
(
cmp_optab
->
handlers
[(
int
)
TYPE_MODE
(
type
)].
insn_code
!=
CODE_FOR_nothing
))
{
do_jump
(
convert
(
type
,
exp
),
if_false_label
,
if_true_label
);
break
;
...
...
@@ -5980,8 +5983,11 @@ do_jump (exp, if_false_label, if_true_label)
&
mode
,
&
unsignedp
,
&
volatilep
);
type
=
type_for_size
(
bitsize
,
unsignedp
);
if
(
type
!=
0
&&
bitsize
>=
0
&&
TYPE_PRECISION
(
type
)
<
TYPE_PRECISION
(
TREE_TYPE
(
exp
)))
if
(
!
SLOW_BYTE_ACCESS
&&
type
!=
0
&&
bitsize
>=
0
&&
TYPE_PRECISION
(
type
)
<
TYPE_PRECISION
(
TREE_TYPE
(
exp
))
&&
(
cmp_optab
->
handlers
[(
int
)
TYPE_MODE
(
type
)].
insn_code
!=
CODE_FOR_nothing
))
{
do_jump
(
convert
(
type
,
exp
),
if_false_label
,
if_true_label
);
break
;
...
...
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