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
6a73406e
Commit
6a73406e
authored
Feb 02, 1999
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed rtl.h on commit and from ChangeLog.
Add copyright to resource.c. From-SVN: r24999
parent
1841f23b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
gcc/ChangeLog
+3
-2
gcc/resource.c
+28
-1
gcc/rtl.h
+4
-0
No files found.
gcc/ChangeLog
View file @
6a73406e
Tue
Feb
2
23
:
38
:
35
1999
David
O
'
Brien
<
obrien
@FreeBSD
.
org
>
*
i386
/
freebsd
*
.
h
now
allows
'$'
in
label
names
and
does
not
use
the
PCC
struct
return
method
.
*
i386
/
freebsd
*
.
h
now
allows
'$'
in
label
names
and
does
not
use
the
PCC
struct
return
method
.
Tue
Feb
2
22
:
38
:
23
1999
Jim
Wilson
<
wilson
@cygnus
.
com
>
...
...
@@ -29,6 +29,7 @@ Fri Jan 29 21:00:56 1999 Bob Manson <manson@charmed.cygnus.com>
*
haifa
-
sched
.
c
(
regno_use_in
)
:
Moved
to
rtlanal
.
c
.
(
split_block_insns
)
:
Moved
to
recog
.
c
.
(
update_flow_info
)
:
Make
public
.
*
rtl
.
h
:
Declare
them
.
*
reorg
.
c
:
Moved
the
functions
dealing
with
computing
resource
usage
to
resource
.
c
.
...
...
gcc/resource.c
View file @
6a73406e
/* Definitions for computing resource usage of specific insns.
Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "config.h"
#include "rtl.h"
#include "hard-reg-set.h"
...
...
@@ -49,7 +69,14 @@ static HARD_REG_SET current_live_regs;
Also only used by the next two functions. */
static
HARD_REG_SET
pending_dead_regs
;
static
void
update_live_status
PROTO
((
rtx
,
rtx
));
static
int
find_basic_block
PROTO
((
rtx
));
static
rtx
next_insn_no_annul
PROTO
((
rtx
));
static
rtx
find_dead_or_set_registers
PROTO
((
rtx
,
struct
resources
*
,
rtx
*
,
int
,
struct
resources
,
struct
resources
));
/* Utility function called from mark_target_live_regs via note_stores.
It deadens any CLOBBERed registers and livens any SET registers. */
...
...
gcc/rtl.h
View file @
6a73406e
...
...
@@ -1037,6 +1037,7 @@ extern int computed_jump_p PROTO((rtx));
typedef
int
(
*
rtx_function
)
PROTO
((
rtx
*
,
void
*
));
extern
int
for_each_rtx
PROTO
((
rtx
*
,
rtx_function
,
void
*
));
extern
int
insn_first_p
PROTO
((
rtx
,
rtx
));
extern
rtx
regno_use_in
PROTO
((
int
,
rtx
));
/* flow.c */
...
...
@@ -1064,6 +1065,9 @@ extern enum reg_class reg_alternate_class PROTO((int));
extern
rtx
get_first_nonparm_insn
PROTO
((
void
));
extern
void
split_block_insns
PROTO
((
int
,
int
));
extern
void
update_flow_info
PROTO
((
rtx
,
rtx
,
rtx
,
rtx
));
/* Standard pieces of rtx, to be substituted directly into things. */
#define pc_rtx (&global_rtl.pc_val)
#define cc0_rtx (&global_rtl.cc0_val)
...
...
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