Skip to content

Commit 9f50a2c

Browse files
authored
Merge pull request #18601 from JuliaLang/vc/power_128
[PPC] Fix ARCH check for 128bit atomic test
2 parents 721ba7a + 32af90c commit 9f50a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/threads.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ let atomic_types = [Int8, Int16, Int32, Int64, Int128,
274274
# Temporarily omit 128-bit types on 32bit x86
275275
# 128-bit atomics do not exist on AArch32.
276276
# And we don't support them yet on power.
277-
if Sys.ARCH === :i686 || Sys.ARCH === :powerpc64le ||
278-
startswith(string(Sys.ARCH), "arm")
277+
if Sys.ARCH === :i686 || startswith(string(Sys.ARCH), "arm") ||
278+
Sys.ARCH === :powerpc64le || Sys.ARCH === :ppc64le
279279
filter!(T -> sizeof(T)<=8, atomic_types)
280280
end
281281
for T in atomic_types

0 commit comments

Comments
 (0)