lib/std/buffer.zig | 6 +- lib/std/build.zig | 41 +- lib/std/builtin.zig | 9 + lib/std/debug.zig | 230 +-- lib/std/fmt.zig | 5 + lib/std/fmt/parse_float.zig | 4 + lib/std/io/test.zig | 4 + lib/std/math/fabs.zig | 4 + lib/std/math/isinf.zig | 12 + lib/std/math/isnan.zig | 4 + lib/std/meta.zig | 18 + lib/std/os/linux/tls.zig | 2 +- lib/std/special/compiler_rt/addXf3_test.zig | 8 + lib/std/special/compiler_rt/fixtfdi_test.zig | 4 + lib/std/special/compiler_rt/fixtfsi_test.zig | 4 + lib/std/special/compiler_rt/fixtfti_test.zig | 4 + lib/std/special/compiler_rt/fixunstfdi_test.zig | 4 + lib/std/special/compiler_rt/fixunstfsi_test.zig | 4 + lib/std/special/compiler_rt/fixunstfti_test.zig | 4 + lib/std/special/compiler_rt/floattitf_test.zig | 4 + lib/std/special/compiler_rt/floatuntitf_test.zig | 4 + lib/std/special/compiler_rt/mulXf3_test.zig | 4 + lib/std/special/compiler_rt/truncXfYf2_test.zig | 8 + lib/std/target.zig | 380 ++++- lib/std/target/aarch64.zig | 1450 ++++++++++++++++ lib/std/target/amdgpu.zig | 1315 +++++++++++++++ lib/std/target/arm.zig | 2333 ++++++++++++++++++++++++++ lib/std/target/avr.zig | 2380 ++++++++++++++++++++++++++ lib/std/target/bpf.zig | 76 + lib/std/target/hexagon.zig | 312 ++++ lib/std/target/mips.zig | 518 ++++++ lib/std/target/msp430.zig | 72 + lib/std/target/nvptx.zig | 309 ++++ lib/std/target/powerpc.zig | 938 +++++++++++ lib/std/target/riscv.zig | 122 ++ lib/std/target/sparc.zig | 495 ++++++ lib/std/target/systemz.zig | 510 ++++++ lib/std/target/wasm.zig | 114 ++ lib/std/target/x86.zig | 2859 ++++++++++++++++++++++++++++++++ src-self-hosted/main.zig | 46 +- src-self-hosted/print_targets.zig | 251 +++ src-self-hosted/stage1.zig | 305 +++- src/all_types.hpp | 1 + src/codegen.cpp | 90 +- src/error.cpp | 6 + src/ir.cpp | 6 +- src/main.cpp | 111 +- src/target.cpp | 15 +- src/target.hpp | 1 + src/userland.cpp | 58 +- src/userland.h | 31 + src/zig_llvm.cpp | 4 +- test/compile_errors.zig | 11 +- test/stage1/behavior/math.zig | 8 + test/tests.zig | 416 ++--- test/translate_c.zig | 22 +- 56 files changed, 15447 insertions(+), 509 deletions(-)