aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/flt.c
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2025-11-23 21:54:40 +0100
committer lemon<lsof@mailbox.org>2025-11-23 21:57:01 +0100
commit6464ec389e2da17b1674858858406e211b16e5f6 (patch)
tree1b82b733851b88a0868635c6ab5afe1ea2298b7c /test/flt.c
parentd79251d487b57ea0e3b10640747eed723a06365c (diff)
ir: implement cvtu64f. and other bug fixes
compiler is bootstrapping?! however, stage1 and stage2+ executables aren't bit-identical.. small differences in the codegen.. need to look into that
Diffstat (limited to 'test/flt.c')
-rw-r--r--test/flt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/flt.c b/test/flt.c
index 2ae773d..04ce3e3 100644
--- a/test/flt.c
+++ b/test/flt.c
@@ -10,9 +10,9 @@ f32 u32_to_f32(u32 x) { return x; }
f64 s32_to_f64(s32 x) { return x; }
f64 u32_to_f64(u32 x) { return x; }
f32 s64_to_f32(s64 x) { return x; }
-//f32 u64_to_f32(u64 x) { return x; }
+f32 u64_to_f32(u64 x) { return x; }
f64 s64_to_f64(s64 x) { return x; }
-//f64 u64_to_f64(u64 x) { return x; }
+f64 u64_to_f64(u64 x) { return x; }
s32 f32_to_s32(f32 x) { return x; }
u32 f32_to_u32(f32 x) { return x; }
s32 f64_to_s32(f64 x) { return x; }