aboutsummaryrefslogtreecommitdiff
path: root/lib/zig.h
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-06-27 21:59:45 -0400
committerAndrew Kelley <andrew@ziglang.org>2023-07-04 15:47:07 -0700
commit78eb3c561746a4dd86a67f927d244a3e8f46ad00 (patch)
tree74030f8599dd7d134935a3cd610e0ebd74a34ff1 /lib/zig.h
parent8ae92fd17ee9a3d46e4f441864a8544b440c0b2d (diff)
downloadzig-78eb3c561746a4dd86a67f927d244a3e8f46ad00.tar.gz
zig-78eb3c561746a4dd86a67f927d244a3e8f46ad00.zip
bootstrap: support aarch64 in 32-bit mode
* `CMakeLists.txt`: support the weird `uname -m` output. * `CMakeLists.txt`: detect and use the C compiler's default arm mode. * cbe: support gcc with both `f128` and `u128` emulated. * std.os.linux.thumb: fix incorrectly passed asm inputs.
Diffstat (limited to 'lib/zig.h')
-rw-r--r--lib/zig.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/zig.h b/lib/zig.h
index f0c6f4178b..2224e71764 100644
--- a/lib/zig.h
+++ b/lib/zig.h
@@ -3178,18 +3178,6 @@ zig_bitCast_float(f64, uint64_t)
zig_bitCast_float(f80, zig_u128)
zig_bitCast_float(f128, zig_u128)
-#define zig_cast_f16 (zig_f16)
-#define zig_cast_f32 (zig_f32)
-#define zig_cast_f64 (zig_f64)
-
-#if _MSC_VER && !zig_has_f128
-#define zig_cast_f80
-#define zig_cast_f128
-#else
-#define zig_cast_f80 (zig_f80)
-#define zig_cast_f128 (zig_f128)
-#endif
-
#define zig_convert_builtin(ExternResType, ResType, operation, ExternArgType, ArgType, version) \
zig_extern ExternResType zig_expand_concat(zig_expand_concat(zig_expand_concat(__##operation, \
zig_compiler_rt_abbrev_##ArgType), zig_compiler_rt_abbrev_##ResType), version)(ExternArgType); \