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
507a4fd4
Commit
507a4fd4
authored
Feb 09, 2007
by
Richard Henderson
Committed by
Richard Henderson
Feb 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sysdep/alpha/locks.h (read_barrier): New.
From-SVN: r121774
parent
999ffb1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
libjava/ChangeLog
+4
-0
libjava/sysdep/alpha/locks.h
+8
-0
No files found.
libjava/ChangeLog
View file @
507a4fd4
2007-02-09 Richard Henderson <rth@redhat.com>
* sysdep/alpha/locks.h (read_barrier): New.
2007-02-09 Keith Seitz <keiths@redhat.com>
2007-02-09 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/VMVirtualMachine.java
* gnu/classpath/jdwp/VMVirtualMachine.java
...
...
libjava/sysdep/alpha/locks.h
View file @
507a4fd4
...
@@ -50,6 +50,14 @@ compare_and_swap_release(volatile obj_addr_t *addr,
...
@@ -50,6 +50,14 @@ compare_and_swap_release(volatile obj_addr_t *addr,
return
compare_and_swap
(
addr
,
old
,
new_val
);
return
compare_and_swap
(
addr
,
old
,
new_val
);
}
}
// Ensure that subsequent instructions do not execute on stale
// data that was loaded from memory before the barrier.
inline
static
void
read_barrier
()
{
__asm__
__volatile__
(
"mb"
:
:
:
"memory"
);
}
// Ensure that prior stores to memory are completed with respect to other
// Ensure that prior stores to memory are completed with respect to other
// processors.
// processors.
inline
static
void
inline
static
void
...
...
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