Jubilee Young
a978408be9
Sync portable-simd to 2023 May 10
...
Sync up to rust-lang/portable-simd@852762563a
2023-05-11 12:13:00 -07:00
Nikolai Vazquez
3cb40e51dc
Remove unnecessary &format!
...
These were likely from before the `PartialEq<str>` impl for `&String`.
2023-01-21 22:06:42 -05:00
Jubilee Young
94c7da04b4
Sync portable-simd to rust-lang/portable-simd@72df4c4505
2022-03-12 16:09:37 -08:00
T-O-R-U-S
c43129f837
Use implicit capture syntax in format_args
...
This updates the standard library's documentation to use the new syntax. The
documentation is worthwhile to update as it should be more idiomatic
(particularly for features like this, which are nice for users to get acquainted
with). The general codebase is likely more hassle than benefit to update: it'll
hurt git blame, and generally updates can be done by folks updating the code if
(and when) that makes things more readable with the new format.
A few places in the compiler and library code are updated (mostly just due to
already having been done when this commit was first authored).
2022-03-10 10:23:40 -05:00
Jubilee Young
754e077e32
Sync rust-lang/portable-simd@5f49d4c843
2022-02-28 10:17:40 -08:00
Jubilee Young
efb20c2d20
Sync rust-lang/portable-simd@03f6fbb21e
2022-01-27 11:23:40 -08:00
Jubilee Young
af2bc4e3ef
Merge commit 'a8385522ade6f67853edac730b5bf164ddb298fd' into simd-remove-autosplats
2021-12-02 18:27:47 -08:00
Caleb Zulawski
4e00aa68c7
rotate_{left,right} -> rotate_lanes_{left,right}
2021-11-06 00:34:23 +00:00
Jubilee Young
ab8eec7cba
Fixup import pathing for core
...
This changes simd_swizzle! to a decl_macro to give it a path,
so it can be imported using a path and not the crate root.
It also adds various uses that were missed and adjusts paths.
2021-10-21 18:20:06 -07:00
Caleb Zulawski
37797d9c0a
simd_shuffle -> simd_swizzle
2021-10-11 13:18:59 -07:00
Caleb Zulawski
10168fb7c4
Add new swizzle API
...
Expand swizzle API and migrate existing functions. Add rotate_left, rotate_right.
Hide implementation details
Add simd_shuffle macro
2021-10-11 13:18:59 -07:00
Caleb Zulawski
34384b7a68
Add const_evaluatable_checked feature, change to_bitmask to use it, and fix existing std feature
2021-07-28 04:19:31 +00:00
Caleb Zulawski
732b7edfab
Add fmt and clippy to CI ( #147 )
...
* Add fmt and clippy to CI
* Add rust components
* Fix formatting
2021-07-23 17:43:53 -07:00
Caleb Zulawski
be96995d8d
Add portable_simd unstable feature gate ( #141 )
2021-07-19 16:13:24 -07:00
Miguel Raz Guzmán Macedo
ac749a180b
add matrix_inversion example ( #131 )
...
* add matrix_inversion example
2021-07-19 14:58:13 -07:00
miguel raz
be121c93ff
clean code vis. Jubilee's comments
2021-06-04 10:54:08 -05:00
Miguel Raz Guzmán Macedo
435d1cf7a6
Update crates/core_simd/examples/nbody.rs
...
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
2021-06-04 10:40:39 -05:00
miguel raz
c042f33673
clean up code, fudge approx true
2021-06-01 20:05:30 -05:00
miguel raz
70305c5fad
add main to avoid CI crash
2021-06-01 19:46:48 -05:00
miguel raz
4e86aeb7f9
finish nbody
2021-06-01 19:31:34 -05:00
miguel raz
5557907098
rewrite unaligned slice, fix output const array
2021-06-01 15:25:56 -05:00
miguel raz
f24110aa5b
collapse run_k into run
2021-06-01 12:26:29 -05:00
miguel raz
56050562f1
don't use turbofish on run
2021-06-01 12:15:37 -05:00
miguel raz
83dc5b782b
don't need clippy
2021-06-01 12:09:11 -05:00
Miguel Raz Guzmán Macedo
3c05ceec70
Update crates/core_simd/examples/nbody.rs
...
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
2021-05-31 18:03:55 -05:00
miguel raz
8bea3627cb
replace sum() with horizontal_sum()
2021-05-25 21:25:42 -05:00
miguel raz
ab6af37f8f
Simdf64 from attempt
2021-05-25 20:10:55 -05:00
miguel raz
2591c59ba7
fix imports
2021-05-25 20:07:20 -05:00
miguel raz
e52d51cd45
nbody example
2021-05-25 20:00:01 -05:00