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
a339c9d6
Commit
a339c9d6
authored
Feb 29, 2012
by
Eric Botcazou
Committed by
Eric Botcazou
Feb 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/linux/sparc/futex.h (cpu_relax): Read from CC register.
From-SVN: r184672
parent
b65734ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
libgomp/ChangeLog
+4
-0
libgomp/config/linux/sparc/futex.h
+1
-5
No files found.
libgomp/ChangeLog
View file @
a339c9d6
2012-02-29 Eric Botcazou <ebotcazou@adacore.com>
* config/linux/sparc/futex.h (cpu_relax): Read from CC register.
2012-02-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2012-02-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libstdc++/52188
PR libstdc++/52188
...
...
libgomp/config/linux/sparc/futex.h
View file @
a339c9d6
...
@@ -90,9 +90,5 @@ futex_wake (int *addr, int count)
...
@@ -90,9 +90,5 @@ futex_wake (int *addr, int count)
static
inline
void
static
inline
void
cpu_relax
(
void
)
cpu_relax
(
void
)
{
{
#if defined __arch64__ || defined __sparc_v9__
__asm
volatile
(
"rd %%ccr, %%g0"
:
:
:
"memory"
);
__asm
volatile
(
"membar #LoadLoad"
:
:
:
"memory"
);
#else
__asm
volatile
(
""
:
:
:
"memory"
);
#endif
}
}
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