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
88fe15a1
Commit
88fe15a1
authored
Mar 28, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r612
parent
7dcd3836
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
gcc/config/rs6000/rs6000.c
+9
-8
No files found.
gcc/config/rs6000/rs6000.c
View file @
88fe15a1
...
@@ -349,16 +349,17 @@ input_operand (op, mode)
...
@@ -349,16 +349,17 @@ input_operand (op, mode)
||
GET_MODE_SIZE
(
mode
)
>
UNITS_PER_WORD
)
||
GET_MODE_SIZE
(
mode
)
>
UNITS_PER_WORD
)
return
gen_reg_operand
(
op
,
mode
);
return
gen_reg_operand
(
op
,
mode
);
/* For SImode, we can also load from a special register, so any register
/* The only cases left are integral modes one word or smaller (we
is valid. */
do not get called for MODE_CC values). These can be in any
if
(
mode
==
SImode
&&
register_operand
(
op
,
mode
))
register. */
if
(
register_operand
(
op
,
mode
))
return
;
/* For HImode and QImode, any constant is valid. */
if
((
mode
==
HImode
||
mode
==
QImode
)
&&
GET_CODE
(
op
)
==
CONST_INT
)
return
1
;
return
1
;
/* For HImode and QImode, any constant is valid along with any
non-special register. */
if
(
mode
==
HImode
||
mode
==
QImode
)
return
register_operand
(
op
,
mode
)
||
GET_CODE
(
op
)
==
CONST_INT
;
/* Otherwise, we will be doing this SET with an add, so anything valid
/* Otherwise, we will be doing this SET with an add, so anything valid
for an add will be valid. */
for an add will be valid. */
return
add_operand
(
op
,
mode
);
return
add_operand
(
op
,
mode
);
...
...
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