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
679655e6
Commit
679655e6
authored
Jun 18, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add second argument to SELECT_CC_MODE.
From-SVN: r1214
parent
b565a316
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
gcc/config/i960/i960.c
+1
-1
gcc/config/i960/i960.h
+1
-1
gcc/config/sparc/sparc.c
+1
-1
gcc/config/sparc/sparc.h
+1
-1
No files found.
gcc/config/i960/i960.c
View file @
679655e6
...
...
@@ -433,7 +433,7 @@ gen_compare_reg (code, x, y)
rtx
x
,
y
;
{
rtx
cc_reg
;
enum
machine_mode
ccmode
=
SELECT_CC_MODE
(
code
,
x
);
enum
machine_mode
ccmode
=
SELECT_CC_MODE
(
code
,
x
,
y
);
enum
machine_mode
mode
=
GET_MODE
(
x
)
==
VOIDmode
?
GET_MODE
(
y
)
:
GET_MODE
(
x
);
...
...
gcc/config/i960/i960.h
View file @
679655e6
...
...
@@ -1105,7 +1105,7 @@ extern struct rtx_def *gen_compare_reg ();
should be used. CC_NOOVmode should be used when the first operand is a
PLUS, MINUS, or NEG. CCmode should be used when no special processing is
needed. */
#define SELECT_CC_MODE(OP,X
) select_cc_mode (OP, X
)
#define SELECT_CC_MODE(OP,X
,Y) select_cc_mode (OP, X,Y
)
/* A function address in a call instruction is a byte address
(for indexing purposes) so give the MEM rtx a byte's mode. */
...
...
gcc/config/sparc/sparc.c
View file @
679655e6
...
...
@@ -456,7 +456,7 @@ gen_compare_reg (code, x, y)
enum
rtx_code
code
;
rtx
x
,
y
;
{
enum
machine_mode
mode
=
SELECT_CC_MODE
(
code
,
x
);
enum
machine_mode
mode
=
SELECT_CC_MODE
(
code
,
x
,
y
);
rtx
cc_reg
=
gen_rtx
(
REG
,
mode
,
0
);
emit_insn
(
gen_rtx
(
SET
,
VOIDmode
,
cc_reg
,
...
...
gcc/config/sparc/sparc.h
View file @
679655e6
...
...
@@ -1292,7 +1292,7 @@ extern struct rtx_def *legitimize_pic_address ();
CCFP[E]mode is used. CC_NOOVmode should be used when the first operand is a
PLUS, MINUS, or NEG. CCmode should be used when no special processing is
needed. */
#define SELECT_CC_MODE(OP,X) \
#define SELECT_CC_MODE(OP,X
,Y
) \
(GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT \
? ((OP == EQ || OP == NE) ? CCFPmode : CCFPEmode) \
: ((GET_CODE (X) == PLUS || GET_CODE (X) == MINUS || GET_CODE (X) == NEG) \
...
...
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