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
914c2e77
Commit
914c2e77
authored
Feb 25, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(low_32_bit_operand): New function.
From-SVN: r9078
parent
c38e6998
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
gcc/config/rs6000/rs6000.c
+17
-0
No files found.
gcc/config/rs6000/rs6000.c
View file @
914c2e77
...
@@ -322,6 +322,23 @@ easy_fp_constant (op, mode)
...
@@ -322,6 +322,23 @@ easy_fp_constant (op, mode)
||
(
low
!=
0
&&
input_operand
(
low
,
word_mode
)));
||
(
low
!=
0
&&
input_operand
(
low
,
word_mode
)));
}
}
/* Return 1 if the operand is a constant whose low-order 32 bits are
zero. */
int
low_32_bit_operand
(
op
,
mode
)
register
rtx
op
;
enum
machine_mode
mode
;
{
rtx
low
;
if
(
GET_CODE
(
op
)
!=
CONST_DOUBLE
&&
GET_CODE
(
op
)
!=
CONST_INT
)
return
0
;
low
=
operand_subword
(
op
,
1
,
0
,
mode
);
return
low
!=
0
&&
GET_CODE
(
low
)
==
CONST_INT
&&
INTVAL
(
low
)
==
0
;
}
/* Return 1 if the operand is either a floating-point register, a pseudo
/* Return 1 if the operand is either a floating-point register, a pseudo
register, or memory. */
register, or memory. */
...
...
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