Skip to content

Commit

Permalink
128-bit atomics are not yet supported on power
Browse files Browse the repository at this point in the history
(cherry picked from commit e01eb54)
x-ref: #18557
  • Loading branch information
vchuravy committed Oct 6, 2016
1 parent 42eebb2 commit e8f6bf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/threads.jl
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ let atomic_types = [Int8, Int16, Int32, Int64, Int128,
Float16, Float32, Float64]
# Temporarily omit 128-bit types on 32bit x86
# 128-bit atomics do not exist on AArch32.
if Sys.ARCH === :i686 || startswith(string(Sys.ARCH), "arm")
# And we don't support them yet on power.
if Sys.ARCH === :i686 || Sys.ARCH === :powerpc64le ||
startswith(string(Sys.ARCH), "arm")
filter!(T -> sizeof(T)<=8, atomic_types)
end
for T in atomic_types
Expand Down

0 comments on commit e8f6bf2

Please sign in to comment.