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
2d21f7d6
Commit
2d21f7d6
authored
Feb 24, 2003
by
Jan Hubicka
Committed by
Jan Hubicka
Feb 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (simplify_shift_const): Fix previous patch.
From-SVN: r63380
parent
8b6a662e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/combine.c
+2
-2
No files found.
gcc/ChangeLog
View file @
2d21f7d6
Mon
Feb
24
22
:
08
:
22
CET
2003
Jan
Hubicka
<
jh
@suse
.
cz
>
*
combine
.
c
(
simplify_shift_const
)
:
Fix
previous
patch
.
2003
-
02
-
24
Jeff
Law
<
law
@redhat
.
com
>
*
i386
.
md
(
testdi_1_rex64
)
:
Discourage
reload
from
using
the
%
eax
...
...
gcc/combine.c
View file @
2d21f7d6
...
...
@@ -9434,12 +9434,12 @@ simplify_shift_const (x, code, result_mode, varop, orig_count)
if
(
code
==
LSHIFTRT
&&
GET_MODE_BITSIZE
(
shift_mode
)
<=
HOST_BITS_PER_WIDE_INT
&&
!
(
nonzero_bits
(
varop
,
shift_mode
)
>>
count
))
return
const0_rtx
;
varop
=
const0_rtx
;
if
(
code
==
ASHIFT
&&
GET_MODE_BITSIZE
(
shift_mode
)
<=
HOST_BITS_PER_WIDE_INT
&&
!
((
nonzero_bits
(
varop
,
shift_mode
)
<<
count
)
&
GET_MODE_MASK
(
shift_mode
)))
return
const0_rtx
;
varop
=
const0_rtx
;
switch
(
GET_CODE
(
varop
))
{
...
...
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