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
9cbcd983
Commit
9cbcd983
authored
Feb 02, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
Feb 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/h8300/h8300.c: Fix formatting.
From-SVN: r49449
parent
7a27efc4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
gcc/ChangeLog
+4
-0
gcc/config/h8300/h8300.c
+6
-5
No files found.
gcc/ChangeLog
View file @
9cbcd983
2002-02-02 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix formatting.
2002-02-02 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Fix formatting.
2002-02-02 Kazu Hirata <kazu@hxi.com>
...
...
gcc/config/h8300/h8300.c
View file @
9cbcd983
...
...
@@ -148,9 +148,10 @@ byte_reg (x, b)
rtx
x
;
int
b
;
{
static
const
char
*
const
names_small
[]
=
{
"r0l"
,
"r0h"
,
"r1l"
,
"r1h"
,
"r2l"
,
"r2h"
,
"r3l"
,
"r3h"
,
"r4l"
,
"r4h"
,
"r5l"
,
"r5h"
,
"r6l"
,
"r6h"
,
"r7l"
,
"r7h"
};
static
const
char
*
const
names_small
[]
=
{
"r0l"
,
"r0h"
,
"r1l"
,
"r1h"
,
"r2l"
,
"r2h"
,
"r3l"
,
"r3h"
,
"r4l"
,
"r4h"
,
"r5l"
,
"r5h"
,
"r6l"
,
"r6h"
,
"r7l"
,
"r7h"
};
return
names_small
[
REGNO
(
x
)
*
2
+
b
];
}
...
...
@@ -159,13 +160,13 @@ byte_reg (x, b)
#define WORD_REG_USED(regno) \
(regno < 7 \
/* No need to save registers if this function will not return. */
\
/* No need to save registers if this function will not return. */
\
&& ! TREE_THIS_VOLATILE (current_function_decl) \
&& (pragma_saveall \
/* Save any call saved register that was used. */
\
|| (regs_ever_live[regno] && !call_used_regs[regno]) \
/* Save the frame pointer if it was used. */
\
|| (regno == FRAME_POINTER_REGNUM && regs_ever_live[regno])\
|| (regno == FRAME_POINTER_REGNUM && regs_ever_live[regno])
\
/* Save any register used in an interrupt handler. */
\
|| (interrupt_handler && regs_ever_live[regno]) \
/* Save call clobbered registers in non-leaf interrupt \
...
...
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