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
a6c7a886
Commit
a6c7a886
authored
Jul 21, 1999
by
Michael Meissner
Committed by
Michael Meissner
Jul 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print the names of the hardcoded virtural registers
From-SVN: r28212
parent
d342a2e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletions
+22
-1
gcc/ChangeLog
+5
-0
gcc/print-rtl.c
+17
-1
No files found.
gcc/ChangeLog
View file @
a6c7a886
1999
-
07
-
21
Michael
Meissner
<
meissner
@cygnus
.
com
>
*
print
-
rtl
.
c
(
print_rtx
)
:
Print
the
names
of
the
virtual
registers
.
Wed
Jul
21
16
:
00
:
32
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
config
/
arm
/
arm
.
h
(
INITIAL_ELIMINATION_OFFSET
)
:
Fix
typo
...
...
gcc/print-rtl.c
View file @
a6c7a886
/* Print RTL for GNU C Compiler.
Copyright (C) 1987, 1988, 1992, 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1992, 1997, 1998
, 1999
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -245,6 +245,22 @@ print_rtx (in_rtx)
fputc
(
' '
,
outfile
);
DEBUG_PRINT_REG
(
in_rtx
,
0
,
outfile
);
}
else
if
(
GET_CODE
(
in_rtx
)
==
REG
&&
value
<=
LAST_VIRTUAL_REGISTER
)
{
if
(
value
==
VIRTUAL_INCOMING_ARGS_REGNUM
)
fprintf
(
outfile
,
" %d virtual-incoming-args"
,
value
);
else
if
(
value
==
VIRTUAL_STACK_VARS_REGNUM
)
fprintf
(
outfile
,
" %d virtual-stack-vars"
,
value
);
else
if
(
value
==
VIRTUAL_STACK_DYNAMIC_REGNUM
)
fprintf
(
outfile
,
" %d virtual-stack-dynamic"
,
value
);
else
if
(
value
==
VIRTUAL_OUTGOING_ARGS_REGNUM
)
fprintf
(
outfile
,
" %d virtual-outgoing-args"
,
value
);
else
if
(
value
==
VIRTUAL_CFA_REGNUM
)
fprintf
(
outfile
,
" %d virtual-cfa"
,
value
);
else
fprintf
(
outfile
,
" %d virtual-reg-%d"
,
value
,
value
-
FIRST_VIRTUAL_REGISTER
);
}
else
if
(
flag_dump_unnumbered
&&
(
is_insn
||
GET_CODE
(
in_rtx
)
==
NOTE
))
fputc
(
'#'
,
outfile
);
...
...
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