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
c2264220
Commit
c2264220
authored
Jan 15, 1993
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pa.c (shadd_constant_p): New function.
From-SVN: r3257
parent
85bc031e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
gcc/config/pa/pa.c
+13
-0
No files found.
gcc/config/pa/pa.c
View file @
c2264220
...
...
@@ -2690,3 +2690,16 @@ plus_xor_ior_operator (op, mode)
return
(
GET_CODE
(
op
)
==
PLUS
||
GET_CODE
(
op
)
==
XOR
||
GET_CODE
(
op
)
==
IOR
);
}
/* Return 1 if the given constant is 2, 4, or 8. These are the valid
constants for shadd instructions. */
int
shadd_constant_p
(
val
)
int
val
;
{
if
(
val
==
2
||
val
==
4
||
val
==
8
)
return
1
;
else
return
0
;
}
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