Upgrade to Cosmopolitan GCC 11.2.0 for aarch64

This commit is contained in:
Justine Tunney 2023-06-05 02:07:28 -07:00
parent 39f20dbb13
commit 9cc3e37263
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
63 changed files with 30429 additions and 22750 deletions

View file

@ -203,7 +203,7 @@ uint32_t ZLIB_INTERNAL adler32_simd_( /* SSSE3 */
#elif defined(ADLER32_SIMD_NEON)
#include "third_party/aarch64/arm_neon.h"
#include "third_party/aarch64/arm_neon.internal.h"
uint32_t ZLIB_INTERNAL adler32_simd_( /* NEON */
uint32_t adler,

View file

@ -28,7 +28,7 @@
#endif
#if defined(INFLATE_CHUNK_SIMD_NEON)
#include "third_party/aarch64/arm_neon.h"
#include "third_party/aarch64/arm_neon.internal.h"
typedef uint8x16_t z_vec128i_t;
#elif defined(INFLATE_CHUNK_SIMD_SSE2)
#include "third_party/intel/emmintrin.internal.h"

View file

@ -10,6 +10,7 @@ Chromium (BSD-3 License)\\n\
Copyright 2017 The Chromium Authors\"");
// clang-format off
#include "third_party/intel/x86gprintrin.internal.h"
#include "third_party/zlib/crc32_simd.internal.h"
#if defined(CRC32_SIMD_AVX512_PCLMUL)
@ -358,8 +359,8 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_( /* SSE4.2+PCLMUL */
/* We need some extra types for using PMULL.
*/
#if defined(__aarch64__)
#include "third_party/aarch64/arm_neon.h"
#include "third_party/aarch64/arm_acle.h"
#include "third_party/aarch64/arm_neon.internal.h"
#include "third_party/aarch64/arm_acle.internal.h"
#endif
/* CRC32 intrinsics are #ifdef'ed out of arm_acle.h unless we build with an
@ -400,8 +401,8 @@ uint32_t ZLIB_INTERNAL crc32_sse42_simd_( /* SSE4.2+PCLMUL */
/* For GCC, we are setting CRC extensions at module level, so ThinLTO is not
* allowed. We can just include arm_acle.h.
*/
#include "third_party/aarch64/arm_neon.h"
#include "third_party/aarch64/arm_acle.h"
#include "third_party/aarch64/arm_neon.internal.h"
#include "third_party/aarch64/arm_acle.internal.h"
#define TARGET_ARMV8_WITH_CRC
#else // !defined(__GNUC__) && !defined(_aarch64__)
#error ARM CRC32 SIMD extensions only supported for Clang and GCC

View file

@ -41,7 +41,7 @@ typedef __m128i z_vec128i_u16x8_t;
#elif defined(DEFLATE_SLIDE_HASH_NEON)
#include "third_party/aarch64/arm_neon.h" /* NEON */
#include "third_party/aarch64/arm_neon.internal.h" /* NEON */
#define Z_SLIDE_INIT_SIMD(wsize) vdupq_n_u16((ush)(wsize))