path
stringlengths
14
112
content
stringlengths
0
6.32M
size
int64
0
6.32M
max_lines
int64
1
100k
repo_name
stringclasses
2 values
autogenerated
bool
1 class
cosmopolitan/libc/intrin/pslld.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PSLLD_H_ #define COSMOPOLITAN_LIBC_INTRIN_PSLLD_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pslld(uint32_t[4], const uint32_t[4], unsigned char); void pslldv(uint32_t[4], const uint32_t[4], const uint64_t[2]); #define pslld(A, B,...
593
17
jart/cosmopolitan
false
cosmopolitan/libc/intrin/bsr.h
#ifndef COSMOPOLITAN_LIBC_NEXGEN32E_BSR_H_ #define COSMOPOLITAN_LIBC_NEXGEN32E_BSR_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int _bsr(int) pureconst; int _bsrl(long) pureconst; int _bsrll(long long) pureconst; #if defined(__GNUC__) && !defined(__STRICT_ANSI__) #ifdef __x86_64__ int _bsr128(uint12...
1,408
36
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describesleepflags.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,264
38
jart/cosmopolitan
false
cosmopolitan/libc/intrin/strrchr.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,212
35
jart/cosmopolitan
false
cosmopolitan/libc/intrin/cxalock.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,289
39
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pavgw.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,311
38
jart/cosmopolitan
false
cosmopolitan/libc/intrin/phaddsw.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,558
46
jart/cosmopolitan
false
cosmopolitan/libc/intrin/getmagnumstr.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,091
30
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psubusw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PSUBUSW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PSUBUSW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void psubusw(uint16_t[8], const uint16_t[8], const uint16_t[8]); #define psubusw(A, B, C) \ INTRIN_SSEVEX_X_X_X_(psubusw, SSE2, "psubusw...
472
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psrawv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,171
35
jart/cosmopolitan
false
cosmopolitan/libc/intrin/feupdateenv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,069
30
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pushpop.h
#ifndef COSMOPOLITAN_LIBC_BITS_PUSHPOP_H_ #define COSMOPOLITAN_LIBC_BITS_PUSHPOP_H_ #include "libc/macros.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) #if !defined(__GNUC__) || defined(__STRICT_ANSI__) || !defined(__x86_64__) #define pushpop(x) (x) #else /** * PushPop * An elegant weapon for a more civilized ag...
2,547
56
jart/cosmopolitan
false
cosmopolitan/libc/intrin/sigandset.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,247
37
jart/cosmopolitan
false
cosmopolitan/libc/intrin/xchg.internal.h
#ifndef COSMOPOLITAN_LIBC_BITS_XCHG_H_ #define COSMOPOLITAN_LIBC_BITS_XCHG_H_ #include "libc/str/str.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) /** * Exchanges *MEMORY into *LOCALVAR. * * @return *MEMORY * todo(jart): what's the point of this? */ #define xchg(MEMORY, LOCALVAR) \ ({ ...
762
25
jart/cosmopolitan
false
cosmopolitan/libc/intrin/kmalloc.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_KMALLOC_H_ #define COSMOPOLITAN_LIBC_INTRIN_KMALLOC_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void *kmalloc(size_t) mallocesque attributeallocsize((1)) returnsaligned((8)); void __kmalloc_lock(void); void __kmalloc_unlock(void); COSMOPOLITAN_C_END_ #endif /* !(__...
402
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/segmentation.h
#ifndef COSMOPOLITAN_LIBC_BITS_SEGMENTATION_H_ #define COSMOPOLITAN_LIBC_BITS_SEGMENTATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) #if defined(__GNUC__) && !defined(__STRICT_ANSI__) /** * Reads scalar from memory, offset by segment. * * @return *(MEM) relative to segment * @see arch_prctl() * @see pushpop() */ ...
876
26
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describesigaction.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,700
84
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pthread_cleanup_push.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,282
33
jart/cosmopolitan
false
cosmopolitan/libc/intrin/sigaddset.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,482
43
jart/cosmopolitan
false
cosmopolitan/libc/intrin/sigorset.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,245
37
jart/cosmopolitan
false
cosmopolitan/libc/intrin/strchr.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,498
121
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pabsw.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,221
35
jart/cosmopolitan
false
cosmopolitan/libc/intrin/prot2nt.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,603
48
jart/cosmopolitan
false
cosmopolitan/libc/intrin/phsubd.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PHSUBD_H_ #define COSMOPOLITAN_LIBC_INTRIN_PHSUBD_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void phsubd(uint32_t[4], const uint32_t[4], const uint32_t[4]); #define phsubd(A, B, C) \ INTRIN_SSEVEX_X_X_X_(phsubd, SSSE3, "phsubd", IN...
466
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describefutexop.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,735
63
jart/cosmopolitan
false
cosmopolitan/libc/intrin/mman.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
14,322
319
jart/cosmopolitan
false
cosmopolitan/libc/intrin/_getauxval.internal.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_GETAUXVAL_INTERNAL_H_ #define COSMOPOLITAN_LIBC_INTRIN_GETAUXVAL_INTERNAL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct AuxiliaryValue { unsigned long value; bool isfound; }; struct AuxiliaryValue _getauxval(unsigned long); COSMOPOLITAN_C_END_ #endif /* !(...
415
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/phaddw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PHADDW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PHADDW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void phaddw(int16_t[8], const int16_t[8], const int16_t[8]); #define phaddw(A, B, C) \ INTRIN_SSEVEX_X_X_X_(phaddw, SSSE3, "phaddw", INTRI...
463
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/comparetf2.c
/* clang-format off */ //===-- lib/comparetf2.c - Quad-precision comparisons -------------*- C -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-----------------...
4,281
136
jart/cosmopolitan
false
cosmopolitan/libc/intrin/wrfsbase.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,035
32
jart/cosmopolitan
false
cosmopolitan/libc/intrin/punpcklbw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PUNPCKLBW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PUNPCKLBW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void punpcklbw(uint8_t[16], const uint8_t[16], const uint8_t[16]); #define punpcklbw(A, B, C) ...
563
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describehow.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,178
30
jart/cosmopolitan
false
cosmopolitan/libc/intrin/promises.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,082
27
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describerlimit.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,389
36
jart/cosmopolitan
false
cosmopolitan/libc/intrin/strsignal.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,634
42
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pmaxub.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PMAXUB_H_ #define COSMOPOLITAN_LIBC_INTRIN_PMAXUB_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pmaxub(unsigned char[16], const unsigned char[16], const unsigned char[16]); #define pmaxub(A, B, C) \ INTRIN_SSEVEX_X_X_...
492
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describestringlist.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,417
47
jart/cosmopolitan
false
cosmopolitan/libc/intrin/strerrno.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,103
32
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psrld.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PSRLD_H_ #define COSMOPOLITAN_LIBC_INTRIN_PSRLD_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void psrld(uint32_t[4], const uint32_t[4], unsigned char); void psrldv(uint32_t[4], const uint32_t[4], const uint64_t[2]); #define psrld(A, B,...
593
17
jart/cosmopolitan
false
cosmopolitan/libc/intrin/mmi.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,080
29
jart/cosmopolitan
false
cosmopolitan/libc/intrin/clearenv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,086
32
jart/cosmopolitan
false
cosmopolitan/libc/intrin/__pid_exec.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 sw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,133
34
jart/cosmopolitan
false
cosmopolitan/libc/intrin/waitforsingleobject.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,478
38
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pminsw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PMINSW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PMINSW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pminsw(int16_t[8], const int16_t[8], const int16_t[8]); #define pminsw(A, B, C) \ INTRIN_SSEVEX_X_X_X_(pminsw, SSE2, "pminsw", INTRIN...
459
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/isloopbackip.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,004
27
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pmulhuw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PMULHUW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PMULHUW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pmulhuw(uint16_t[8], const uint16_t[8], const uint16_t[8]); #define pmulhuw(A, B, C) \ INTRIN_SSEVEX_X_X_X_(pmulhuw, SSE2, "pmulhuw...
469
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/strerdoc.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,135
33
jart/cosmopolitan
false
cosmopolitan/libc/intrin/ftrace.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,605
44
jart/cosmopolitan
false
cosmopolitan/libc/intrin/asancodes.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_ASANCODES_H_ #define COSMOPOLITAN_LIBC_INTRIN_ASANCODES_H_ #define kAsanScale 3 #define kAsanMagic 0x7fff8000 #define kAsanNullPage -1 /* ∅ 0xff */ #define kAsanProtected -2 /* P 0xfe */ #define kAsanHeapFree -3 /* F 0xfd */ #define kAsanHeapRelo...
1,172
29
jart/cosmopolitan
false
cosmopolitan/libc/intrin/shufps.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_SHUFPS_H_ #define COSMOPOLITAN_LIBC_INTRIN_SHUFPS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void shufps(float[4], const float[4], const float[4], uint8_t); #if !defined(__STRICT_ANSI__) && !defined(__chibicc__) typedef float shufps_t _Vector_size(16) forcealign(16...
2,258
42
jart/cosmopolitan
false
cosmopolitan/libc/intrin/punpcklqdq.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PUNPCKLQDQ_H_ #define COSMOPOLITAN_LIBC_INTRIN_PUNPCKLQDQ_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void punpcklqdq(uint64_t[2], const uint64_t[2], const uint64_t[2]); #define punpcklqdq(A, B, C) ...
568
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/fenv.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
5,715
212
jart/cosmopolitan
false
cosmopolitan/libc/intrin/sigdelset.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,376
39
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pabsw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PABSW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PABSW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pabsw(uint16_t[8], const int16_t[8]); #define pabsw(A, B) INTRIN_SSEVEX_X_X_(pabsw, SSSE3, "pabsw", A, B) COSMOPOLITAN_C_END_ #endif /* ...
404
14
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describeiovec.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,970
69
jart/cosmopolitan
false
cosmopolitan/libc/intrin/cxaatexit.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,402
72
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pminub.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PMINUB_H_ #define COSMOPOLITAN_LIBC_INTRIN_PMINUB_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pminub(unsigned char[16], const unsigned char[16], const unsigned char[16]); #define pminub(A, B, C) \ INTRIN_SSEVEX_X_X_...
492
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/memmove.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
12,943
348
jart/cosmopolitan
false
cosmopolitan/libc/intrin/sigisprecious.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,096
31
jart/cosmopolitan
false
cosmopolitan/libc/intrin/rdgsbase.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,029
32
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pthread_spin_unlock.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,328
37
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describentpipeopenflags.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,396
34
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psubsb.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PSUBSB_H_ #define COSMOPOLITAN_LIBC_INTRIN_PSUBSB_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void psubsb(int8_t[16], const int8_t[16], const int8_t[16]); #define psubsb(A, B, C) \ INTRIN_SSEVEX_X_X_X_(psubsb, SSE2, "psubsb", INTRIN...
462
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describebacktrace.internal.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_DESCRIBEBACKTRACE_INTERNAL_H_ #define COSMOPOLITAN_LIBC_INTRIN_DESCRIBEBACKTRACE_INTERNAL_H_ #include "libc/mem/alloca.h" #include "libc/nexgen32e/stackframe.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ const char *DescribeBacktrace(char[64], struct StackFrame *); #de...
515
14
jart/cosmopolitan
false
cosmopolitan/libc/intrin/g_fds.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,969
87
jart/cosmopolitan
false
cosmopolitan/libc/intrin/cxablocks.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
1,918
22
jart/cosmopolitan
false
cosmopolitan/libc/intrin/packusdw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PACKUSDW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PACKUSDW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void packusdw(uint16_t[8], const int32_t[4], const int32_t[4]); #define packusdw(A, B, C) ...
557
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psraw.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,204
35
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pshufb.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,383
38
jart/cosmopolitan
false
cosmopolitan/libc/intrin/dos2errno.internal.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_DOS2ERRNO_INTERNAL_H_ #define COSMOPOLITAN_LIBC_INTRIN_DOS2ERRNO_INTERNAL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct thatispacked Dos2Errno { uint16_t doscode; int32_t systemv; }; extern const struct Dos2Errno kDos2Errno[]; COSMOPOLITAN_C_END_ #endif /*...
418
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psrlwv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,230
38
jart/cosmopolitan
false
cosmopolitan/libc/intrin/strlen.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,029
63
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psraw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PSRAW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PSRAW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void psraw(int16_t[8], const int16_t[8], unsigned char); void psrawv(int16_t[8], const int16_t[8], const uint64_t[2]); #define psraw(A, B, I) ...
589
17
jart/cosmopolitan
false
cosmopolitan/libc/intrin/phaddd.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,386
39
jart/cosmopolitan
false
cosmopolitan/libc/intrin/kdos2errno.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,181
33
jart/cosmopolitan
false
cosmopolitan/libc/intrin/psllwv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,170
37
jart/cosmopolitan
false
cosmopolitan/libc/intrin/bsr.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,395
83
jart/cosmopolitan
false
cosmopolitan/libc/intrin/leaky.internal.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_LEAKY_INTERNAL_H_ #define COSMOPOLITAN_LIBC_INTRIN_LEAKY_INTERNAL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define IGNORE_LEAKS(FUNC) \ STATIC_YOINK("_leaky_start"); \ void *_leaky_##FUNC...
673
17
jart/cosmopolitan
false
cosmopolitan/libc/intrin/shufpd.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_SHUFPD_H_ #define COSMOPOLITAN_LIBC_INTRIN_SHUFPD_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void shufpd(double[2], const double[2], const double[2], uint8_t); #if !defined(__STRICT_ANSI__) && !defined(__chibicc__) typedef double shufpd_t _Vector_size(16) forcealig...
2,262
42
jart/cosmopolitan
false
cosmopolitan/libc/intrin/wrgsbase.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
1,992
29
jart/cosmopolitan
false
cosmopolitan/libc/intrin/phsubd.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,363
39
jart/cosmopolitan
false
cosmopolitan/libc/intrin/asaninit.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,045
32
jart/cosmopolitan
false
cosmopolitan/libc/intrin/packuswb.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PACKUSWB_H_ #define COSMOPOLITAN_LIBC_INTRIN_PACKUSWB_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void packuswb(uint8_t[16], const int16_t[8], const int16_t[8]); #define packuswb(A, B, C) ...
553
16
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pmovmskb.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PMOVMSKB_H_ #define COSMOPOLITAN_LIBC_INTRIN_PMOVMSKB_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ uint32_t pmovmskb(const uint8_t[16]); #if defined(__x86_64__) && defined(__GNUC__) #define pmovmskb(A) ...
1,307
30
jart/cosmopolitan
false
cosmopolitan/libc/intrin/createpipe.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,745
44
jart/cosmopolitan
false
cosmopolitan/libc/intrin/ksockoptnames.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,747
53
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pcmpgtd.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PCMPGTD_H_ #define COSMOPOLITAN_LIBC_INTRIN_PCMPGTD_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pcmpgtd(int32_t[4], const int32_t[4], const int32_t[4]); #define pcmpgtd(A, B, C) \ INTRIN_SSEVEX_X_X_X_(pcmpgtd, SSE2, "pcmpgtd", ...
469
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/unmorton.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,477
42
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describeptrace.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,712
58
jart/cosmopolitan
false
cosmopolitan/libc/intrin/bsf.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
4,404
83
jart/cosmopolitan
false
cosmopolitan/libc/intrin/describentpageflags.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,227
47
jart/cosmopolitan
false
cosmopolitan/libc/intrin/getcpuidbrand.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,255
38
jart/cosmopolitan
false
cosmopolitan/libc/intrin/createfilemapping.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
3,217
53
jart/cosmopolitan
false
cosmopolitan/libc/intrin/movefileex.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,640
41
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pcmpgtw.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PCMPGTW_H_ #define COSMOPOLITAN_LIBC_INTRIN_PCMPGTW_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pcmpgtw(int16_t[8], const int16_t[8], const int16_t[8]); #define pcmpgtw(A, B, C) \ INTRIN_SSEVEX_X_X_X_(pcmpgtw, SSE2, "pcmpgtw", ...
469
15
jart/cosmopolitan
false
cosmopolitan/libc/intrin/createdirectory.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,645
43
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pslldq.h
#ifndef COSMOPOLITAN_LIBC_INTRIN_PSLLDQ_H_ #define COSMOPOLITAN_LIBC_INTRIN_PSLLDQ_H_ #include "libc/intrin/macros.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void pslldq(uint8_t[16], const uint8_t[16], unsigned long); #if defined(__x86_64__) && !defined(__STRICT_ANSI__) __intrin_xmm_t __pslldqs(__...
2,144
39
jart/cosmopolitan
false
cosmopolitan/libc/intrin/unmapviewoffile.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,375
36
jart/cosmopolitan
false
cosmopolitan/libc/intrin/winerr.greg.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,387
45
jart/cosmopolitan
false
cosmopolitan/libc/intrin/pext.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞═════════════════════════════════════════════════â•...
2,095
34
jart/cosmopolitan
false