aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/eval.zig
AgeCommit message (Collapse)Author
2023-06-13all: replace `comptime try` with `try comptime`Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-05-31enable passing behavior testsLuuk de Gram
2023-05-20spirv: ptr_elem_valRobin Voetter
Implements the ptr_elem_val air tag. Implementation is unified with ptr_elem_ptr.
2023-05-20spirv: more passing testsRobin Voetter
2023-05-18x86_64: initialize array sentinelsJacob Young
2023-05-11setup spirv backend in behavior testsAli Chraghi
2023-05-03x86_64: fix feature confusionJacob Young
2023-05-03codegen: handle variable and decl_ref_mut consistentlyJacob Young
2023-05-01behavior: update affected tests for the x86_64 backendJacob Young
2023-04-26behavior: update passing cbe testsJacob Young
2023-04-23Add `@inComptime` builtinmlugg
Resolves: #868
2023-04-12Zir: implement explicit block_comptime instructionmlugg
Resolves: #7056
2023-04-03x86_64: implement storing large immediatesJacob Young
2023-04-02x86_64: implement shl with overflowJacob Young
2023-04-02x86_64: implement large add/sub with overflowJacob Young
2023-04-02x86_64: implement large cmpJacob Young
2023-03-15behavior: enable passing behavior tests on stage2_x86_64Jacob Young
2023-02-20arm: alloc new mcv in bitcast if cannot reuse operandJakub Konka
2023-02-18update existing behavior tests and std lib to new for loop semanticsAndrew Kelley
2022-12-31add tests for fixed stage1 bugsVeikka Tuominen
Closes #4144 Closes #4255 Closes #4372 Closes #4375 Closes #4380 Closes #4417 Closes #4423 Closes #4476 Closes #4528 Closes #4562 Closes #4572 Closes #4597 Closes #4639 Closes #4672 Closes #4782 Closes #4955 Closes #4984 Closes #4997 Closes #5010 Closes #5114 Closes #5166 Closes #5173 Closes #5276
2022-12-29add tests for fixed stage1 bugsVeikka Tuominen
Closes #1957 Closes #1994 Closes #2140 Closes #2746 Closes #2802 Closes #2855 Closes #2895 Closes #2981 Closes #3054 Closes #3158 Closes #3234 Closes #3259 Closes #3371 Closes #3376 Closes #3387 Closes #3529 Closes #3653 Closes #3750 Closes #3778 Closes #3882 Closes #3915 Closes #3929 Closes #3961 Closes #3988 Closes #4123 Closes #7448
2022-12-27update uses of overflow arithmetic builtinsVeikka Tuominen
2022-12-10stage2: sparc64: Skip unimplemented testsKoakuma
2022-12-06remove references to stage1 in behavior testsAndrew Kelley
Good riddance.
2022-11-16Sema: ensure comptime reference to function points to original declVeikka Tuominen
This prevents sema from creating new decls for the functions and passing them to the backends as non-function decls. Closes #12501
2022-11-12Sema: ensure that `!is_comptime and !is_typeof` implies `sema.func != null`Veikka Tuominen
Closes #13481
2022-11-05Sema: coerce elements of array catVeikka Tuominen
Closes #13347
2022-10-30stage2: Make `x and false`/`x or true` comptime-knownCody Tapscott
Same as preceding change, but for stage2.
2022-10-25cbe: implement packed structsJacob Young
Sometimes you have to break a test to make progress :)
2022-10-25cbe: fix atomicsJacob Young
2022-10-25cbe: implement global assemblyJacob Young
2022-10-25behavior: enable stage2_c tests that are currently passingJacob Young
Also fix C warnings triggered by these tests.
2022-10-21stage2: Skip test exposing #13175Cody Tapscott
This PR (#12873) in combination with this particular test exposed a pre-existing bug (#13175). This means that the test for #13038 has regressed
2022-10-20Sema: allow runtime only instructions to be emitted in outside functionsVeikka Tuominen
It is possible to get comptime-known values from runtime-known values for example the length of array. Allowing runtime only instructions to be emitted outside function bodies allows these operations to happen. In places where comptime-known values are required we have other methods to ensure that and they usually result in more specific compile errors too. Closes #12240
2022-10-13stage1: Skip new tests that never passed in stage1Cody Tapscott
This gets the behavior tests passing for stage1 again.
2022-10-12Merge pull request #13081 from r00ster91/docsAndrew Kelley
fix(text): hyphenation and other fixes
2022-10-06Sema: create sub block for inline loopsVeikka Tuominen
Closes #13038
2022-10-05fix(text): hyphenate "comptime" adjectivesr00ster91
2022-09-15Sema: check_comptime_control_flow needs to check runtime_indexVeikka Tuominen
2022-09-15Sema: allow runtime break from inline loopVeikka Tuominen
Closes #12787
2022-09-09stage2 ARM: implement basic array_elem_valjoachimschmidt557
2022-09-09stage2 ARM: implement ptr_elem_valjoachimschmidt557
2022-09-09stage2 ARM: support larger function stacksjoachimschmidt557
This is done by introducing a new Mir pseudo-instruction
2022-09-09stage2 ARM: implement struct_field_val for registersjoachimschmidt557
2022-09-09stage2 ARM: amend implementation of various AIR instructionsjoachimschmidt557
- unwrap_errunion_err for registers - unwrap_errunion_payload for registers - ptr_slice_len_ptr for all MCValues - ptr_slice_ptr_ptr for all MCValues
2022-08-22Sema: resolve lazy values in `resolveMaybeUndefValIntable`Veikka Tuominen
Closes #12512 Closes #12513
2022-08-21Sema: ignore dbg_block instructions when checking for comptimenessVeikka Tuominen
Closes #12514
2022-08-10Sema: fix expansion of repeated valueVeikka Tuominen
Closes #12386
2022-07-22Sema: fix mutation of optional ptr represented as regular ptrVeikka Tuominen
2022-07-22Sema: fix loading and storing of optional pointers represented as pointersVeikka Tuominen