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
9c103251
Commit
9c103251
authored
Jan 03, 1993
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pa.c (incscc_operator): New function.
From-SVN: r3080
parent
ff6cb22f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
gcc/config/pa/pa.c
+14
-0
No files found.
gcc/config/pa/pa.c
View file @
9c103251
...
...
@@ -2644,6 +2644,20 @@ fmpysuboperands(operands)
return
1
;
}
/* Return 1 iff OP is a valid operator to use in an incscc
instruction. Adding or subtracting the condition code
to/from another operand is valid on the PA, so return 1
for PLUS or MINUS. */
int
incscc_operator
(
op
,
mode
)
rtx
op
;
enum
machine_mode
mode
;
{
return
(
GET_CODE
(
op
)
==
PLUS
||
GET_CODE
(
op
)
==
MINUS
);
}
/* Return 1 if OP is suitable for the second add operand (the unshifed
operand) in an shadd instruction. Allow CONST_INT to work around
a reload bug. */
...
...
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