mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Make fixupobj work on Windows
This fixes a regression with recent cosmocc toolchain releases that causes fixupobj to fail with "ifunc ftruncate #1 failed" on Windows
This commit is contained in:
parent
9a10adac35
commit
045632a743
7 changed files with 38 additions and 15 deletions
|
@ -61,6 +61,12 @@
|
|||
#define _X86_CC_AVX512BF16 0
|
||||
#endif
|
||||
|
||||
#ifdef __AVX512FP16__
|
||||
#define _X86_CC_AVX512FP16 1
|
||||
#else
|
||||
#define _X86_CC_AVX512FP16 0
|
||||
#endif
|
||||
|
||||
#ifdef __AVX512VBMI__
|
||||
#define _X86_CC_AVX512VBMI 1
|
||||
#else
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#define X86_AVX512VL 7H, EBX, 31, 0
|
||||
#define X86_AVX512_4FMAPS 7H, EDX, 3, 0
|
||||
#define X86_AVX512_4VNNIW 7H, EDX, 2, _X86_CC_AVX5124VNNIW
|
||||
#define X86_AVX512_FP16 7H, EDX, 23, _X86_CC_AVX512FP16
|
||||
#define X86_AVX512_BF16 7H, EAX, 5, _X86_CC_AVX512BF16
|
||||
#define X86_AVX512_BITALG 7H, ECX, 12, 0
|
||||
#define X86_AVX512_VBMI2 7H, ECX, 6, 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue