aboutsummaryrefslogtreecommitdiff
path: root/test/stage2/aarch64.zig
AgeCommit message (Collapse)Author
2022-04-28test: migrate aarch64 incremental testsJakub Konka
2022-04-14stage2: Adjust line numbers in testsKoakuma
2022-03-11stage2: passing threadlocal tests for x86_64-linuxAndrew Kelley
* use the real start code for LLVM backend with x86_64-linux - there is still a check for zig_backend after initializing the TLS area to skip some stuff. * introduce new AIR instructions and implement them for the LLVM backend. They are the same as `call` except with a modifier. - call_always_tail - call_never_tail - call_never_inline * LLVM backend calls hasRuntimeBitsIgnoringComptime in more places to avoid unnecessarily depending on comptimeOnly being resolved for some types. * LLVM backend: remove duplicate code for setting linkage and value name. The canonical place for this is in `updateDeclExports`. * LLVM backend: do some assembly template massaging to make `%%` rendered as `%`. More hacks will be needed to make inline assembly catch up with stage1.
2022-02-14stage2 AArch64: Fix issue in binOp and add regression testjoachimschmidt557
2022-02-14stage2 AArch64: implement cond_br for other MCValuesjoachimschmidt557
2022-02-02stage2: update stage2 tests with qualified import lib names for externsJakub Konka
From ```zig extern fn write(...); ``` to ```zig extern "c" fn write(...); ```
2021-12-15stage2: clean up testsJakub Konka
* move darwin tests into respective architecture test files: `x86_64` and `aarch64` * run majority of `x86_64` tests on macOS
2021-11-10stage2 AArch64: implement airCondBrjoachimschmidt557
2021-05-12stage2: fix test cases to add `pub` on exported _start fnAndrew Kelley
This way the start code respects them.
2021-01-19stage2: converge x86_64 and aarch64 tests on macOSJakub Konka
2021-01-19astgen: eliminate rlWrapPtr and all its callsitesAndrew Kelley
The following AST avoids unnecessary derefs now: * error set decl * field access * array access * for loops: replace ensure_indexable and deref on the len_ptr with a special purpose ZIR instruction called indexable_ptr_len. Added an error note when for loop operand is the wrong type. I also accidentally implemented `@field`.
2021-01-17stage2 aarch64: add basic function pro/epilogueJakub Konka
Fix typo in `nop` implementation. Simplify `aarch64` macOS tests.
2021-01-15macho: ensure that strtab always follows symtabJakub Konka
In rare occassions, it may happen that string table is allocated free space preceeding symbol table. This is an error in the eyes of the `dyld` dynamic loader and thus has to forbidden by the linker.
2021-01-13macho: add x86_64 testsJakub Konka
2021-01-13macho: document more code + add test caseJakub Konka
2021-01-03stage2: add aarch64 stage2 testsJakub Konka
Fix missing string format specifier in Mach-O used to generate path to debug symbols bundle.
2020-11-26stage2 macho: enable end-to-end incremental linking tests on aarch64Jakub Konka
2020-11-11stage2 AArch64: add Linux Hello World testjoachimschmidt557
2020-11-11stage2 aarch64: add macOS incremental testJakub Konka