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
41387ffd
Commit
41387ffd
authored
Feb 23, 2000
by
Michael Hayes
Committed by
Michael Hayes
Feb 23, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
From-SVN: r32125
parent
c45c5e09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
20 deletions
+21
-20
gcc/ChangeLog
+4
-0
gcc/config/c4x/c4x.c
+17
-20
No files found.
gcc/ChangeLog
View file @
41387ffd
2000
-
02
-
24
Michael
Hayes
<
m
.
hayes
@elec
.
canterbury
.
ac
.
nz
>
*
config
/
c4x
/
c4x
.
c
(
c4x_process_after_reload
)
:
Split
all
insns
.
2000
-
02
-
23
Alexandre
Oliva
<
oliva
@lsd
.
ic
.
unicamp
.
br
>
*
cpplib
.
h
(
enum
cpp_token
)
:
Added
CPP_WCHAR
and
CPP_WSTRING
.
...
...
gcc/config/c4x/c4x.c
View file @
41387ffd
...
...
@@ -2250,6 +2250,7 @@ c4x_process_after_reload (first)
if
(
GET_RTX_CLASS
(
GET_CODE
(
insn
))
==
'i'
)
{
int
insn_code_number
;
rtx
old
;
insn_code_number
=
recog_memoized
(
insn
);
...
...
@@ -2261,26 +2262,22 @@ c4x_process_after_reload (first)
if
(
insn_code_number
==
CODE_FOR_rptb_end
)
c4x_rptb_insert
(
insn
);
/* When the optimization level less than 2 we need to split
the insn here. Otherwise the calls to force_const_mem
will not work. */
if
(
optimize
<
2
)
{
rtx
old
=
insn
;
/* We need to split the insn here. Otherwise the calls to
force_const_mem will not work for load_immed_address. */
old
=
insn
;
/* Don't split the insn if it has been deleted. */
if
(
!
INSN_DELETED_P
(
old
))
insn
=
try_split
(
PATTERN
(
old
),
old
,
1
);
/* Don't split the insn if it has been deleted. */
if
(
!
INSN_DELETED_P
(
old
))
insn
=
try_split
(
PATTERN
(
old
),
old
,
1
);
/* When not optimizing, the old insn will be still left around
with only the 'deleted' bit set. Transform it into a note
to avoid confusion of subsequent processing. */
if
(
INSN_DELETED_P
(
old
))
{
PUT_CODE
(
old
,
NOTE
);
NOTE_LINE_NUMBER
(
old
)
=
NOTE_INSN_DELETED
;
NOTE_SOURCE_FILE
(
old
)
=
0
;
}
/* When not optimizing, the old insn will be still left around
with only the 'deleted' bit set. Transform it into a note
to avoid confusion of subsequent processing. */
if
(
INSN_DELETED_P
(
old
))
{
PUT_CODE
(
old
,
NOTE
);
NOTE_LINE_NUMBER
(
old
)
=
NOTE_INSN_DELETED
;
NOTE_SOURCE_FILE
(
old
)
=
0
;
}
}
}
...
...
@@ -4413,7 +4410,7 @@ static struct name_list *extern_head;
void
c4x_global_label
(
name
)
char
*
name
;
c
onst
c
har
*
name
;
{
struct
name_list
*
p
,
*
last
;
...
...
@@ -4454,7 +4451,7 @@ c4x_global_label (name)
void
c4x_external_ref
(
name
)
char
*
name
;
c
onst
c
har
*
name
;
{
struct
name_list
*
p
;
...
...
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