0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/debug
Alex Rønne Petersen 68d86c9d45
std.Target: add a bunch more mips Arch tags
A tag with "f32" assumes 32-bit wide floating point registers, while "f64"
assumes 64-bit wide. Absence of either "f32" or "f64" means that the target is
FPR width agnostic (O32) or the width is 64-bit by definition (R6, N64/N32).

Tags with "n8" use IEEE 754-2008 NaN encoding. Similar to FPR width, it is
omitted on tags that use 2008 encoding by definition (R6).

Tags with "r6" need to exist because R6 is effectively an incompatible ISA; it
re-encodes some of the instruction encoding space from earlier revisions.

To be clear, as ridiculous as this is, the list of new tags here *is* already
the curated list; the full list of tags that are architecturally valid is even
longer, but I deliberately left out those that would have no realistic use. Even
with that, we'll have to add more tags later for microMIPS and nanoMIPS...

I expect https://github.com/ziglang/zig/issues/21507 to make all of this less
painful once implemented.

On the plus side, we can now fully determine the float ABI and standard dynamic
linker path from the target triple for all supported targets. Besides just being
nicer, this also means we no longer have a chicken-and-egg problem in target
resolution when we want the ABI to affect default CPU features.

closes https://codeberg.org/ziglang/zig/issues/31325
History 2026-11-11 02:03:15 +01:00
..
Dwarf Replace packed with bitpack internally 2026-11-06 20:14:04 -08:00
SelfInfo std.Target: add a bunch more mips Arch tags 2026-11-11 02:03:15 +01:00
Coverage.zig zig fmt 2026-07-17 23:30:26 +02:00
cpu_context.zig std.Target: add a bunch more mips Arch tags 2026-11-11 02:03:15 +01:00
Dwarf.zig std.Target: add a bunch more mips Arch tags 2026-11-11 02:03:15 +01:00
ElfFile.zig Merge pull request 'Update usages of more deprecated functions' (#37576) from Der_Teufel/zig:remove-deprecated-mem into master 2026-11-08 23:24:02 +01:00
Info.zig std.debug.Info: make Mach-O source location resolution more resilient 2026-03-20 17:19:28 +01:00
MachOFile.zig Merge pull request 'Update usages of more deprecated functions' (#37576) from Der_Teufel/zig:remove-deprecated-mem into master 2026-11-08 23:24:02 +01:00
no_panic.zig sema: improve @errorCast safety check message 2026-08-05 03:29:37 +02:00
Pdb.zig Replace packed with bitpack internally 2026-11-06 20:14:04 -08:00
simple_panic.zig Fix simple_panic 2026-10-03 19:36:46 +02:00