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
79ba6d34
Commit
79ba6d34
authored
Apr 05, 2000
by
Michael Meissner
Committed by
Michael Meissner
Apr 05, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make memory reference + update work with -mregnames
From-SVN: r32922
parent
c0ee5d52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/ChangeLog
+6
-0
gcc/config/rs6000/rs6000.c
+4
-4
No files found.
gcc/ChangeLog
View file @
79ba6d34
2000
-
04
-
05
Michael
Meissner
<
meissner
@redhat
.
com
>
*
config
/
rs6000
/
rs6000
.
c
(
print_operand
)
:
Patch
from
Jonathan
Walton
<
jonboy
@gordian
.
com
>
to
make
memory
references
with
update
work
wtih
-
mregnames
.
2000
-
04
-
04
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
*
regrename
.
c
(
regno_first_use_in
)
:
Wrap
prototype
in
PARAMS
.
...
...
gcc/config/rs6000/rs6000.c
View file @
79ba6d34
...
...
@@ -3928,11 +3928,11 @@ print_operand (file, x, code)
/* We need to handle PRE_INC and PRE_DEC here, since we need to
know the width from the mode. */
if
(
GET_CODE
(
XEXP
(
x
,
0
))
==
PRE_INC
)
fprintf
(
file
,
"%d(%
d
)"
,
GET_MODE_SIZE
(
GET_MODE
(
x
)),
REGNO
(
XEXP
(
XEXP
(
x
,
0
),
0
))
);
fprintf
(
file
,
"%d(%
s
)"
,
GET_MODE_SIZE
(
GET_MODE
(
x
)),
reg_names
[
REGNO
(
XEXP
(
XEXP
(
x
,
0
),
0
))]
);
else
if
(
GET_CODE
(
XEXP
(
x
,
0
))
==
PRE_DEC
)
fprintf
(
file
,
"%d(%
d
)"
,
-
GET_MODE_SIZE
(
GET_MODE
(
x
)),
REGNO
(
XEXP
(
XEXP
(
x
,
0
),
0
))
);
fprintf
(
file
,
"%d(%
s
)"
,
-
GET_MODE_SIZE
(
GET_MODE
(
x
)),
reg_names
[
REGNO
(
XEXP
(
XEXP
(
x
,
0
),
0
))]
);
else
output_address
(
XEXP
(
x
,
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