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
cad12a8d
Commit
cad12a8d
authored
Jan 19, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_operand, case 'k'): New case.
From-SVN: r3286
parent
00751805
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
gcc/config/rs6000/rs6000.c
+11
-2
No files found.
gcc/config/rs6000/rs6000.c
View file @
cad12a8d
...
...
@@ -709,6 +709,15 @@ print_operand (file, x, code)
switch
(
code
)
{
case
'k'
:
/* X must be a constant. Write the 1's complement of the
constant. */
if
(
!
INT_P
(
x
))
output_operand_lossage
(
"invalid %%k value"
);
fprintf
(
file
,
"%d"
,
~
INT_LOWPART
(
x
));
return
;
case
'h'
:
/* If constant, output low-order five bits. Otherwise,
write normally. */
...
...
@@ -898,7 +907,7 @@ print_operand (file, x, code)
return
;
case
'U'
:
/* Print `u' i
s
this has an auto-increment or auto-decrement. */
/* Print `u' i
f
this has an auto-increment or auto-decrement. */
if
(
GET_CODE
(
x
)
==
MEM
&&
(
GET_CODE
(
XEXP
(
x
,
0
))
==
PRE_INC
||
GET_CODE
(
XEXP
(
x
,
0
))
==
PRE_DEC
))
...
...
@@ -906,7 +915,7 @@ print_operand (file, x, code)
return
;
case
'I'
:
/* Print `i' i
s
this is a constant, else nothing. */
/* Print `i' i
f
this is a constant, else nothing. */
if
(
INT_P
(
x
))
fprintf
(
file
,
"i"
);
return
;
...
...
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