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
ea8bce02
Commit
ea8bce02
authored
Sep 14, 2008
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-call-cdce.c (check_target_format): Accept Motorola formats.
From-SVN: r140363
parent
6a78eaa3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
25 deletions
+32
-25
gcc/ChangeLog
+27
-23
gcc/tree-call-cdce.c
+5
-2
No files found.
gcc/ChangeLog
View file @
ea8bce02
2008
-
09
-
14
Andreas
Schwab
<
schwab
@suse
.
de
>
*
tree
-
call
-
cdce
.
c
(
check_target_format
)
:
Accept
Motorola
formats
.
2008
-
09
-
14
Jan
Hubicka
<
jh
@suse
.
cz
>
2008
-
09
-
14
Jan
Hubicka
<
jh
@suse
.
cz
>
*
invoke
.
texi
(
-
fconserve
-
stack
)
:
Document
.
*
invoke
.
texi
(
-
fconserve
-
stack
)
:
Document
.
...
@@ -133,7 +137,7 @@
...
@@ -133,7 +137,7 @@
2008
-
09
-
12
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
2008
-
09
-
12
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
PR
rtl
-
opt
/
37377
PR
rtl
-
opt
/
37377
*
ira
-
build
.
c
(
common_loop_tree_node_dominator
)
:
Remove
.
*
ira
-
build
.
c
(
common_loop_tree_node_dominator
)
:
Remove
.
(
copy_live_ranges_to_removed_store_destinations
)
:
New
function
.
(
copy_live_ranges_to_removed_store_destinations
)
:
New
function
.
(
regno_top_level_allocno_map
)
:
Move
to
top
level
from
...
(
regno_top_level_allocno_map
)
:
Move
to
top
level
from
...
...
@@ -141,7 +145,7 @@
...
@@ -141,7 +145,7 @@
copy_live_ranges_to_removed_store_destinations
.
copy_live_ranges_to_removed_store_destinations
.
*
ira
-
emit
.
c
(
generate_edge_moves
)
:
Fix
a
comment
.
*
ira
-
emit
.
c
(
generate_edge_moves
)
:
Fix
a
comment
.
2008
-
09
-
12
Anatoly
Sokolov
<
aesok
@post
.
ru
>
2008
-
09
-
12
Anatoly
Sokolov
<
aesok
@post
.
ru
>
PR
target
/
37466
PR
target
/
37466
...
@@ -445,7 +449,7 @@
...
@@ -445,7 +449,7 @@
PR
tree
-
optimization
/
37385
PR
tree
-
optimization
/
37385
*
tree
-
vect
-
transform
.
c
(
vect_create_data_ref_ptr
)
:
Add
a
new
argument
,
*
tree
-
vect
-
transform
.
c
(
vect_create_data_ref_ptr
)
:
Add
a
new
argument
,
and
use
it
as
a
vector
type
if
not
NULL
.
and
use
it
as
a
vector
type
if
not
NULL
.
(
vectorizable_store
)
:
Call
vect_create_data_ref_ptr
with
the
type
of
(
vectorizable_store
)
:
Call
vect_create_data_ref_ptr
with
the
type
of
vectorized
rhs
.
vectorized
rhs
.
(
vect_setup_realignment
)
:
Call
vect_create_data_ref_ptr
with
additional
(
vect_setup_realignment
)
:
Call
vect_create_data_ref_ptr
with
additional
argument
.
argument
.
...
@@ -473,7 +477,7 @@
...
@@ -473,7 +477,7 @@
2008
-
09
-
09
Sandra
Loosemore
<
sandra
@codesourcery
.
com
>
2008
-
09
-
09
Sandra
Loosemore
<
sandra
@codesourcery
.
com
>
*
doc
/
invoke
.
texi
(
ARM
Options
)
:
Correct
errors
in
discussion
*
doc
/
invoke
.
texi
(
ARM
Options
)
:
Correct
errors
in
discussion
of
-
mfloat
-
abi
,
-
mhard
-
float
,
and
-
msoft
-
float
.
of
-
mfloat
-
abi
,
-
mhard
-
float
,
and
-
msoft
-
float
.
2008
-
09
-
09
Jakub
Jelinek
<
jakub
@redhat
.
com
>
2008
-
09
-
09
Jakub
Jelinek
<
jakub
@redhat
.
com
>
...
@@ -527,12 +531,12 @@
...
@@ -527,12 +531,12 @@
(
block_before_loop
)
:
New
.
(
block_before_loop
)
:
New
.
*
tree
-
data
-
ref
.
c
(
dr_analyze_indices
)
:
Update
uses
of
instantiate_scev
.
*
tree
-
data
-
ref
.
c
(
dr_analyze_indices
)
:
Update
uses
of
instantiate_scev
.
*
graphite
.
c
(
block_before_scop
)
:
New
.
*
graphite
.
c
(
block_before_scop
)
:
New
.
(
loop_affine_expr
,
stmt_simple_for_scop_p
,
harmful_stmt_in_bb
)
:
Pass
a
(
loop_affine_expr
,
stmt_simple_for_scop_p
,
harmful_stmt_in_bb
)
:
Pass
a
basic
block
,
not
a
loop
for
determining
the
parameters
.
basic
block
,
not
a
loop
for
determining
the
parameters
.
(
scopdet_edge_info
,
build_scops_1
)
:
Do
not
pass
outermost
loop
in
the
(
scopdet_edge_info
,
build_scops_1
)
:
Do
not
pass
outermost
loop
in
the
scop
.
scop
.
(
idx_record_params
,
find_params_in_bb
,
find_scop_parameters
,
(
idx_record_params
,
find_params_in_bb
,
find_scop_parameters
,
build_loop_iteration_domains
,
add_conditions_to_domain
)
:
Update
calls
build_loop_iteration_domains
,
add_conditions_to_domain
)
:
Update
calls
to
instantiate_scev
.
to
instantiate_scev
.
*
Makefile
.
in
(
cfgloopmanip
.
o
)
:
Add
missing
dependency
on
TREE_FLOW_H
.
*
Makefile
.
in
(
cfgloopmanip
.
o
)
:
Add
missing
dependency
on
TREE_FLOW_H
.
...
@@ -540,7 +544,7 @@
...
@@ -540,7 +544,7 @@
2008
-
09
-
09
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
2008
-
09
-
09
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
PR
rtl
-
opt
/
37333
PR
rtl
-
opt
/
37333
*
ira
-
build
.
c
(
ira_create_allocno
)
:
Setup
frequency
to
0
.
*
ira
-
build
.
c
(
ira_create_allocno
)
:
Setup
frequency
to
0
.
*
ira
-
color
.
c
(
update_conflict_hard_regno_costs
)
:
Remove
assert
.
*
ira
-
color
.
c
(
update_conflict_hard_regno_costs
)
:
Remove
assert
.
...
@@ -586,7 +590,7 @@
...
@@ -586,7 +590,7 @@
PR
rtl
-
optimization
/
37360
PR
rtl
-
optimization
/
37360
*
haifa
-
sched
.
c
(
max_issue
)
:
Do
not
assert
that
we
never
issue
more
*
haifa
-
sched
.
c
(
max_issue
)
:
Do
not
assert
that
we
never
issue
more
insns
than
issue_rate
.
Add
comment
.
insns
than
issue_rate
.
Add
comment
.
2008
-
09
-
09
Richard
Guenther
<
rguenther
@suse
.
de
>
2008
-
09
-
09
Richard
Guenther
<
rguenther
@suse
.
de
>
*
tree
-
cfg
.
c
(
verify_types_in_gimple_op
)
:
Remove
.
*
tree
-
cfg
.
c
(
verify_types_in_gimple_op
)
:
Remove
.
...
@@ -862,13 +866,13 @@
...
@@ -862,13 +866,13 @@
(
move_operand
)
:
Disallow
sub
-
word
modes
for
the
constant
pool
.
(
move_operand
)
:
Disallow
sub
-
word
modes
for
the
constant
pool
.
*
config
/
xtensa
/
xtensa
.
c
(
TARGET_SECONDARY_RELOAD
)
:
Define
.
*
config
/
xtensa
/
xtensa
.
c
(
TARGET_SECONDARY_RELOAD
)
:
Define
.
(
xtensa_secondary_reload_class
)
:
Replace
with
....
(
xtensa_secondary_reload_class
)
:
Replace
with
....
(
xtensa_secondary_reload
)
:
this
function
.
Remove
SIGN_EXTEND
check
.
(
xtensa_secondary_reload
)
:
this
function
.
Remove
SIGN_EXTEND
check
.
Set
icode
for
sub
-
word
reloads
from
the
constant
pool
.
Set
icode
for
sub
-
word
reloads
from
the
constant
pool
.
*
config
/
xtensa
/
xtensa
.
h
(
SECONDARY_INPUT_RELOAD_CLASS
)
:
Delete
.
*
config
/
xtensa
/
xtensa
.
h
(
SECONDARY_INPUT_RELOAD_CLASS
)
:
Delete
.
(
SECONDARY_OUTPUT_RELOAD_CLASS
)
:
Delete
.
(
SECONDARY_OUTPUT_RELOAD_CLASS
)
:
Delete
.
*
config
/
xtensa
/
xtensa
.
md
(
reload
<
mode
>
_literal
)
:
New
.
*
config
/
xtensa
/
xtensa
.
md
(
reload
<
mode
>
_literal
)
:
New
.
*
config
/
xtensa
/
xtensa
-
protos
.
h
:
Update
prototypes
.
*
config
/
xtensa
/
xtensa
-
protos
.
h
:
Update
prototypes
.
2008
-
09
-
05
Joseph
Myers
<
joseph
@codesourcery
.
com
>
2008
-
09
-
05
Joseph
Myers
<
joseph
@codesourcery
.
com
>
*
config
/
mips
/
mips
.
h
(
enum
reg_class
)
:
Add
FRAME_REGS
.
*
config
/
mips
/
mips
.
h
(
enum
reg_class
)
:
Add
FRAME_REGS
.
...
@@ -913,9 +917,9 @@
...
@@ -913,9 +917,9 @@
*
ira
-
build
.
c
(
print_copy
,
print_copies
,
ira_debug_copy
,
*
ira
-
build
.
c
(
print_copy
,
print_copies
,
ira_debug_copy
,
ira_debug_copies
)
:
New
.
ira_debug_copies
)
:
New
.
(
ira_bulid
)
:
Call
print_copies
.
(
ira_bulid
)
:
Call
print_copies
.
*
doc
/
tm
.
texi
(
IRA_COVER_CLASSES
)
:
Fix
the
description
.
*
doc
/
tm
.
texi
(
IRA_COVER_CLASSES
)
:
Fix
the
description
.
2008
-
09
-
04
Samuel
Tardieu
<
sam
@rfc1149
.
net
>
2008
-
09
-
04
Samuel
Tardieu
<
sam
@rfc1149
.
net
>
PR
target
/
32783
PR
target
/
32783
...
@@ -1054,7 +1058,7 @@
...
@@ -1054,7 +1058,7 @@
*
config
/
bfin
/
bfin
.
c
(
bfin_function_ok_for_sibcall
)
:
Restore
a
null
*
config
/
bfin
/
bfin
.
c
(
bfin_function_ok_for_sibcall
)
:
Restore
a
null
pointer
check
lost
in
the
recent
no
-
unit
-
at
-
a
-
time
patch
.
pointer
check
lost
in
the
recent
no
-
unit
-
at
-
a
-
time
patch
.
2008
-
09
-
04
Jan
Hubicka
<
jh
@suse
.
cz
>
2008
-
09
-
04
Jan
Hubicka
<
jh
@suse
.
cz
>
PR
middle
-
end
/
37343
PR
middle
-
end
/
37343
...
@@ -1142,11 +1146,11 @@
...
@@ -1142,11 +1146,11 @@
(
remove_unnecessary_allocnos
)
:
Use
all_allocnos
.
(
remove_unnecessary_allocnos
)
:
Use
all_allocnos
.
(
check_allocno_creation
)
:
Check
that
allocnos
are
in
the
(
check_allocno_creation
)
:
Check
that
allocnos
are
in
the
corresponding
bitmap
all_allocnos
.
corresponding
bitmap
all_allocnos
.
2008
-
09
-
03
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
2008
-
09
-
03
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
PR
rtl
-
opt
/
37243
PR
rtl
-
opt
/
37243
*
ira
-
conflicts
.
c
(
REG_SUBREG_P
,
go_through_subreg
)
:
New
.
*
ira
-
conflicts
.
c
(
REG_SUBREG_P
,
go_through_subreg
)
:
New
.
(
process_regs_for_copy
)
:
Process
subregs
.
Refine
check
when
cost
(
process_regs_for_copy
)
:
Process
subregs
.
Refine
check
when
cost
is
taken
into
account
in
ira
-
costs
.
c
.
is
taken
into
account
in
ira
-
costs
.
c
.
...
@@ -1159,7 +1163,7 @@
...
@@ -1159,7 +1163,7 @@
(
update_conflict_hard_regno_costs
)
:
New
function
.
(
update_conflict_hard_regno_costs
)
:
New
function
.
(
assign_hard_reg
)
:
Use
it
.
(
assign_hard_reg
)
:
Use
it
.
(
ira_color
)
:
Allocate
and
free
conflict_allocno_vec
.
(
ira_color
)
:
Allocate
and
free
conflict_allocno_vec
.
2008
-
09
-
03
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
2008
-
09
-
03
Vladimir
Makarov
<
vmakarov
@redhat
.
com
>
PR
rtl
-
opt
/
37296
PR
rtl
-
opt
/
37296
...
@@ -1401,7 +1405,7 @@
...
@@ -1401,7 +1405,7 @@
(
graphite
.
o
)
:
Add
rule
.
(
graphite
.
o
)
:
Add
rule
.
*
gimple
.
h
(
gimple_vec
)
:
...
here
.
*
gimple
.
h
(
gimple_vec
)
:
...
here
.
*
tree
-
cfg
.
c
(
print_loops
)
:
Start
printing
at
ENTRY_BLOCK_PTR
.
*
tree
-
cfg
.
c
(
print_loops
)
:
Start
printing
at
ENTRY_BLOCK_PTR
.
*
passes
.
c
(
init_optimization_passes
)
:
Schedule
*
passes
.
c
(
init_optimization_passes
)
:
Schedule
pass_graphite_transforms
.
pass_graphite_transforms
.
2008
-
09
-
02
Samuel
Tardieu
<
sam
@rfc1149
.
net
>
2008
-
09
-
02
Samuel
Tardieu
<
sam
@rfc1149
.
net
>
...
@@ -6318,7 +6322,7 @@
...
@@ -6318,7 +6322,7 @@
PR
ada
/
36554
PR
ada
/
36554
*
dwarf2out
.
c
(
is_subrange_type
)
:
Deal
with
BOOLEAN_TYPE
.
*
dwarf2out
.
c
(
is_subrange_type
)
:
Deal
with
BOOLEAN_TYPE
.
2008
-
07
-
30
Rafael
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
2008
-
07
-
30
Rafael
Á
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
PR
36974
PR
36974
*
final
.
c
(
call_from_call_insn
)
:
Handle
COND_EXEC
.
*
final
.
c
(
call_from_call_insn
)
:
Handle
COND_EXEC
.
...
@@ -6530,7 +6534,7 @@
...
@@ -6530,7 +6534,7 @@
*
config
/
rs6000
/
rs6000
.
h
(
SLOW_UNALIGNED_ACCESS
)
:
Add
clause
for
*
config
/
rs6000
/
rs6000
.
h
(
SLOW_UNALIGNED_ACCESS
)
:
Add
clause
for
vector
modes
.
vector
modes
.
2008
-
07
-
30
Rafael
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
2008
-
07
-
30
Rafael
Á
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
*
final
.
c
(
call_from_call_insn
)
:
New
.
*
final
.
c
(
call_from_call_insn
)
:
New
.
(
final_scan_insn
)
:
Call
assemble_external
on
FUNCTION_DECLs
.
(
final_scan_insn
)
:
Call
assemble_external
on
FUNCTION_DECLs
.
...
@@ -7646,7 +7650,7 @@
...
@@ -7646,7 +7650,7 @@
(
TARGET_OPTION_PRINT
)
:
Ditto
.
(
TARGET_OPTION_PRINT
)
:
Ditto
.
(
TARGET_CAN_INLINE_P
)
:
Ditto
.
(
TARGET_CAN_INLINE_P
)
:
Ditto
.
2008
-
07
-
22
Rafael
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
2008
-
07
-
22
Rafael
Á
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
*
c
-
typeck
.
c
(
build_external_ref
)
:
Don
'
t
call
assemble_external
.
*
c
-
typeck
.
c
(
build_external_ref
)
:
Don
'
t
call
assemble_external
.
*
final
.
c
(
output_operand
)
:
Call
assemble_external
.
*
final
.
c
(
output_operand
)
:
Call
assemble_external
.
...
@@ -7667,7 +7671,7 @@
...
@@ -7667,7 +7671,7 @@
highest
magnitude
if
this
is
still
less
or
equal
to
the
true
highest
magnitude
if
this
is
still
less
or
equal
to
the
true
quotient
in
magnitude
.
quotient
in
magnitude
.
2008
-
07
-
21
Rafael
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
2008
-
07
-
21
Rafael
Á
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
*
Makefile
.
in
:
Replace
toplev
.
h
with
TOPLEV_H
.
*
Makefile
.
in
:
Replace
toplev
.
h
with
TOPLEV_H
.
*
c
-
decl
.
c
(
merge_decls
)
:
Don
'
t
set
DECL_IN_SYSTEM_HEADER
.
*
c
-
decl
.
c
(
merge_decls
)
:
Don
'
t
set
DECL_IN_SYSTEM_HEADER
.
...
@@ -7969,7 +7973,7 @@
...
@@ -7969,7 +7973,7 @@
(
m32c_legitimate_address_p
)
:
Handle
"++rii"
addresses
created
by
(
m32c_legitimate_address_p
)
:
Handle
"++rii"
addresses
created
by
m32c_legitimize_reload_address
.
m32c_legitimize_reload_address
.
2007
-
07
-
16
Rafael
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
2007
-
07
-
16
Rafael
Á
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
*
c
-
decl
.
c
(
merge_decls
)
:
Keep
DECL_SOURCE_LOCATION
and
*
c
-
decl
.
c
(
merge_decls
)
:
Keep
DECL_SOURCE_LOCATION
and
DECL_IN_SYSTEM_HEADER
in
sync
.
DECL_IN_SYSTEM_HEADER
in
sync
.
...
@@ -8059,7 +8063,7 @@
...
@@ -8059,7 +8063,7 @@
*
emit
-
rtl
.
c
(
set_mem_attributes_minus_bitpos
)
:
Improve
comment
.
*
emit
-
rtl
.
c
(
set_mem_attributes_minus_bitpos
)
:
Improve
comment
.
2007
-
07
-
14
Rafael
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
2007
-
07
-
14
Rafael
Á
vila
de
Esp
í
ndola
<
espindola
@google
.
com
>
*
c
-
decl
.
c
(
diagnose_mismatched_decls
)
:
Don
'
t
warn
if
TREE_NO_WARNING
*
c
-
decl
.
c
(
diagnose_mismatched_decls
)
:
Don
'
t
warn
if
TREE_NO_WARNING
is
set
.
is
set
.
...
...
gcc/tree-call-cdce.c
View file @
ea8bce02
...
@@ -141,9 +141,11 @@ check_target_format (tree arg)
...
@@ -141,9 +141,11 @@ check_target_format (tree arg)
mode
=
TYPE_MODE
(
type
);
mode
=
TYPE_MODE
(
type
);
rfmt
=
REAL_MODE_FORMAT
(
mode
);
rfmt
=
REAL_MODE_FORMAT
(
mode
);
if
((
mode
==
SFmode
if
((
mode
==
SFmode
&&
(
rfmt
==
&
ieee_single_format
||
rfmt
==
&
mips_single_format
))
&&
(
rfmt
==
&
ieee_single_format
||
rfmt
==
&
mips_single_format
||
rfmt
==
&
motorola_single_format
))
||
(
mode
==
DFmode
||
(
mode
==
DFmode
&&
(
rfmt
==
&
ieee_double_format
||
rfmt
==
&
mips_double_format
))
&&
(
rfmt
==
&
ieee_double_format
||
rfmt
==
&
mips_double_format
||
rfmt
==
&
motorola_double_format
))
/* For long double, we can not really check XFmode
/* For long double, we can not really check XFmode
which is only defined on intel platforms.
which is only defined on intel platforms.
Candidate pre-selection using builtin function
Candidate pre-selection using builtin function
...
@@ -152,6 +154,7 @@ check_target_format (tree arg)
...
@@ -152,6 +154,7 @@ check_target_format (tree arg)
||
(
mode
!=
SFmode
&&
mode
!=
DFmode
||
(
mode
!=
SFmode
&&
mode
!=
DFmode
&&
(
rfmt
==
&
ieee_quad_format
&&
(
rfmt
==
&
ieee_quad_format
||
rfmt
==
&
mips_quad_format
||
rfmt
==
&
mips_quad_format
||
rfmt
==
&
ieee_extended_motorola_format
||
rfmt
==
&
ieee_extended_intel_96_format
||
rfmt
==
&
ieee_extended_intel_96_format
||
rfmt
==
&
ieee_extended_intel_128_format
||
rfmt
==
&
ieee_extended_intel_128_format
||
rfmt
==
&
ieee_extended_intel_96_round_53_format
)))
||
rfmt
==
&
ieee_extended_intel_96_round_53_format
)))
...
...
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