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
0c15dfc1
Commit
0c15dfc1
authored
Oct 26, 2016
by
Jeff Law
Committed by
Jeff Law
Oct 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/mcore/mcore.c (mcore_gen_compare): Adjust fallthru comments.
From-SVN: r241569
parent
1cd20a8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
gcc/ChangeLog
+2
-0
gcc/config/mcore/mcore.c
+5
-5
No files found.
gcc/ChangeLog
View file @
0c15dfc1
2016-10-26 Jeff Law <law@redhat.com>
* config/mcore/mcore.c (mcore_gen_compare): Adjust fallthru comments.
* config/microblaze/microblaze.c (microblaze_function_arg): Adjust
fallthru comment.
...
...
gcc/config/mcore/mcore.c
View file @
0c15dfc1
...
...
@@ -611,7 +611,7 @@ mcore_gen_compare (enum rtx_code code, rtx op0, rtx op1)
case
EQ
:
/* Use inverted condition, cmpne. */
code
=
NE
;
invert
=
true
;
/*
Drop through.
*/
/*
FALLTHRU
*/
case
NE
:
/* Use normal condition, cmpne. */
if
(
GET_CODE
(
op1
)
==
CONST_INT
&&
!
CONST_OK_FOR_K
(
INTVAL
(
op1
)))
...
...
@@ -621,7 +621,7 @@ mcore_gen_compare (enum rtx_code code, rtx op0, rtx op1)
case
LE
:
/* Use inverted condition, reversed cmplt. */
code
=
GT
;
invert
=
true
;
/*
Drop through.
*/
/*
FALLTHRU
*/
case
GT
:
/* Use normal condition, reversed cmplt. */
if
(
GET_CODE
(
op1
)
==
CONST_INT
)
...
...
@@ -631,7 +631,7 @@ mcore_gen_compare (enum rtx_code code, rtx op0, rtx op1)
case
GE
:
/* Use inverted condition, cmplt. */
code
=
LT
;
invert
=
true
;
/*
Drop through.
*/
/*
FALLTHRU
*/
case
LT
:
/* Use normal condition, cmplt. */
if
(
GET_CODE
(
op1
)
==
CONST_INT
&&
...
...
@@ -646,7 +646,7 @@ mcore_gen_compare (enum rtx_code code, rtx op0, rtx op1)
gcc_assert
(
GET_CODE
(
op1
)
!=
CONST_INT
||
INTVAL
(
op1
)
!=
0
);
code
=
LEU
;
invert
=
true
;
/*
Drop through.
*/
/*
FALLTHRU
*/
case
LEU
:
/* Use normal condition, reversed cmphs. */
if
(
GET_CODE
(
op1
)
==
CONST_INT
&&
INTVAL
(
op1
)
!=
0
)
...
...
@@ -656,7 +656,7 @@ mcore_gen_compare (enum rtx_code code, rtx op0, rtx op1)
case
LTU
:
/* Use inverted condition, cmphs. */
code
=
GEU
;
invert
=
true
;
/*
Drop through.
*/
/*
FALLTHRU
*/
case
GEU
:
/* Use normal condition, cmphs. */
if
(
GET_CODE
(
op1
)
==
CONST_INT
&&
INTVAL
(
op1
)
!=
0
)
...
...
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