lib/compiler_rt.zig | 30 +- lib/compiler_rt/divc3_test.zig | 2 +- lib/compiler_rt/fixdfei.zig | 13 + lib/compiler_rt/fixdfti.zig | 5 +- lib/compiler_rt/fixhfei.zig | 13 + lib/compiler_rt/fixsfei.zig | 13 + lib/compiler_rt/fixsfti.zig | 5 +- lib/compiler_rt/fixtfei.zig | 13 + lib/compiler_rt/fixunsdfei.zig | 13 + lib/compiler_rt/fixunsdfti.zig | 5 +- lib/compiler_rt/fixunshfei.zig | 13 + lib/compiler_rt/fixunssfei.zig | 13 + lib/compiler_rt/fixunssfti.zig | 5 +- lib/compiler_rt/fixunstfei.zig | 13 + lib/compiler_rt/fixunsxfei.zig | 13 + lib/compiler_rt/fixxfei.zig | 13 + lib/compiler_rt/float_from_int.zig | 55 +- lib/compiler_rt/float_from_int_test.zig | 54 +- lib/compiler_rt/floateidf.zig | 13 + lib/compiler_rt/floateihf.zig | 13 + lib/compiler_rt/floateisf.zig | 13 + lib/compiler_rt/floateitf.zig | 13 + lib/compiler_rt/floateixf.zig | 13 + lib/compiler_rt/floattidf.zig | 5 +- lib/compiler_rt/floattisf.zig | 5 +- lib/compiler_rt/floatuneidf.zig | 13 + lib/compiler_rt/floatuneihf.zig | 13 + lib/compiler_rt/floatuneisf.zig | 13 + lib/compiler_rt/floatuneitf.zig | 13 + lib/compiler_rt/floatuneixf.zig | 13 + lib/compiler_rt/int_from_float.zig | 54 +- lib/compiler_rt/int_from_float_test.zig | 38 + lib/compiler_rt/memcpy.zig | 2 +- lib/compiler_rt/mulc3_test.zig | 2 +- lib/compiler_rt/trig.zig | 2 +- src/arch/x86_64/CodeGen.zig | 4902 +++++++++++++++++++++++++++++--- src/arch/x86_64/Encoding.zig | 6 +- src/arch/x86_64/encodings.zig | 20 + test/behavior/x86_64/math.zig | 2271 +++++++++++++++ 39 files changed, 7281 insertions(+), 447 deletions(-)