mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-28 13:30:29 +00:00
Upgrade to Cosmopolitan GCC 11.2.0 for aarch64
This commit is contained in:
parent
39f20dbb13
commit
9cc3e37263
63 changed files with 30429 additions and 22750 deletions
2
third_party/zlib/adler32_simd.c
vendored
2
third_party/zlib/adler32_simd.c
vendored
|
@ -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,
|
||||
|
|
2
third_party/zlib/chunkcopy.inc
vendored
2
third_party/zlib/chunkcopy.inc
vendored
|
@ -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"
|
||||
|
|
9
third_party/zlib/crc32_simd.c
vendored
9
third_party/zlib/crc32_simd.c
vendored
|
@ -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
|
||||
|
|
2
third_party/zlib/slide_hash_simd.inc
vendored
2
third_party/zlib/slide_hash_simd.inc
vendored
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue