aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
AgeCommit message (Collapse)Author
2022-11-02cbe: fix padding bits after a bitcastJacob Young
2022-11-02cbe: use wrapping for left shiftsJacob Young
2022-11-02cbe: fix crash rendering union with zero-bit tagJacob Young
2022-11-02cbe: fix externJacob Young
2022-11-02cbe: ignore comptime fields when generating tuple typedefsJacob Young
This vastly reduces the amount of deduplication state we need to deal with.
2022-11-02cbe: hack around invalid AirJacob Young
Can be changed to `!inst_ty.hisRuntimeBitsIgnoreComptime()` when the "result location with inferred type ends up being pointer to comptime_int" test stops producing Air containing a `bitcast(*comptime_int, ...)`. See #13410
2022-11-01cbe: correctly implement volatile memsetJacob Young
2022-11-01cbe: incorrectly implement volatile memsetJacob Young
This will have to be replaced with manual volatile stores.
2022-11-01cbe: support arrays in more placesJacob Young
2022-11-01cbe: fix optional accessJacob Young
2022-11-01cbe: avoid emitting code for zero-bit field accessJacob Young
2022-11-01cbe: disambiguate struct typedefs with decl indexJacob Young
2022-11-01cbe: fix threadlocalJacob Young
2022-10-31cbe: fix gcc warningsJacob Young
2022-10-31cbe: improve support for non-native float typesJacob Young
* Fix _start on aarch64. * Add fallbacks when a float type is unsupported. Fixes #13357
2022-10-29cbe: implement optional slice representation changeJacob Young
2022-10-27Merge pull request #13288 from Vexu/opt-sliceAndrew Kelley
Optimize size of optional slices (+ some fixes)
2022-10-27Sema: use `runtime_value` instead of creating allocsVeikka Tuominen
2022-10-27stage2: optimize size of optional slicesVeikka Tuominen
2022-10-25cbe: fix floating point builtinsJacob Young
2022-10-25cbe: improve floating point type supportJacob Young
2022-10-25cbe: add support for all float literals typesJacob Young
2022-10-25cbe: implement field_parent_ptrJacob Young
2022-10-25cbe: implement cmp_lt_errors_lenJacob Young
2022-10-25cbe: implement packed structsJacob Young
Sometimes you have to break a test to make progress :)
2022-10-25cbe: implement 128-bit and fix smaller integer builtinsJacob Young
2022-10-25cbe: fix globals that reference functionsJacob Young
Global constant initializers can reference functions, so forward declare the constants and initialize them later with the function definitions, which guarantees that they appear after all declarations.
2022-10-25cbe: fix typedef declaration orderJacob Young
2022-10-25cbe: allow immediate and register asm constraints in naked functionsJacob Young
2022-10-25cbe: fix C syntax when rendering initializersJacob Young
2022-10-25cbe: get enough things working to support basic programsJacob Young
* Enable advanced start support. * Enable advanced test_runner support. * Zig Language Reference's Hello World now works.
2022-10-25cbe: fix atomicsJacob Young
2022-10-25cbe: implement some float opsJacob Young
2022-10-25cbe: misc fixesJacob Young
2022-10-25cbe: implement global assemblyJacob Young
2022-10-25cbe: implement ptr slice ptrJacob Young
2022-10-25cbe: implement aggregate_init of structJacob Young
2022-10-25cbe: canonicalize types that have the same C type when emitting typedefsJacob Young
2022-10-25cbe: fix global access fixJacob Young
2022-10-25cbe: implement more asm featuresJacob Young
2022-10-25cbe: fix global accessJacob Young
2022-10-25cbe: implement tag nameJacob Young
2022-10-25cbe: fix loads and stores of 0-bit typesJacob Young
2022-10-25cbe: implement airUnionInitJacob Young
2022-10-25cbe: fix infinite recursion on recursive typesJacob Young
2022-10-25cbe: cleanup code and fix cases test breakageJacob Young
2022-10-25behavior: enable stage2_c tests that are currently passingJacob Young
Also fix C warnings triggered by these tests.
2022-10-25c: improve lowering of undef valuesJacob Young
All remaining behavior test -Wall -Wextra warnings are unused (but set) warnings.
2022-10-25c: fix redefinition of typedef warningsJacob Young
Closes #11651
2022-10-25c: hacks to fix incompatible redeclaration of library function warningsJacob Young