Commit Graph

19 Commits

Author SHA1 Message Date
Jubilee Young
b25ed7f86d Restructure crate as core module
Aligns module with rust-lang/library/core, creating an... unusual
architecture that is easier to pull in as a module, as core itself can
have no dependencies (as we haven't built core yet).
2021-09-18 23:26:10 -07:00
Caleb Zulawski
4aafd8e779 Rename element type variable 2021-08-16 16:38:30 -04:00
Caleb Zulawski
88f79d4a6f Remove aliases from op trait impls 2021-08-07 20:20:20 +00:00
Caleb Zulawski
de13b20b27 Convert all masks to a single type 2021-08-07 04:30:24 +00:00
Caleb Zulawski
97c25dd746 Add lane count marker type 2021-07-24 17:37:36 +00:00
Caleb Zulawski
fdd7d6e252 Change as_slice to as_array 2021-07-24 17:37:36 +00:00
Caleb Zulawski
c077bf3c07 Rename SimdArray to Vector, remove its generic parameter, and remove LanesAtMost32 2021-07-24 17:37:36 +00:00
Jubilee Young
92d643b628 Remove Simd{U,I}128 2021-04-25 16:45:19 -07:00
Jubilee Young
87b7207acd Use neg intrinsics 2021-04-16 15:02:59 -07:00
Caleb Zulawski
e6a530907a Reduce maximum lanes from 64 to 32 2021-04-03 14:43:33 -04:00
Caleb Zulawski
6362540f11 Limit all types to 64 lanes 2021-02-09 22:13:27 -05:00
miguel raz
8bea63425e AsRef -> as_slices() 2021-02-03 17:46:08 -06:00
miguel raz
c67fc2e4c5 Add guards/tests for div,rem overflow cases 2021-02-02 18:59:22 -06:00
Caleb Zulawski
62d98e3a11 Remove obsolete macros 2020-12-14 00:34:32 -05:00
Caleb Zulawski
25c7640fb3 Reenable ops and fix tests 2020-12-14 00:00:02 -05:00
Caleb Zulawski
cebc2ca707 Add opaque masks 2020-12-13 23:59:07 -05:00
Thom Chiovoloni
ffd562f218 Add comment about fneg to the bitxor in float neg 2020-10-07 13:24:21 -07:00
Thom Chiovoloni
873639d6fd Use bitxor to implement Neg for floats 2020-10-07 11:51:54 -07:00
Caleb Zulawski
43dabd1aea
Implement core::ops (#10)
* Add vector-vector arithmetic ops
* Add operators and integer conversions for masks
* Add unary traits
* Implement Index and IndexMut
* Implement by-ref ops for masks
* Document intrinsics
* Implement format traits for masks
* Add floating point ops tests
* Add integer tests
* Add mask tests
2020-10-01 19:50:15 -07:00