Fold LIBC_BITS into LIBC_INTRIN

This commit is contained in:
Justine Tunney 2022-08-11 12:13:18 -07:00
parent 625aa365f1
commit 05b8f82371
603 changed files with 1071 additions and 1211 deletions

View file

@ -19,7 +19,6 @@ THIRD_PARTY_ARGON2_A_DIRECTDEPS = \
LIBC_CALLS \
LIBC_FMT \
LIBC_INTRIN \
LIBC_BITS \
LIBC_NEXGEN32E \
LIBC_MEM \
LIBC_SYSV \

View file

@ -15,7 +15,7 @@
- Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0 │
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/limits.h"
#include "third_party/argon2/blake2-impl.h"
#include "third_party/argon2/blake2.h"

View file

@ -16,8 +16,8 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/bits.h"
#include "libc/bits/popcnt.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/popcnt.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/stat.h"
#include "libc/elf/def.h"

View file

@ -1,7 +1,7 @@
#ifndef COSMOPOLITAN_THIRD_PARTY_CHIBICC_CHIBICC_H_
#define COSMOPOLITAN_THIRD_PARTY_CHIBICC_CHIBICC_H_
#include "libc/assert.h"
#include "libc/bits/popcnt.h"
#include "libc/intrin/popcnt.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/stat.h"
#include "libc/calls/weirdtypes.h"

View file

@ -44,7 +44,6 @@ THIRD_PARTY_CHIBICC_A_CHECKS = \
THIRD_PARTY_CHIBICC_A_DIRECTDEPS = \
LIBC_ALG \
LIBC_BITS \
LIBC_CALLS \
LIBC_FMT \
LIBC_INTRIN \

View file

@ -17,7 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/alg/alg.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/sysv/consts/map.h"
#include "libc/sysv/consts/o.h"
#include "libc/sysv/consts/prot.h"

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/fmt/conv.h"
#include "libc/log/libfatal.internal.h"
#include "libc/mem/mem.h"

View file

@ -1,6 +1,6 @@
#include "libc/assert.h"
#include "libc/bits/likely.h"
#include "libc/bits/weaken.h"
#include "libc/intrin/likely.h"
#include "libc/intrin/weaken.h"
#include "libc/calls/calls.h"
#include "libc/dce.h"
#include "libc/errno.h"

View file

@ -25,7 +25,6 @@ THIRD_PARTY_DLMALLOC_A_CHECKS = \
$(THIRD_PARTY_DLMALLOC_A_HDRS:%=o/$(MODE)/%.ok)
THIRD_PARTY_DLMALLOC_A_DIRECTDEPS = \
LIBC_BITS \
LIBC_CALLS \
LIBC_INTRIN \
LIBC_FMT \

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/calls/calls.h"
#include "libc/log/log.h"
#include "libc/runtime/runtime.h"

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/str/str.h"
#include "third_party/double-conversion/double-conversion.h"
#include "third_party/double-conversion/double-to-string.h"

View file

@ -126,7 +126,7 @@
*/
#include "libc/alg/alg.h"
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/sig.internal.h"
#include "libc/calls/strace.internal.h"

View file

@ -27,7 +27,7 @@
*/
#define ldo_c
#define LUA_CORE
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/log/log.h"
#include "libc/runtime/gc.h"
#include "libc/runtime/internal.h"

View file

@ -18,8 +18,8 @@
*/
#include "libc/alg/critbit0.h"
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/bits/likely.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/likely.h"
#include "libc/fmt/itoa.h"
#include "libc/log/log.h"
#include "libc/log/rop.h"

View file

@ -18,7 +18,7 @@
*/
#include "libc/alg/critbit0.h"
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/fmt/itoa.h"
#include "libc/log/rop.h"
#include "libc/math.h"

View file

@ -17,7 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/ioctl.h"
#include "libc/calls/makedev.h"

View file

@ -43,7 +43,7 @@
#include "libc/stdio/stdio.h" /* fprintf, fopen, ftello */
#include "libc/time/time.h" /* clock_t, clock, CLOCKS_PER_SEC */
#include "libc/assert.h"
#include "libc/bits/initializer.internal.h"
#include "libc/intrin/initializer.internal.h"
#include "libc/runtime/runtime.h" /* assert */
#include "third_party/lz4cli/datagen.h" /* RDG_genBuffer */

View file

@ -54,7 +54,7 @@
#include "third_party/lz4cli/lz4hc.h" /* still required for legacy format */
#define LZ4F_STATIC_LINKING_ONLY
#include "libc/runtime/runtime.h"
#include "libc/bits/initializer.internal.h"
#include "libc/intrin/initializer.internal.h"
#include "third_party/lz4cli/lz4frame.h"

View file

@ -17,7 +17,7 @@
/* clang-format off */
#include "third_party/make/config.h"
#include "third_party/make/getprogname.h"
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/safemacros.internal.h"
#include "third_party/make/dirname.h"
char const *

View file

@ -28,15 +28,15 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "libc/runtime/stack.h"
#include "libc/calls/calls.h"
#include "libc/x/x.h"
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/x/x.h"
#include "libc/runtime/runtime.h"
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/elf/struct/ehdr.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/kprintf.h"
#include "libc/intrin/kprintf.h"
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/runtime/runtime.h"
#include "libc/elf/def.h"
#include "libc/intrin/kprintf.h"

View file

@ -16,7 +16,7 @@
limitations under the License.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/stat.h"
#include "libc/calls/weirdtypes.h"

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/nexgen32e/x86feature.h"
#include "libc/str/str.h"
#include "third_party/mbedtls/aes.h"

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/str/str.h"
#include "third_party/mbedtls/aesni.h"
#include "third_party/mbedtls/common.h"

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/log/backtrace.internal.h"
#include "libc/log/check.h"
#include "libc/macros.internal.h"

View file

@ -16,8 +16,8 @@
limitations under the License.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/bits/bswap.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/bswap.h"
#include "libc/log/backtrace.internal.h"
#include "libc/log/check.h"
#include "libc/log/log.h"

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "third_party/mbedtls/chacha20.h"

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "third_party/mbedtls/endian.h"
asm(".ident\t\"\\n\\n\

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/macros.internal.h"
#include "libc/stdio/append.internal.h"
#include "third_party/mbedtls/iana.h"

View file

@ -15,8 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/bits/likely.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/likely.h"
#include "libc/log/log.h"
#include "libc/nexgen32e/x86feature.h"
#include "libc/runtime/runtime.h"

View file

@ -16,7 +16,6 @@ THIRD_PARTY_MBEDTLS_A_CHECKS = \
$(THIRD_PARTY_MBEDTLS_A_HDRS:%=o/$(MODE)/%.ok)
THIRD_PARTY_MBEDTLS_A_DIRECTDEPS = \
LIBC_BITS \
LIBC_CALLS \
LIBC_DNS \
LIBC_FMT \

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/str/str.h"
#include "third_party/mbedtls/common.h"
#include "third_party/mbedtls/error.h"

View file

@ -1,7 +1,7 @@
#ifndef COSMOPOLITAN_THIRD_PARTY_MBEDTLS_PLATFORM_H_
#define COSMOPOLITAN_THIRD_PARTY_MBEDTLS_PLATFORM_H_
#include "libc/assert.h"
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "libc/calls/weirdtypes.h"
#include "libc/fmt/fmt.h"
#include "libc/mem/mem.h"

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/str/str.h"
#include "third_party/mbedtls/common.h"
#include "third_party/mbedtls/error.h"

View file

@ -1,6 +1,6 @@
#ifndef COSMOPOLITAN_THIRD_PARTY_MBEDTLS_PROFILE_H_
#define COSMOPOLITAN_THIRD_PARTY_MBEDTLS_PROFILE_H_
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/log/log.h"
#include "libc/nexgen32e/bench.h"
#include "libc/nexgen32e/rdtsc.h"

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/sock/sock.h"
#include "libc/sysv/consts/af.h"
#include "third_party/mbedtls/asn1.h"

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/asan.internal.h"
#include "libc/macros.internal.h"
#include "libc/nexgen32e/sha.h"

View file

@ -1,4 +1,4 @@
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/limits.h"
#include "third_party/mbedtls/asn1.h"
#include "third_party/mbedtls/bignum.h"

View file

@ -15,8 +15,8 @@
* limitations under the License.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/calls/calls.h"
#include "libc/dce.h"
#include "libc/fmt/conv.h"

View file

@ -20,7 +20,7 @@
#include "libc/testlib/testlib.h"
#include "libc/log/log.h"
#include "libc/rand/rand.h"
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/safemacros.internal.h"
#include "third_party/mbedtls/test/test.inc"
/*
* *** THIS FILE WAS MACHINE GENERATED ***

View file

@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/dirent.h"
#include "libc/calls/struct/stat.h"

View file

@ -1,6 +1,6 @@
#ifndef Py_CEVAL_H
#define Py_CEVAL_H
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "libc/dce.h"
#include "libc/runtime/stack.h"
#include "third_party/python/Include/object.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/nexgen32e/x86feature.h"
#include "libc/rand/rand.h"

View file

@ -7,7 +7,7 @@
#define PY_SSIZE_T_CLEAN
#include "libc/alg/alg.h"
#include "libc/assert.h"
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/calls/calls.h"
#include "libc/calls/internal.h"
#include "libc/calls/makedev.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#define PY_SSIZE_T_CLEAN
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/fmt/fmt.h"
#include "libc/nexgen32e/kompressor.h"
#include "third_party/python/Include/floatobject.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/fmt/fmt.h"
#include "third_party/python/Include/pyctype.h"
#include "third_party/python/Include/pyerrors.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "third_party/python/Modules/unicodedata.h"
#include "third_party/python/Modules/unicodedata_unidata.h"
/* clang-format off */

View file

@ -4,8 +4,8 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/bits.h"
#include "libc/bits/likely.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/likely.h"
#include "third_party/python/Include/pyerrors.h"
#include "third_party/python/Include/pymem.h"
#include "third_party/python/Modules/unicodedata.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "third_party/python/Include/pyerrors.h"
#include "third_party/python/Include/pymem.h"
#include "third_party/python/Modules/unicodedata.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/weirdtypes.h"
#include "libc/sysv/consts/s.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "libc/calls/calls.h"
#include "libc/log/countbranch.h"
#include "libc/runtime/runtime.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/cellobject.h"
#include "third_party/python/Include/code.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/assert.h"
#include "libc/bits/popcnt.h"
#include "libc/intrin/popcnt.h"
#include "libc/fmt/conv.h"
#include "libc/limits.h"
#include "libc/log/check.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "libc/log/countbranch.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/boolobject.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/dce.h"
#include "libc/fmt/fmt.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/assert.h"
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "libc/fmt/fmt.h"
#include "libc/log/countbranch.h"
#include "third_party/python/Include/abstract.h"

View file

@ -6,8 +6,8 @@
*/
#define PY_SSIZE_T_CLEAN
#include "libc/assert.h"
#include "libc/bits/likely.h"
#include "libc/bits/weaken.h"
#include "libc/intrin/likely.h"
#include "libc/intrin/weaken.h"
#include "libc/errno.h"
#include "libc/fmt/fmt.h"
#include "libc/log/countbranch.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#define PY_LOCAL_AGGRESSIVE
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/boolobject.h"
#include "third_party/python/Include/bytesobject.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/stdio/stdio.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/bytesobject.h"

View file

@ -18,7 +18,7 @@
*/
#define PY_SSIZE_T_CLEAN
#include "dsp/scale/cdecimate2xuint8x8.h"
#include "libc/bits/popcnt.h"
#include "libc/intrin/popcnt.h"
#include "libc/calls/calls.h"
#include "libc/dce.h"
#include "libc/errno.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/log/log.h"
#include "libc/stdio/stdio.h"
#include "third_party/python/Include/abstract.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/intrin/cmpxchg.h"
#include "libc/stdio/append.internal.h"
#include "libc/str/str.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/alg/alg.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/stat.h"
#include "libc/calls/struct/stat.macros.h"

View file

@ -4,7 +4,7 @@
Python 3
https://docs.python.org/3/license.html │
*/
#include "libc/bits/pushpop.h"
#include "libc/intrin/pushpop.h"
#include "libc/runtime/dlfcn.h"
#include "third_party/python/Include/ceval.h"
#include "third_party/python/Include/dictobject.h"

View file

@ -17,7 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/iovec.h"
#include "libc/calls/struct/stat.h"

View file

@ -17,7 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/iovec.h"
#include "libc/calls/struct/stat.h"

View file

@ -442,7 +442,6 @@ THIRD_PARTY_PYTHON_STAGE1_A_SRCS = \
THIRD_PARTY_PYTHON_STAGE1_A_DIRECTDEPS = \
DSP_SCALE \
LIBC_ALG \
LIBC_BITS \
LIBC_CALLS \
LIBC_FMT \
LIBC_INTRIN \
@ -1123,7 +1122,6 @@ THIRD_PARTY_PYTHON_STAGE2_A_DATA = \
THIRD_PARTY_PYTHON_STAGE2_A_DIRECTDEPS = \
DSP_CORE \
LIBC_ALG \
LIBC_BITS \
LIBC_CALLS \
LIBC_DNS \
LIBC_FMT \
@ -4358,7 +4356,7 @@ o/$(MODE)/third_party/python/freeze.com.dbg: \
o/$(MODE)/third_party/python/chibicc.inc: \
third_party/python/chibicc.inc \
libc/assert.h \
libc/bits/likely.h \
libc/intrin/likely.h \
libc/calls/struct/stat.h \
libc/calls/struct/timespec.h \
libc/dce.h \

View file

@ -5,9 +5,9 @@
https://docs.python.org/3/license.html │
*/
#define PY_SSIZE_T_CLEAN
#include "libc/bits/bits.h"
#include "libc/bits/safemacros.internal.h"
#include "libc/bits/weaken.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/intrin/weaken.h"
#include "libc/calls/calls.h"
#include "libc/calls/internal.h"
#include "libc/calls/struct/siginfo.h"

View file

@ -1,6 +1,6 @@
#ifndef COSMOPOLITAN_THIRD_PARTY_QUICKJS_CUTILS_H_
#define COSMOPOLITAN_THIRD_PARTY_QUICKJS_CUTILS_H_
#include "libc/bits/bswap.h"
#include "libc/intrin/bswap.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* clang-format off */

View file

@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "third_party/quickjs/leb128.h"
asm(".ident\t\"\\n\\n\

View file

@ -22,8 +22,8 @@
* THE SOFTWARE.
*/
#include "libc/assert.h"
#include "libc/bits/avxintrin.internal.h"
#include "libc/bits/likely.h"
#include "libc/intrin/avxintrin.internal.h"
#include "libc/intrin/likely.h"
#include "libc/inttypes.h"
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"

View file

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "libc/assert.h"
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "libc/fmt/fmt.h"
#include "libc/limits.h"
#include "libc/mem/alloca.h"

View file

@ -1,6 +1,6 @@
#ifndef COSMOPOLITAN_THIRD_PARTY_QUICKJS_QUICKJS_H_
#define COSMOPOLITAN_THIRD_PARTY_QUICKJS_QUICKJS_H_
#include "libc/bits/likely.h"
#include "libc/intrin/likely.h"
#include "libc/math.h"
#include "libc/stdio/stdio.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/safemacros.internal.h"
#include "libc/intrin/safemacros.internal.h"
#include "libc/fmt/fmt.h"
#include "libc/str/str.h"
#include "third_party/regex/regex.h"

View file

@ -1,6 +1,6 @@
#ifndef COSMOPOLITAN_THIRD_PARTY_SMALLZ4_SMALLZ4_H_
#define COSMOPOLITAN_THIRD_PARTY_SMALLZ4_SMALLZ4_H_
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "third_party/libcxx/vector"
/**

View file

@ -44,7 +44,6 @@ THIRD_PARTY_SQLITE3_A_CHECKS = \
THIRD_PARTY_SQLITE3_A_DIRECTDEPS = \
LIBC_ALG \
LIBC_BITS \
LIBC_CALLS \
LIBC_FMT \
LIBC_INTRIN \

View file

@ -27,7 +27,6 @@ THIRD_PARTY_STB_A_OBJS = \
THIRD_PARTY_STB_A_DIRECTDEPS = \
DSP_CORE \
LIBC_ALG \
LIBC_BITS \
LIBC_FMT \
LIBC_INTRIN \
LIBC_LOG \

View file

@ -17,7 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/fmt/conv.h"
#include "libc/limits.h"

View file

@ -26,8 +26,8 @@
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/bits/likely.h"
#include "libc/intrin/bits.h"
#include "libc/intrin/likely.h"
#include "libc/macros.internal.h"
#include "libc/math.h"
#include "libc/mem/mem.h"

View file

@ -34,7 +34,7 @@
//
#include "libc/alg/alg.h"
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/calls/calls.h"
#include "libc/fmt/conv.h"
#include "libc/limits.h"

View file

@ -17,7 +17,7 @@
limitations under the License.
*/
#include "libc/assert.h"
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/dce.h"
#include "libc/macros.internal.h"
#include "libc/nexgen32e/bsr.h"

View file

@ -5,8 +5,8 @@
Use of this source code is governed by the BSD-style licenses that can
be found in the third_party/zlib/LICENSE file.
*/
#include "libc/bits/emmintrin.internal.h"
#include "libc/bits/tmmintrin.internal.h"
#include "libc/intrin/emmintrin.internal.h"
#include "libc/intrin/tmmintrin.internal.h"
#include "third_party/zlib/internal.h"
asm(".ident\t\"\\n\\n\

View file

@ -1,6 +1,6 @@
#ifndef THIRD_PARTY_ZLIB_CHUNKCOPY_H
#define THIRD_PARTY_ZLIB_CHUNKCOPY_H
#include "libc/bits/emmintrin.internal.h"
#include "libc/intrin/emmintrin.internal.h"
#include "third_party/zlib/zutil.internal.h"
asm(".ident\t\"\\n\\n\

View file

@ -5,7 +5,7 @@
Use of this source code is governed by the BSD-style licenses that can
be found in the third_party/zlib/LICENSE file.
*/
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/dce.h"
#include "libc/nexgen32e/x86feature.h"
#include "libc/str/str.h"

View file

@ -5,10 +5,10 @@
Use of this source code is governed by the BSD-style licenses that can
be found in the third_party/zlib/LICENSE file.
*/
#include "libc/bits/emmintrin.internal.h"
#include "libc/bits/smmintrin.internal.h"
#include "libc/bits/tmmintrin.internal.h"
#include "libc/bits/wmmintrin.internal.h"
#include "libc/intrin/emmintrin.internal.h"
#include "libc/intrin/smmintrin.internal.h"
#include "libc/intrin/tmmintrin.internal.h"
#include "libc/intrin/wmmintrin.internal.h"
#include "libc/runtime/runtime.h"
#include "libc/str/str.h"
#include "third_party/zlib/deflate.internal.h"

View file

@ -5,7 +5,7 @@
Use of this source code is governed by the BSD-style licenses that can
be found in the third_party/zlib/LICENSE file.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "libc/dce.h"
#include "libc/macros.internal.h"
#include "libc/mem/mem.h"

View file

@ -5,7 +5,7 @@
Use of this source code is governed by the BSD-style licenses that can
be found in the third_party/zlib/LICENSE file.
*/
#include "libc/bits/emmintrin.internal.h"
#include "libc/intrin/emmintrin.internal.h"
#include "libc/str/str.h"
#include "third_party/zlib/deflate.internal.h"
#include "third_party/zlib/internal.h"

View file

@ -5,7 +5,7 @@
Use of this source code is governed by the BSD-style licenses that can
be found in the third_party/zlib/LICENSE file.
*/
#include "libc/bits/bits.h"
#include "libc/intrin/bits.h"
#include "third_party/zlib/chunkcopy.internal.h"
#include "third_party/zlib/inffast.internal.h"
#include "third_party/zlib/inflate.internal.h"

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/weaken.h"
#include "libc/intrin/weaken.h"
#include "libc/mem/mem.h"
#include "third_party/zlib/zutil.internal.h"