stage1: update zig1.wasm

Signed-off-by: Alex Rønne Petersen <alex@alexrp.com>
This commit is contained in:
Alex Rønne Petersen committed 2026-10-26 11:10:48 +01:00
1 parent 2d6ff903a1
commit cc5976f9b2
2 files changed
+9 -13

No files matched your search

+9 -13
View File
@@ -99,6 +99,8 @@
#define zig_x86
#elif defined(__xtensa__)
#define zig_xtensa
#elif defined (__z80)
#define zig_z80
#elif defined (__ez80)
#define zig_ez80
#define zig_z80
@@ -261,6 +263,12 @@
#define zig_no_builtin
#endif
#if zig_has_attribute(patchable_function_entry)
#define zig_patchable_function_entry(count) __attribute__((patchable_function_entry(count)))
#else
#define zig_patchable_function_entry(count) zig_patchable_function_entry_unavailable
#endif
#if zig_has_attribute(aligned) || defined(zig_tinyc)
#define zig_under_align(alignment) __attribute__((aligned(alignment)))
#elif defined(zig_msvc)
@@ -6725,19 +6733,7 @@ static inline void* zig_e_zig_windows_peb(void) {
#endif
#if defined(zig_loongarch)
static inline void zig_e_zig_loongarch_cpucfg(uint32_t word, uint32_t* result) zig_mangled(zig_e_zig_loongarch_cpucfg, "zig_loongarch_cpucfg");
static inline void zig_e_zig_loongarch_cpucfg(uint32_t word, uint32_t* result) {
#if defined(zig_gnuc_asm)
__asm__("cpucfg %[result], %[word]" : [result] "=r" (*result) : [word] "r" (word));
#else
*result = 0;
#endif
}
#elif defined(zig_x86) && !defined(zig_x86_16)
#if defined(zig_x86) && !defined(zig_x86_16)
static inline void zig_e_zig_x86_cpuid(uint32_t leaf_id, uint32_t subid, uint32_t* eax, uint32_t* ebx, uint32_t* ecx, uint32_t* edx) zig_mangled(zig_e_zig_x86_cpuid, "zig_x86_cpuid");
static inline uint32_t zig_e_zig_x86_get_xcr0(void) zig_mangled(zig_e_zig_x86_get_xcr0, "zig_x86_get_xcr0");
BIN
View File
Binary file not shown.