sema: add f80/f128 support to floatTypeBits, enable negxf2.zig

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-20 16:32:40 +00:00
parent cf4fcb60c2
commit a0ca867ad3
2 changed files with 3 additions and 1 deletions

View File

@@ -2171,6 +2171,8 @@ static uint32_t floatTypeBits(InternPoolIndex ty) {
case IP_INDEX_F16_TYPE: return 16;
case IP_INDEX_F32_TYPE: return 32;
case IP_INDEX_F64_TYPE: return 64;
case IP_INDEX_F80_TYPE: return 80;
case IP_INDEX_F128_TYPE: return 128;
default: return 0;
}
}

View File

@@ -103,7 +103,7 @@ const corpus_files = .{
"../lib/std/os/uefi/tables/table_header.zig", // 214
"../lib/std/zig/llvm.zig", // 247
"../lib/compiler_rt/neghf2.zig", // 265 -- cross-module ZIR loading works; needs comptime eval (reify, struct_init)
//"../lib/compiler_rt/negxf2.zig", // 265 -- @export+func_fancy handled; body analysis incomplete
"../lib/compiler_rt/negxf2.zig", // 265 -- @export+func_fancy handled; body analysis incomplete
//"../lib/compiler_rt/absvdi2.zig", // 311 -- @export+func_fancy handled; body analysis incomplete
//"../lib/compiler_rt/absvsi2.zig", // 311 -- @export+func_fancy handled; body analysis incomplete
//"../lib/compiler_rt/absvti2.zig", // 314 -- @export+func_fancy handled; body analysis incomplete