Bug 1325771 - js:jit: Enable AtomicOperations-feeling-lucky.h on m68k r=lth
☠☠ backed out by c593e06b6cf4 ☠ ☠
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 28 May 2020 15:49:48 +0000
changeset 597814 24e6299e112dac7dc5891a1d61abc3e4dbbbb689
parent 597813 393a6ff847ce341fbe0e86f1bccfbea5ed8c3157
child 597815 d69ac62c063fd9a31b7033c960fa67528f780159
push id13310
push userffxbld-merge
push dateMon, 29 Jun 2020 14:50:06 +0000
treeherdermozilla-beta@15a59a0afa5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslth
bugs1325771
milestone79.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1325771 - js:jit: Enable AtomicOperations-feeling-lucky.h on m68k r=lth This allows the build on m68k to use the atomic operations provided by GCC. Depends on D77285 Differential Revision: https://phabricator.services.mozilla.com/D77287
js/src/jit/AtomicOperations.h
--- a/js/src/jit/AtomicOperations.h
+++ b/js/src/jit/AtomicOperations.h
@@ -386,15 +386,16 @@ inline bool AtomicOperations::isLockfree
 #  if defined(__clang__) || defined(__GNUC__)
 #    include "jit/mips-shared/AtomicOperations-mips-shared.h"
 #  else
 #    error "AtomicOperations on MIPS for an unknown compiler"
 #  endif
 #elif defined(__ppc__) || defined(__PPC__) || defined(__sparc__) ||     \
     defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || \
     defined(__PPC64LE__) || defined(__alpha__) || defined(__hppa__) ||  \
-    defined(__sh__) || defined(__s390__) || defined(__s390x__)
+    defined(__sh__) || defined(__s390__) || defined(__s390x__) ||       \
+    defined(__m68k__)
 #  include "jit/shared/AtomicOperations-feeling-lucky.h"
 #else
 #  error "No AtomicOperations support provided for this platform"
 #endif
 
 #endif  // jit_AtomicOperations_h