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
926706f8
Commit
926706f8
authored
Nov 12, 2011
by
Eric Botcazou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix recent entry
From-SVN: r181308
parent
49db0ca8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
32 deletions
+25
-32
gcc/ChangeLog
+25
-32
No files found.
gcc/ChangeLog
View file @
926706f8
...
...
@@ -118,40 +118,33 @@
vect_build_slp_tree
fails
,
properly
handle
freeing
memory
.
If
it
succeeded
,
clear
def_stmts
in
oprnd_info
.
2011
-
08
-
12
Dimitrios
Apostolou
<
jimis
@
gmx
.
net
>
*
final
.
c
,
output
.
h
(
fprint_whex
,
fprint_w
,
fprint_ul
,
sprint_ul
):
New
functions
serving
as
fast
replacements
for
fprintf
()
integer
to
string
conversions
.
They
were
used
in
the
following
changes
.
*
final
.
c
(
sprint_ul_rev
):
Internal
helper
for
the
above
.
(
output_addr_const
):
case
CONST_INT
:
don
't use fprintf().
* elfos.h (ASM_GENERATE_INTERNAL_LABEL): Don'
t
use
sprintf
(
"%u"
),
use
sprint_ul
()
and
stpcpy
()
which
are
much
faster
.
2011
-
11
-
11
Dimitrios
Apostolou
<
jimis
@
gmx
.
net
>
*
defaults
.
h
(
ASM_OUTPUT_LABEL
,
ASM_OUTPUT_INTERNAL_LABEL
):
Expand
on
multiple
lines
for
readability
.
*
output
.
h
(
fprint_whex
,
fprint_w
,
fprint_ul
,
sprint_ul
):
Declare
.
(
ASM_OUTPUT_LABELREF
):
Call
fputs
instead
of
asm_fprintf
.
*
dwarf2asm
.
c
(
dw2_assemble_integer
,
dw2_asm_output_data
,
dw2_asm_data_uleb128
,
dw2_asm_delta_uleb128
,
dw2_asm_delta_sleb128
):
Convert
fprintf
calls
to
the
new
functions
.
*
dwarf2out
.
c
(
dwarf2out_source_line
):
Call
fprint_ul
instead
of
fprintf
.
*
final
.
c
(
fprint_whex
,
fprint_w
,
fprint_ul
,
sprint_ul
):
New
functions
serving
as
fast
replacements
for
fprintf
integer
to
string
conversions
.
(
sprint_ul_rev
):
Internal
helper
for
the
above
.
(
output_addr_const
)
<
CONST_INT
>:
Don
't use fprintf.
* varasm.c: Fix some whitespace inconsistencies.
(default_elf_asm_output_limited_string): New.
(default_elf_asm_output_ascii): Likewise.
(default_elf_internal_label): Likewise.
* config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Use sprint_ul and
stpcpy instead of sprintf.
(TARGET_ASM_INTERNAL_LABEL): Define as default_elf_internal_label.
(
ELF_ASCII_ESCAPES
,
ELF_STRING_LIMIT
):
Are
the
old
ESCAPES
and
(ELF_ASCII_ESCAPES, ELF_STRING_LIMIT):
Rename from
old ESCAPES and
STRING_LIMIT macros.
(
ASM_OUTPUT_LIMITED_STRING
,
ASM_OUTPUT_ASCII
):
Macros
now
just
call
respective
functions
that
provide
the
same
functionality
.
Those
are
default_elf_asm_output_limited_string
()
and
default_elf_asm_output_ascii
()
in
varasm
.
c
.
*
varasm
.
c
:
Fixed
some
whitespace
inconsistencies
.
(
default_elf_asm_output_limited_string
)
(
default_elf_asm_output_ascii
):
The
above
macros
from
elfos
.
h
are
implemented
here
as
these
functions
,
avoiding
superfluous
calls
to
fprintf
().
(
default_elf_internal_label
):
Hook
for
targetm
.
asm_out
.
internal_label
and
ASM_OUTPUT_DEBUG_LABEL
.
*
i386
.
c
:
Don
't call fprintf("%u") but fprint_ul() instead.
* defaults.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_INTERNAL_LABEL):
Expanded the macros on multiple lines for readability.
(ASM_OUTPUT_LABELREF): Have two calls to fputs() instead of one to
asm_fprintf().
* dwarf2asm.c (dw2_assemble_integer, dw2_asm_output_data)
(dw2_asm_data_uleb128, dw2_asm_delta_uleb128)
(dw2_asm_delta_sleb128): Convert fprintf() calls to the new
faster functions.
* dwarf2out.c (dwarf2out_source_line): Convert fprintf() calls to
the new faster functions.
(ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII): Call functions that
provide the same functionality.
* config/i386/i386.c (print_reg): Call fprint_ul instead of fprintf.
2011-11-10 Andrew MacLeod <amacleod@redhat.com>
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