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
95a866ba
Commit
95a866ba
authored
Sep 14, 2017
by
Jakub Jelinek
Committed by
Jakub Jelinek
Sep 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (make_compound_operation_int): Formatting fixes.
From-SVN: r252751
parent
8c6562e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
gcc/ChangeLog
+2
-0
gcc/combine.c
+8
-5
No files found.
gcc/ChangeLog
View file @
95a866ba
2017
-
09
-
14
Jakub
Jelinek
<
jakub
@
redhat
.
com
>
2017
-
09
-
14
Jakub
Jelinek
<
jakub
@
redhat
.
com
>
*
combine
.
c
(
make_compound_operation_int
):
Formatting
fixes
.
*
config
/
alpha
/
elf
.
h
(
LINK_EH_SPEC
):
Add
-
static
-
pie
support
.
*
config
/
alpha
/
elf
.
h
(
LINK_EH_SPEC
):
Add
-
static
-
pie
support
.
*
config
/
alpha
/
linux
.
h
(
LINK_GCC_C_SEQUENCE_SPEC
):
Likewise
.
*
config
/
alpha
/
linux
.
h
(
LINK_GCC_C_SEQUENCE_SPEC
):
Likewise
.
*
config
/
netbsd
.
h
(
LINK_EH_SPEC
):
Likewise
.
*
config
/
netbsd
.
h
(
LINK_EH_SPEC
):
Likewise
.
...
...
gcc/combine.c
View file @
95a866ba
...
@@ -7976,8 +7976,8 @@ make_compound_operation_int (scalar_int_mode mode, rtx *x_ptr,
...
@@ -7976,8 +7976,8 @@ make_compound_operation_int (scalar_int_mode mode, rtx *x_ptr,
&&
(
i
=
exact_log2
(
UINTVAL
(
XEXP
(
x
,
1
))
+
1
))
>=
0
)
&&
(
i
=
exact_log2
(
UINTVAL
(
XEXP
(
x
,
1
))
+
1
))
>=
0
)
{
{
new_rtx
=
make_compound_operation
(
XEXP
(
XEXP
(
x
,
0
),
0
),
next_code
);
new_rtx
=
make_compound_operation
(
XEXP
(
XEXP
(
x
,
0
),
0
),
next_code
);
new_rtx
=
make_extraction
(
mode
,
new_rtx
,
0
,
XEXP
(
XEXP
(
x
,
0
),
1
),
i
,
1
,
new_rtx
=
make_extraction
(
mode
,
new_rtx
,
0
,
XEXP
(
XEXP
(
x
,
0
),
1
),
0
,
in_code
==
COMPARE
);
i
,
1
,
0
,
in_code
==
COMPARE
);
}
}
/* Same as previous, but for (subreg (lshiftrt ...)) in first op. */
/* Same as previous, but for (subreg (lshiftrt ...)) in first op. */
...
@@ -8055,8 +8055,10 @@ make_compound_operation_int (scalar_int_mode mode, rtx *x_ptr,
...
@@ -8055,8 +8055,10 @@ make_compound_operation_int (scalar_int_mode mode, rtx *x_ptr,
if
((
INTVAL
(
XEXP
(
x
,
1
))
&
~
mask
)
==
0
)
if
((
INTVAL
(
XEXP
(
x
,
1
))
&
~
mask
)
==
0
)
SUBST
(
XEXP
(
x
,
0
),
SUBST
(
XEXP
(
x
,
0
),
gen_rtx_ASHIFTRT
(
mode
,
gen_rtx_ASHIFTRT
(
mode
,
make_compound_operation
make_compound_operation
(
XEXP
(
XEXP
(
x
,
(
XEXP
(
XEXP
(
x
,
0
),
0
),
next_code
),
0
),
0
),
next_code
),
XEXP
(
XEXP
(
x
,
0
),
1
)));
XEXP
(
XEXP
(
x
,
0
),
1
)));
}
}
...
@@ -8161,7 +8163,8 @@ make_compound_operation_int (scalar_int_mode mode, rtx *x_ptr,
...
@@ -8161,7 +8163,8 @@ make_compound_operation_int (scalar_int_mode mode, rtx *x_ptr,
&&
INTVAL
(
rhs
)
<
HOST_BITS_PER_WIDE_INT
&&
INTVAL
(
rhs
)
<
HOST_BITS_PER_WIDE_INT
&&
INTVAL
(
rhs
)
<
mode_width
&&
INTVAL
(
rhs
)
<
mode_width
&&
(
new_rtx
=
extract_left_shift
(
mode
,
lhs
,
INTVAL
(
rhs
)))
!=
0
)
&&
(
new_rtx
=
extract_left_shift
(
mode
,
lhs
,
INTVAL
(
rhs
)))
!=
0
)
new_rtx
=
make_extraction
(
mode
,
make_compound_operation
(
new_rtx
,
next_code
),
new_rtx
=
make_extraction
(
mode
,
make_compound_operation
(
new_rtx
,
next_code
),
0
,
NULL_RTX
,
mode_width
-
INTVAL
(
rhs
),
0
,
NULL_RTX
,
mode_width
-
INTVAL
(
rhs
),
code
==
LSHIFTRT
,
0
,
in_code
==
COMPARE
);
code
==
LSHIFTRT
,
0
,
in_code
==
COMPARE
);
...
...
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