6917N/AFixes endian issue in GFX on sparc and fixes atomic operations.
6917N/A@@ -297,17 +297,17 @@ AtomicOperations::isLockfree(int32_t siz
6917N/A #if defined(JS_CODEGEN_ARM)
6917N/A #elif defined(JS_CODEGEN_ARM64)
6917N/A #elif defined(JS_CODEGEN_MIPS32) || defined(JS_CODEGEN_MIPS64)
6917N/A #elif defined(__ppc64__) || defined(__PPC64_) \
6917N/A || defined(__ppc64le__) || defined(__PPC64LE__) \
6917N/A- || defined(__ppc__) || defined(__PPC__)
6917N/A+ || defined(__ppc__) || defined(__PPC__) || defined(__sparc)
6917N/A #elif defined(JS_CODEGEN_NONE)
6917N/A #elif defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64)
6917N/A # error "Atomic operations must be defined for this platform"
6917N/A // The following values are endian-independent synonyms. The _UINT32 suffix
6917N/A // indicates that the name reflects the layout when viewed as a uint32_t
6917N/A A8R8G8B8_UINT32 = B8G8R8A8, // 0xAARRGGBB
6917N/A X8R8G8B8_UINT32 = B8G8R8X8 // 0x00RRGGBB
6917N/A- A8R8G8B8_UINT32 = A8R8G8B8, // 0xAARRGGBB
6917N/A- X8R8G8B8_UINT32 = X8R8G8B8 // 0x00RRGGBB
6917N/A inline bool IsOpaque(SurfaceFormat aFormat)