mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
e522aa3a07
- ASAN memory morgue is now lockless - Make C11 atomics header more portable - Rewrote pthread keys support to be lockless - Simplify Python's unicode table unpacking code - Make crash report write(2) closer to being atomic - Make it possible to strace/ftrace a single thread - ASAN now checks nul-terminated strings fast and properly - Windows fork() now restores TLS memory of calling thread
28 lines
1.5 KiB
C
28 lines
1.5 KiB
C
#include "libc/x/x.h"
|
|
/* clang-format off */
|
|
|
|
static _Atomic(void *) cp949ext_decmap_ptr;
|
|
static const unsigned char cp949ext_decmap_rodata[] = {
|
|
0xed, 0xd1, 0xaf, 0x37, 0x83, 0x61, 0x00, 0xc5, 0xf1, 0xf7, 0x31, 0x0c, 0xf3,
|
|
0x63, 0x36, 0x8c, 0xcd, 0xcc, 0xb3, 0x59, 0x5a, 0x14, 0x97, 0x6e, 0x58, 0x54,
|
|
0x9c, 0x23, 0x0a, 0x82, 0x28, 0x8a, 0x82, 0x24, 0x8a, 0xa2, 0x57, 0x12, 0x17,
|
|
0x45, 0xe7, 0x89, 0xa2, 0xb8, 0xf8, 0xc4, 0x45, 0x51, 0xb9, 0xc7, 0xf7, 0xff,
|
|
0x98, 0x7b, 0xce, 0x27, 0x7d, 0xe3, 0x2d, 0x8a, 0xff, 0x2d, 0xfa, 0x42, 0x21,
|
|
0x7f, 0xe2, 0x21, 0xc8, 0xe3, 0x25, 0xf9, 0x17, 0x1f, 0x15, 0xf9, 0x7e, 0x59,
|
|
0x3e, 0x5f, 0x91, 0x7f, 0x30, 0x5d, 0x95, 0xef, 0xaa, 0xf2, 0x68, 0x4d, 0x9e,
|
|
0xe3, 0x7d, 0x5d, 0xbe, 0xdd, 0x90, 0x07, 0x35, 0x39, 0xe3, 0x75, 0x53, 0xbe,
|
|
0xde, 0x92, 0x3b, 0xdb, 0xf2, 0x0c, 0x2f, 0x3b, 0xf2, 0x55, 0x5d, 0x6e, 0xee,
|
|
0xca, 0xdf, 0x78, 0x6e, 0xc8, 0x17, 0x4d, 0xb9, 0xb6, 0x27, 0x7f, 0xe1, 0x69,
|
|
0x5f, 0x9e, 0x1c, 0xc8, 0x95, 0x96, 0x9c, 0x5a, 0x2a, 0xe3, 0xa1, 0xca, 0x47,
|
|
0x64, 0xe8, 0x48, 0xe5, 0x1b, 0x42, 0x5b, 0xe5, 0x0d, 0x12, 0x62, 0x87, 0x8e,
|
|
0x0c, 0x1d, 0xd3, 0x11, 0xba, 0x74, 0x24, 0xc4, 0x13, 0x3a, 0x32, 0xd4, 0xa3,
|
|
0x23, 0x9c, 0xd2, 0x91, 0x10, 0x23, 0x1d, 0x19, 0xea, 0xd3, 0x11, 0x06, 0x74,
|
|
0x24, 0xc4, 0x33, 0x3a, 0x32, 0x34, 0xa4, 0x0f, 0x75, 0xb9, 0x08, 0xdf, 0xff,
|
|
0x01,
|
|
};
|
|
|
|
optimizesize void *cp949ext_decmap(void) {
|
|
return xload(&cp949ext_decmap_ptr,
|
|
cp949ext_decmap_rodata,
|
|
196, 1024); /* 19.1406% profit */
|
|
}
|