Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b9ca6dc9
authored
Mar 07, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base_c: fixed implementation of atomic store to ensure sequential consistency
parent
60d980ed
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
base_c/src/atomicfunc_32.asm
+1
-1
base_c/src/atomicfunc_64.asm
+1
-1
No files found.
base_c/src/atomicfunc_32.asm
View file @
b9ca6dc9
...
...
@@ -114,7 +114,7 @@ define_or_assign @embb_internal__atomic_or_assign_1_asm@8, byte, dl
define_store
macro
name
,
size
,
value
public
name
name
proc
mov
size
ptr
[ecx],
value
xchg
size
ptr
[ecx],
value
ret
name
endp
endm
...
...
base_c/src/atomicfunc_64.asm
View file @
b9ca6dc9
...
...
@@ -107,7 +107,7 @@ define_or_assign embb_internal__atomic_or_assign_1_asm, byte, dl
define_store
macro
name
,
size
,
value
public
name
name
proc
mov
size
ptr
[rcx],
value
xchg
size
ptr
[rcx],
value
ret
name
endp
endm
...
...
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