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
878e0c14
Commit
878e0c14
authored
Apr 22, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entered into RCS
From-SVN: r818
parent
2851546a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
gcc/config/a29k/a29k.c
+9
-9
gcc/config/a29k/a29k.md
+0
-0
No files found.
gcc/config/a29k/a29k.c
View file @
878e0c14
...
...
@@ -183,24 +183,24 @@ float_const_operand (op, mode)
general-purpose register. */
int
g
en
_reg_or_float_constant_operand
(
op
,
mode
)
g
pc
_reg_or_float_constant_operand
(
op
,
mode
)
rtx
op
;
enum
machine_mode
mode
;
{
return
float_const_operand
(
op
,
mode
)
||
g
en
_reg_operand
(
op
,
mode
);
return
float_const_operand
(
op
,
mode
)
||
g
pc
_reg_operand
(
op
,
mode
);
}
/* Returns 1 if OP is an integer constant of the proper mode or a
general-purpose register. */
int
g
en
_reg_or_integer_constant_operand
(
op
,
mode
)
g
pc
_reg_or_integer_constant_operand
(
op
,
mode
)
rtx
op
;
enum
machine_mode
mode
;
{
return
((
GET_MODE
(
op
)
==
VOIDmode
&&
(
GET_CODE
(
op
)
==
CONST_INT
||
GET_CODE
(
op
)
==
CONST_DOUBLE
))
||
g
en
_reg_operand
(
op
,
mode
));
||
g
pc
_reg_operand
(
op
,
mode
));
}
/* Returns 1 if OP is a special machine register. */
...
...
@@ -228,7 +228,7 @@ accum_reg_operand (op, mode)
/* Returns 1 if OP is a normal data register. */
int
g
en
_reg_operand
(
op
,
mode
)
g
pc
_reg_operand
(
op
,
mode
)
rtx
op
;
enum
machine_mode
mode
;
{
...
...
@@ -267,18 +267,18 @@ srcb_operand (op, mode)
if
(
GET_MODE
(
op
)
!=
mode
&&
mode
!=
VOIDmode
)
return
0
;
return
g
en
_reg_operand
(
op
,
mode
);
return
g
pc
_reg_operand
(
op
,
mode
);
}
/* Return 1 if OP is either an immediate or a general register. This is used
for the input operand of mtsr/mtrsim. */
int
g
en
_reg_or_immediate_operand
(
op
,
mode
)
g
pc
_reg_or_immediate_operand
(
op
,
mode
)
rtx
op
;
enum
machine_mode
;
{
return
g
en
_reg_operand
(
op
,
mode
)
||
immediate_operand
(
op
,
mode
);
return
g
pc
_reg_operand
(
op
,
mode
)
||
immediate_operand
(
op
,
mode
);
}
/* Return 1 if OP can be used as the second operand of and AND insn. This
...
...
@@ -370,7 +370,7 @@ out_operand (op, mode)
op
=
SUBREG_REG
(
op
);
if
(
GET_CODE
(
op
)
==
REG
)
return
(
mode
==
SImode
||
g
en
_reg_operand
(
orig_op
,
mode
)
return
(
mode
==
SImode
||
g
pc
_reg_operand
(
orig_op
,
mode
)
||
(
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
&&
accum_reg_operand
(
orig_op
,
mode
)));
...
...
gcc/config/a29k/a29k.md
View file @
878e0c14
This diff is collapsed.
Click to expand it.
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