aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/trunctfxf2.zig
AgeCommit message (Collapse)Author
2025-03-05Remove uses of deprecated callconv aliasesLinus Groh
2024-09-02std.math: rename make_f80 to F80.toFloat and break_f80 to F80.fromFloatJeremy Hertel
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
The compiler actually doesn't need any functional changes for this: Sema does reification based on the tag indices of `std.builtin.Type` already! So, no zig1.wasm update is necessary. This change is necessary to disallow name clashes between fields and decls on a type, which is a prerequisite of #9938.
2024-08-27lib,test,tools,doc: update usages of @exportmlugg
2023-07-24Use builtin inference over @as where possibleZachary Raineri
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2022-12-29Merge pull request #14102 from Luukdegram/wasm-undefined-symbolsAndrew Kelley
WebAssembly: remove unconditional --allow-undefined flag
2022-12-28compiler-rt: Set the symbol visibilityLuuk de Gram
When we're compiling compiler_rt for any WebAssembly target, we do not want to expose all the compiler-rt functions to the host runtime. By setting the visibility of all exports to `hidden`, we allow the linker to resolve the symbols during linktime, while not expose the functions to the host runtime. This also means the linker can properly garbage collect any compiler-rt function that does not get resolved. The symbol visibility for all target remains the same as before: `default`.
2022-12-27update uses of overflow arithmetic builtinsVeikka Tuominen
2022-06-17compiler-rt: fix testsAndrew Kelley
2022-06-17compiler-rt: break up functions even moreAndrew Kelley
The purpose of this branch is to switch to using an object file for each independent function, in order to make linking simpler - instead of relying on `-ffunction-sections` and `--gc-sections`, which involves the linker doing the work of linking everything and then undoing work via garbage collection, this will allow the linker to only include the compilation units that are depended on in the first place. This commit makes progress towards that goal.