aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/common.zig
AgeCommit message (Collapse)Author
2022-08-22stage2+stage1: remove type parameter from bit builtinsVeikka Tuominen
Closes #12529 Closes #12511 Closes #6835
2022-07-13LLVM: implement signext/zeroext attributesAndrew Kelley
For calling convention ABI purposes, integer attributes and return values need to have an LLVM attribute signext or zeroext added sometimes. This commit implements that logic. It also implements a proof-of-concept of moving the F16T type from being a compiler_rt hack to being how the compiler lowers f16 in functions that need to match certain calling conventions. Closes #12054
2022-07-10compiler_rt: Slightly re-factor exports for Windows x86-64Cody Tapscott
This is just a cosmetic change. The goal is to keep the export logic relatively flat and centralized.
2022-07-06compiler_rt: RISC-V does not want gnu_f16_abiAndrew Kelley
2022-06-30stage2: lower float negation explicitlyAndrew Kelley
Rather than lowering float negation as `0.0 - x`. * Add AIR instruction for float negation. * Add compiler-rt functions for f128, f80 negation closes #11853
2022-06-19compiler-rt: fix logic for choosing `__gnu_{f2h,h2f}_ieee`Jakub Konka
Similar to wasm32-wasi-musl, Apple targets also want standard symbol names.
2022-06-17compiler-rt: fix logic for choosing `__gnu_{f2h,h2f}_ieee`Andrew Kelley
wasm32-wasi-musl wants the standard symbol names however Linux requires the `__gnu_*` flavors. I did not find any authoritative source on what decides which symbol flavors to use. If we run into more trouble in the future we can go back to having both.
2022-06-17compiler-rt: fix aeabi logicAndrew Kelley
Before, compiler-rt would have the wrong symbols for ARM targets.
2022-06-17compiler-rt: musl ABI also needs __gnu_f2h_ieee etcAndrew Kelley
2022-06-17compiler-rt: move SPARC functions into appropriate compilation unitsAndrew 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.
2022-06-17compiler_rt: compile each unit separately for improved archivingJakub Konka