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
ca3d99a6
Commit
ca3d99a6
authored
Nov 14, 2014
by
Andrew Waterman
Committed by
Jeff Law
Nov 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cas_n.c (libat_compare_exchange): Add missing cast.
From-SVN: r217536
parent
b82e9b01
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libatomic/ChangeLog
+4
-0
libatomic/cas_n.c
+1
-1
No files found.
libatomic/ChangeLog
View file @
ca3d99a6
2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
* cas_n.c (libat_compare_exchange): Add missing cast.
2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR target/63610
...
...
libatomic/cas_n.c
View file @
ca3d99a6
...
...
@@ -70,7 +70,7 @@ SIZE(libat_compare_exchange) (UTYPE *mptr, UTYPE *eptr, UTYPE newval,
mask
=
-
1
;
}
weval
=
*
eptr
<<
shift
;
weval
=
(
UWORD
)
*
eptr
<<
shift
;
wnewval
=
(
UWORD
)
newval
<<
shift
;
woldval
=
__atomic_load_n
(
wptr
,
__ATOMIC_RELAXED
);
do
...
...
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