Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
79429078
Commit
79429078
authored
Apr 02, 2017
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compat/atomics: fix atomic_fetch_xor
parent
cbd25029
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
stdatomic.h
compat/atomics/dummy/stdatomic.h
+1
-1
stdatomic.h
compat/atomics/gcc/stdatomic.h
+2
-2
stdatomic.h
compat/atomics/pthread/stdatomic.h
+1
-1
stdatomic.h
compat/atomics/suncc/stdatomic.h
+1
-1
stdatomic.h
compat/atomics/win32/stdatomic.h
+1
-1
No files found.
compat/atomics/dummy/stdatomic.h
View file @
79429078
...
...
@@ -156,7 +156,7 @@ FETCH_MODIFY(and, &)
atomic_fetch_or(object, operand)
#define atomic_fetch_xor_explicit(object, operand, order) \
atomic_fetch_
sub
(object, operand)
atomic_fetch_
xor
(object, operand)
#define atomic_fetch_and_explicit(object, operand, order) \
atomic_fetch_and(object, operand)
...
...
compat/atomics/gcc/stdatomic.h
View file @
79429078
...
...
@@ -147,10 +147,10 @@ do { \
atomic_fetch_or(object, operand)
#define atomic_fetch_xor(object, operand) \
__sync_fetch_and_
sub
(object, operand)
__sync_fetch_and_
xor
(object, operand)
#define atomic_fetch_xor_explicit(object, operand, order) \
atomic_fetch_
sub
(object, operand)
atomic_fetch_
xor
(object, operand)
#define atomic_fetch_and(object, operand) \
__sync_fetch_and_and(object, operand)
...
...
compat/atomics/pthread/stdatomic.h
View file @
79429078
...
...
@@ -177,7 +177,7 @@ FETCH_MODIFY(and, &)
atomic_fetch_or(object, operand)
#define atomic_fetch_xor_explicit(object, operand, order) \
atomic_fetch_
sub
(object, operand)
atomic_fetch_
xor
(object, operand)
#define atomic_fetch_and_explicit(object, operand, order) \
atomic_fetch_and(object, operand)
...
...
compat/atomics/suncc/stdatomic.h
View file @
79429078
...
...
@@ -166,7 +166,7 @@ static inline intptr_t atomic_fetch_and(intptr_t *object, intptr_t operand)
atomic_fetch_or(object, operand)
#define atomic_fetch_xor_explicit(object, operand, order) \
atomic_fetch_
sub
(object, operand)
atomic_fetch_
xor
(object, operand)
#define atomic_fetch_and_explicit(object, operand, order) \
atomic_fetch_and(object, operand)
...
...
compat/atomics/win32/stdatomic.h
View file @
79429078
...
...
@@ -159,7 +159,7 @@ static inline int atomic_compare_exchange_strong(intptr_t *object, intptr_t *exp
atomic_fetch_or(object, operand)
#define atomic_fetch_xor_explicit(object, operand, order) \
atomic_fetch_
sub
(object, operand)
atomic_fetch_
xor
(object, operand)
#define atomic_fetch_and_explicit(object, operand, order) \
atomic_fetch_and(object, operand)
...
...
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