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
cd2b37d9
Commit
cd2b37d9
authored
Apr 22, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r819
parent
878e0c14
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
gcc/config/rs6000/rs6000.c
+8
-8
gcc/config/rs6000/rs6000.h
+1
-1
gcc/config/rs6000/rs6000.md
+0
-0
No files found.
gcc/config/rs6000/rs6000.c
View file @
cd2b37d9
...
...
@@ -113,7 +113,7 @@ non_short_cint_operand (op, mode)
ctr, or lr). */
int
g
en
_reg_operand
(
op
,
mode
)
g
pc
_reg_operand
(
op
,
mode
)
register
rtx
op
;
enum
machine_mode
mode
;
{
...
...
@@ -147,7 +147,7 @@ reg_or_short_operand (op, mode)
if
(
GET_CODE
(
op
)
==
CONST_INT
)
return
short_cint_operand
(
op
,
mode
);
return
g
en
_reg_operand
(
op
,
mode
);
return
g
pc
_reg_operand
(
op
,
mode
);
}
/* Similar, except check if the negation of the constant would be valid for
...
...
@@ -161,7 +161,7 @@ reg_or_neg_short_operand (op, mode)
if
(
GET_CODE
(
op
)
==
CONST_INT
)
return
CONST_OK_FOR_LETTER_P
(
INTVAL
(
op
),
'P'
);
return
g
en
_reg_operand
(
op
,
mode
);
return
g
pc
_reg_operand
(
op
,
mode
);
}
/* Return 1 if the operand is either a register or an integer whose high-order
...
...
@@ -176,7 +176,7 @@ reg_or_u_short_operand (op, mode)
&&
(
INTVAL
(
op
)
&
0xffff0000
)
==
0
)
return
1
;
return
g
en
_reg_operand
(
op
,
mode
);
return
g
pc
_reg_operand
(
op
,
mode
);
}
/* Return 1 is the operand is either a non-special register or ANY
...
...
@@ -187,7 +187,7 @@ reg_or_cint_operand (op, mode)
register
rtx
op
;
enum
machine_mode
mode
;
{
return
GET_CODE
(
op
)
==
CONST_INT
||
g
en
_reg_operand
(
op
,
mode
);
return
GET_CODE
(
op
)
==
CONST_INT
||
g
pc
_reg_operand
(
op
,
mode
);
}
/* Return 1 if the operand is a CONST_DOUBLE and it can be put into a
...
...
@@ -279,7 +279,7 @@ logical_operand (op, mode)
register
rtx
op
;
enum
machine_mode
mode
;
{
return
(
g
en
_reg_operand
(
op
,
mode
)
return
(
g
pc
_reg_operand
(
op
,
mode
)
||
(
GET_CODE
(
op
)
==
CONST_INT
&&
((
INTVAL
(
op
)
&
0xffff0000
)
==
0
||
(
INTVAL
(
op
)
&
0xffff
)
==
0
)));
...
...
@@ -364,7 +364,7 @@ reg_or_mem_operand (op, mode)
register
rtx
op
;
register
enum
machine_mode
mode
;
{
return
g
en
_reg_operand
(
op
,
mode
)
||
memory_operand
(
op
,
mode
);
return
g
pc
_reg_operand
(
op
,
mode
)
||
memory_operand
(
op
,
mode
);
}
/* Return 1 if the operand, used inside a MEM, is a valid first argument
...
...
@@ -397,7 +397,7 @@ input_operand (op, mode)
is valid. */
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
||
GET_MODE_SIZE
(
mode
)
>
UNITS_PER_WORD
)
return
g
en
_reg_operand
(
op
,
mode
);
return
g
pc
_reg_operand
(
op
,
mode
);
/* The only cases left are integral modes one word or smaller (we
do not get called for MODE_CC values). These can be in any
...
...
gcc/config/rs6000/rs6000.h
View file @
cd2b37d9
...
...
@@ -1806,7 +1806,7 @@ toc_section () \
{"short_cint_operand", {CONST_INT}}, \
{"u_short_cint_operand", {CONST_INT}}, \
{"non_short_cint_operand", {CONST_INT}}, \
{"g
en
_reg_operand", {SUBREG, REG}}, \
{"g
pc
_reg_operand", {SUBREG, REG}}, \
{"cc_reg_operand", {SUBREG, REG}}, \
{"reg_or_short_operand", {SUBREG, REG, CONST_INT}}, \
{"reg_or_neg_short_operand", {SUBREG, REG, CONST_INT}}, \
...
...
gcc/config/rs6000/rs6000.md
View file @
cd2b37d9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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