Overview
Comment: | fix check for 128-bit int type |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1fba7a324a8e5b68a6f7470bb7e0cf07 |
User & Date: | lexi on 2019-08-25 02:47:23 |
Other Links: | manifest | tags |
Context
2019-08-25
| ||
03:55 | remove useless script, delete junk files, credit contributors, add documentation for typesize.c check-in: 312e446cfc user: lexi tags: trunk | |
02:47 | fix check for 128-bit int type check-in: 1fba7a324a user: lexi tags: trunk | |
02:42 | arch: add script to generate linux syscall tables from generic headers; add arm.lin.64 (untested) check-in: c15c92895e user: lachs0r tags: trunk | |
Changes
Modified mod/kcore/type.h.m from [88fed336c0] to [b30ab22689].
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
ifdef(“type_bit64”,“
typedef unsigned type_bit64 u64;
typedef signed type_bit64 s64;
ifdef(“type_bit128”,,“
/* even if no native type is 128 bits long, clang and
* gcc have extensions to support 128 bit arithmetic
* on 64-bit hardware */
# if defined(__GNUC__) || defined(__clang__)
typedef __uint128_t u128;
typedef __int128_t s128;
# else
/* if we don`'t have access to that extension
* or native 128-bit types, then we just use
* the largest native type specified in the
* C standard */
|
| | |
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
ifdef(“type_bit64”,“ typedef unsigned type_bit64 u64; typedef signed type_bit64 s64; ifdef(“type_bit128”,,“ /* even if no native type is 128 bits long, clang and * gcc have extensions to support 128 bit arithmetic * on some 64-bit hardware */ # ifdef __SIZEOF_INT128__ typedef __uint128_t u128; typedef __int128_t s128; # else /* if we don`'t have access to that extension * or native 128-bit types, then we just use * the largest native type specified in the * C standard */ |