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
fd6132db
Commit
fd6132db
authored
Mar 10, 2005
by
Nathan Sidwell
Committed by
Nathan Sidwell
Mar 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* bitmap.c (bitmap_copy): Remove manual loop unrolling.
From-SVN: r96243
parent
002d6ea7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
gcc/ChangeLog
+2
-0
gcc/bitmap.c
+1
-11
No files found.
gcc/ChangeLog
View file @
fd6132db
2005-03-10 Nathan Sidwell <nathan@codesourcery.com>
2005-03-10 Nathan Sidwell <nathan@codesourcery.com>
* bitmap.c (bitmap_copy): Remove manual loop unrolling.
* value-prof.c (rtl_find_values_to_profile): Use gcc_assert and
* value-prof.c (rtl_find_values_to_profile): Use gcc_assert and
gcc_unreachable.
gcc_unreachable.
(rtl_register_value_prof_hooks,
(rtl_register_value_prof_hooks,
...
...
gcc/bitmap.c
View file @
fd6132db
...
@@ -346,9 +346,6 @@ void
...
@@ -346,9 +346,6 @@ void
bitmap_copy
(
bitmap
to
,
bitmap
from
)
bitmap_copy
(
bitmap
to
,
bitmap
from
)
{
{
bitmap_element
*
from_ptr
,
*
to_ptr
=
0
;
bitmap_element
*
from_ptr
,
*
to_ptr
=
0
;
#if BITMAP_ELEMENT_WORDS != 2
unsigned
i
;
#endif
bitmap_clear
(
to
);
bitmap_clear
(
to
);
...
@@ -358,14 +355,7 @@ bitmap_copy (bitmap to, bitmap from)
...
@@ -358,14 +355,7 @@ bitmap_copy (bitmap to, bitmap from)
bitmap_element
*
to_elt
=
bitmap_element_allocate
(
to
);
bitmap_element
*
to_elt
=
bitmap_element_allocate
(
to
);
to_elt
->
indx
=
from_ptr
->
indx
;
to_elt
->
indx
=
from_ptr
->
indx
;
memcpy
(
to_elt
->
bits
,
from_ptr
->
bits
,
sizeof
(
to_elt
->
bits
));
#if BITMAP_ELEMENT_WORDS == 2
to_elt
->
bits
[
0
]
=
from_ptr
->
bits
[
0
];
to_elt
->
bits
[
1
]
=
from_ptr
->
bits
[
1
];
#else
for
(
i
=
0
;
i
<
BITMAP_ELEMENT_WORDS
;
i
++
)
to_elt
->
bits
[
i
]
=
from_ptr
->
bits
[
i
];
#endif
/* Here we have a special case of bitmap_element_link, for the case
/* Here we have a special case of bitmap_element_link, for the case
where we know the links are being entered in sequence. */
where we know the links are being entered in sequence. */
...
...
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