Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix i386 build broken by the merge of ea400129c #12252

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions lib/libspl/asm-i386/atomic.S
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@
SET_SIZE(atomic_swap_32)

ENTRY(atomic_swap_64)
ALTENTRY(atomic_store_64)
pushl %esi
pushl %ebx
movl 12(%esp), %esi
Expand All @@ -776,8 +777,20 @@
popl %ebx
popl %esi
ret
SET_SIZE(atomic_store_64)
SET_SIZE(atomic_swap_64)

ENTRY(atomic_load_64)
pushl %esi
movl 8(%esp), %esi
movl %ebx, %eax
movl %ecx, %edx
lock
cmpxchg8b (%esi)
popl %esi
ret
SET_SIZE(atomic_load_64)

ENTRY(atomic_set_long_excl)
movl 4(%esp), %edx
movl 8(%esp), %ecx
Expand Down