mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Make small fixes and oops ran clang-format on dtoa
This commit is contained in:
parent
b5b60015f5
commit
ac00be1a4e
47 changed files with 4933 additions and 5306 deletions
44
third_party/xed/avx512.h
vendored
Normal file
44
third_party/xed/avx512.h
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
#ifndef COSMOPOLITAN_THIRD_PARTY_XED_AVX512_H_
|
||||
#define COSMOPOLITAN_THIRD_PARTY_XED_AVX512_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
union XedAvx512Payload1 {
|
||||
struct {
|
||||
unsigned map : 4;
|
||||
unsigned rr_inv : 1;
|
||||
unsigned b_inv : 1;
|
||||
unsigned x_inv : 1;
|
||||
unsigned r_inv : 1;
|
||||
unsigned pad : 24;
|
||||
} s;
|
||||
unsigned u32;
|
||||
};
|
||||
|
||||
union XedAvx512Payload2 {
|
||||
struct {
|
||||
unsigned pp : 2;
|
||||
unsigned ubit : 1;
|
||||
unsigned vexdest210 : 3;
|
||||
unsigned vexdest3 : 1;
|
||||
unsigned rexw : 1;
|
||||
unsigned pad : 24;
|
||||
} s;
|
||||
unsigned u32;
|
||||
};
|
||||
|
||||
union XedAvx512Payload3 {
|
||||
struct {
|
||||
unsigned mask : 3;
|
||||
unsigned vexdest4p : 1;
|
||||
unsigned bcrc : 1;
|
||||
unsigned llrc : 2;
|
||||
unsigned z : 1;
|
||||
unsigned pad : 24;
|
||||
} s;
|
||||
unsigned u32;
|
||||
};
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_THIRD_PARTY_XED_AVX512_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue