Skip to content

Conversation

@Rexicon226
Copy link
Contributor

@Rexicon226 Rexicon226 commented Jul 2, 2024

  • added @atomicLoad, @atomicStore, @atomicRmw, @fence
  • made std.simd.suggestVectorLength more accurate for RISC-V
  • implements boiler-plate for RISC-V vectors

1297 passed, 639 failed - 66.99% passing

cc @kubkon

Now we generate debug undefined constants when the user asks for them to dedup across the function decl. This takes 2 instructions instead of 7 in the RISC-V backend.

TODO, we need to dedupe across function decl boundaries.
* the file's doc-comment was misleading and did not focus on the correct aspect of SIMD

* added cpu flag awareness to `suggestVectorLengthForCpu` in order to provide a more accurate vector length
@kubkon kubkon merged commit 9d9b5a1 into ziglang:master Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants