Reduce header complexity

- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
This commit is contained in:
Justine Tunney 2023-11-28 14:24:28 -08:00
parent 96f979dfc5
commit fa20edc44d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3057 changed files with 410 additions and 4398 deletions

View file

@ -1,4 +1,3 @@
/* clang-format off */
#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _ACC_PROF_H
#define _ACC_PROF_H 1

View file

@ -1,4 +1,3 @@
/* clang-format off */
#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _GCC_ARM_ACLE_H
#define _GCC_ARM_ACLE_H

View file

@ -1,4 +1,3 @@
/* clang-format off */
#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _AARCH64_BF16_H_
#define _AARCH64_BF16_H_

View file

@ -1,4 +1,3 @@
/* clang-format off */
#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _AARCH64_FP16_H_
#define _AARCH64_FP16_H_

View file

@ -1,4 +1,3 @@
/* clang-format off */
#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _AARCH64_NEON_H_
#define _AARCH64_NEON_H_

View file

@ -1,4 +1,3 @@
/* clang-format off */
#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _ARM_SVE_H_
#define _ARM_SVE_H_

View file

@ -1,4 +1,3 @@
/* clang-format off */
#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _OPENACC_H
#define _OPENACC_H 1

View file

@ -63,7 +63,6 @@ done
for f in third_party/aarch64/*.h; do
(
printf %s\\n '/* clang-format off */'
printf %s\\n '#if defined(__aarch64__) && !(__ASSEMBLER__ + __LINKER__ + 0)'
cat $f
printf %s\\n '#endif'