mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
Get LIBC_MEM and LIBC_STDIO building with aarch64
This commit is contained in:
parent
ae0ee59614
commit
d04430f4ef
81 changed files with 440 additions and 1064 deletions
4
third_party/zlib/adler32simd.c
vendored
4
third_party/zlib/adler32simd.c
vendored
|
@ -58,6 +58,8 @@ asm(".include \"libc/disclaimer.inc\"");
|
|||
/* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
|
||||
#define NMAX 5552
|
||||
|
||||
#ifdef ADLER32_SIMD_SSSE3
|
||||
|
||||
uint32_t adler32_simd_(uint32_t adler, const unsigned char *buf, size_t len) {
|
||||
/*
|
||||
* Split Adler-32 into component sums.
|
||||
|
@ -192,3 +194,5 @@ uint32_t adler32_simd_(uint32_t adler, const unsigned char *buf, size_t len) {
|
|||
*/
|
||||
return s1 | (s2 << 16);
|
||||
}
|
||||
|
||||
#endif /* ADLER32_SIMD_SSSE3 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue