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
ececf1b9
Commit
ececf1b9
authored
Apr 25, 2004
by
Andreas Jaeger
Committed by
Andreas Jaeger
Apr 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mark.c (GC_mark_from): Use pointer as prefetch argument.
From-SVN: r81155
parent
6eb91cc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
boehm-gc/ChangeLog
+4
-0
boehm-gc/mark.c
+4
-4
No files found.
boehm-gc/ChangeLog
View file @
ececf1b9
2004-04-25 Andreas Jaeger <aj@suse.de>
* mark.c (GC_mark_from): Use pointer as prefetch argument.
2004-04-06 H.J. Lu <hongjiu.lu@intel.com>
* include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
...
...
boehm-gc/mark.c
View file @
ececf1b9
...
...
@@ -684,7 +684,7 @@ mse * mark_stack_limit;
current
=
*
current_p
;
FIXUP_POINTER
(
current
);
if
((
ptr_t
)
current
>=
least_ha
&&
(
ptr_t
)
current
<
greatest_ha
)
{
PREFETCH
(
current
);
PREFETCH
(
(
ptr_t
)
current
);
HC_PUSH_CONTENTS
((
ptr_t
)
current
,
mark_stack_top
,
mark_stack_limit
,
current_p
,
exit1
);
}
...
...
@@ -760,7 +760,7 @@ mse * mark_stack_limit;
FIXUP_POINTER
(
deferred
);
limit
=
(
word
*
)((
char
*
)
limit
-
ALIGNMENT
);
if
((
ptr_t
)
deferred
>=
least_ha
&&
(
ptr_t
)
deferred
<
greatest_ha
)
{
PREFETCH
(
deferred
);
PREFETCH
(
(
ptr_t
)
deferred
);
break
;
}
if
(
current_p
>
limit
)
goto
next_object
;
...
...
@@ -770,7 +770,7 @@ mse * mark_stack_limit;
FIXUP_POINTER
(
deferred
);
limit
=
(
word
*
)((
char
*
)
limit
-
ALIGNMENT
);
if
((
ptr_t
)
deferred
>=
least_ha
&&
(
ptr_t
)
deferred
<
greatest_ha
)
{
PREFETCH
(
deferred
);
PREFETCH
(
(
ptr_t
)
deferred
);
break
;
}
if
(
current_p
>
limit
)
goto
next_object
;
...
...
@@ -787,7 +787,7 @@ mse * mark_stack_limit;
if
((
ptr_t
)
current
>=
least_ha
&&
(
ptr_t
)
current
<
greatest_ha
)
{
/* Prefetch the contents of the object we just pushed. It's */
/* likely we will need them soon. */
PREFETCH
(
current
);
PREFETCH
(
(
ptr_t
)
current
);
HC_PUSH_CONTENTS
((
ptr_t
)
current
,
mark_stack_top
,
mark_stack_limit
,
current_p
,
exit2
);
}
...
...
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