]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoExplain why to use saturation
Jubilee Young [Fri, 2 Apr 2021 16:11:24 +0000 (09:11 -0700)]
Explain why to use saturation

3 years agoAdd saturating abs/neg
Jubilee Young [Fri, 2 Apr 2021 15:28:48 +0000 (08:28 -0700)]
Add saturating abs/neg

3 years agoIntroduce saturating math
Jubilee Young [Mon, 29 Mar 2021 01:44:16 +0000 (18:44 -0700)]
Introduce saturating math

3 years agoAdd std cargo feature
Caleb Zulawski [Sun, 7 Mar 2021 02:56:01 +0000 (21:56 -0500)]
Add std cargo feature

3 years agoMerge pull request #82 from rust-lang/bugfix/wasm-dependencies
Jubilee [Mon, 22 Mar 2021 20:51:46 +0000 (13:51 -0700)]
Merge pull request #82 from rust-lang/bugfix/wasm-dependencies

Fix wasm-bindgen dependency

3 years agoFix wasm-bindgen dependency
Caleb Zulawski [Sun, 7 Mar 2021 03:00:39 +0000 (22:00 -0500)]
Fix wasm-bindgen dependency

3 years agoMerge pull request #77 from rust-lang/reorg-vectors
Jubilee [Mon, 22 Feb 2021 01:35:29 +0000 (17:35 -0800)]
Merge pull request #77 from rust-lang/reorg-vectors

Reorg vector types (nfc)

3 years agoMove macros.rs to first.rs
Jubilee Young [Mon, 22 Feb 2021 00:23:19 +0000 (16:23 -0800)]
Move macros.rs to first.rs

This awkwardly has to go first right now, and we don't want more
macros to go into this ambiguously named mod, so let's rename it
to be more literal.

3 years agoPartially carve macros.rs into other files
Jubilee Young [Sun, 21 Feb 2021 22:38:35 +0000 (14:38 -0800)]
Partially carve macros.rs into other files

The base impl_vector! in macros.rs is staying put for the moment as
it must go first before everything in order to work.

Everything else, like transmutes, specific type impls, etc. have
been moved into appropriate files elsewhere to subdivide concerns.

3 years agocat vector types by kind
Jubilee Young [Wed, 17 Feb 2021 01:42:42 +0000 (17:42 -0800)]
cat vector types by kind

Rearrange aliases to bottom of files

3 years agoNominate base files
Jubilee Young [Wed, 17 Feb 2021 01:31:44 +0000 (17:31 -0800)]
Nominate base files

3 years agoReorg vectors into crate::vector::*;
Jubilee Young [Wed, 17 Feb 2021 00:37:24 +0000 (16:37 -0800)]
Reorg vectors into crate::vector::*;

3 years agoMerge pull request #75 from rust-lang/no-scalar-from
Caleb Zulawski [Wed, 17 Feb 2021 00:18:52 +0000 (19:18 -0500)]
Merge pull request #75 from rust-lang/no-scalar-from

Remove From<Scalar> for SimdTy impl

3 years agoRemove From<Scalar> for SimdTy impl
Jubilee Young [Tue, 16 Feb 2021 18:02:02 +0000 (10:02 -0800)]
Remove From<Scalar> for SimdTy impl

0. It was not being tested.
1. The possible conversions are ambiguous between splatting
   and setting a single value but zero-initializing the rest.
2. Splat works fine.

3 years agoMerge pull request #72 from rust-lang/feature/proptest
Jubilee [Tue, 16 Feb 2021 07:27:42 +0000 (23:27 -0800)]
Merge pull request #72 from rust-lang/feature/proptest

proptest
This replaces most tests with proptest, and makes it easier to define tests generically over lane count.  This should provide much broader API coverage and give us more confidence in our implementation.

3 years agoAdd LanesAtMost64 bounds
Caleb Zulawski [Mon, 15 Feb 2021 23:38:35 +0000 (18:38 -0500)]
Add LanesAtMost64 bounds

3 years agoDisable CI on branches without PR
Caleb Zulawski [Sat, 13 Feb 2021 22:13:55 +0000 (17:13 -0500)]
Disable CI on branches without PR

3 years agoAdd documentation
Caleb Zulawski [Sat, 13 Feb 2021 20:58:44 +0000 (15:58 -0500)]
Add documentation

3 years agoFix MulAssign typo in tests, move panic tests
Caleb Zulawski [Sat, 13 Feb 2021 20:42:04 +0000 (15:42 -0500)]
Fix MulAssign typo in tests, move panic tests

3 years agoSplit ops tests
Caleb Zulawski [Sat, 13 Feb 2021 19:19:16 +0000 (14:19 -0500)]
Split ops tests

3 years agoFix wasm tests
Caleb Zulawski [Sat, 13 Feb 2021 16:40:10 +0000 (11:40 -0500)]
Fix wasm tests

3 years agoFix performance issues
Caleb Zulawski [Sat, 13 Feb 2021 07:14:47 +0000 (02:14 -0500)]
Fix performance issues

3 years agoRemove obsolete helpers
Caleb Zulawski [Sat, 13 Feb 2021 06:11:01 +0000 (01:11 -0500)]
Remove obsolete helpers

3 years agoSimplify test creation
Caleb Zulawski [Sat, 13 Feb 2021 05:41:58 +0000 (00:41 -0500)]
Simplify test creation

3 years agoUpdate supported lane counts
Caleb Zulawski [Thu, 11 Feb 2021 04:22:32 +0000 (23:22 -0500)]
Update supported lane counts

3 years agoRemove old integer tests
Caleb Zulawski [Thu, 7 Jan 2021 06:28:17 +0000 (01:28 -0500)]
Remove old integer tests

3 years agoAdd integer tests
Caleb Zulawski [Thu, 7 Jan 2021 06:26:29 +0000 (01:26 -0500)]
Add integer tests

3 years agoAdd proptest float tests
Caleb Zulawski [Sun, 3 Jan 2021 21:09:26 +0000 (16:09 -0500)]
Add proptest float tests

3 years agoMerge pull request #73 from rust-lang/scalar-docs
Caleb Zulawski [Mon, 15 Feb 2021 22:00:25 +0000 (17:00 -0500)]
Merge pull request #73 from rust-lang/scalar-docs

Add to glossary: vectorize, scalar, vector register

3 years agoMerge pull request #67 from rust-lang/limit-lanes
Jubilee [Mon, 15 Feb 2021 21:47:59 +0000 (13:47 -0800)]
Merge pull request #67 from rust-lang/limit-lanes

Limit all types to 64 lanes

3 years agoAdd to glossary: vectorize, scalar, vector register
Jubilee Young [Wed, 27 Jan 2021 21:20:00 +0000 (13:20 -0800)]
Add to glossary: vectorize, scalar, vector register

Also document the lanewise scalar helpers.

3 years agoRemove glob import
Caleb Zulawski [Sat, 13 Feb 2021 05:52:42 +0000 (00:52 -0500)]
Remove glob import

3 years agoAdd missing type bounds
Caleb Zulawski [Sat, 13 Feb 2021 05:49:51 +0000 (00:49 -0500)]
Add missing type bounds

3 years agoLimit all types to 64 lanes
Caleb Zulawski [Wed, 10 Feb 2021 03:13:27 +0000 (22:13 -0500)]
Limit all types to 64 lanes

3 years agoMerge pull request #61 from rust-lang/feature/masks
Caleb Zulawski [Wed, 10 Feb 2021 00:37:15 +0000 (19:37 -0500)]
Merge pull request #61 from rust-lang/feature/masks

Add bitmasks and simplify mask API

3 years agoFix wasm tests
Caleb Zulawski [Tue, 9 Feb 2021 05:09:27 +0000 (00:09 -0500)]
Fix wasm tests

3 years agoAdd missing From implementation, add simple mask API tests
Caleb Zulawski [Fri, 5 Feb 2021 01:47:13 +0000 (20:47 -0500)]
Add missing From implementation, add simple mask API tests

3 years agoAdd bitmask that supports up to 64 lanes. Simplify mask op API.
Caleb Zulawski [Thu, 4 Feb 2021 05:31:57 +0000 (00:31 -0500)]
Add bitmask that supports up to 64 lanes. Simplify mask op API.

3 years agoMerge pull request #62 from rust-lang/feature/shuffle-self
Ashley Mannix [Tue, 9 Feb 2021 03:16:17 +0000 (13:16 +1000)]
Merge pull request #62 from rust-lang/feature/shuffle-self

Add SIMD shuffles for SimdType{2,4,8,16,32,64}

3 years agoMerge pull request #65 from rust-lang/KodrAus-patch-1
Ashley Mannix [Tue, 9 Feb 2021 03:15:48 +0000 (13:15 +1000)]
Merge pull request #65 from rust-lang/KodrAus-patch-1

add a link to docs to the readme

3 years agoadd a link to docs to the readme
Ashley Mannix [Tue, 9 Feb 2021 02:52:27 +0000 (12:52 +1000)]
add a link to docs to the readme

3 years agoAdd SIMD shuffles for SimdType{2,4,8,16,32,64}
Jubilee Young [Thu, 4 Feb 2021 22:39:15 +0000 (14:39 -0800)]
Add SIMD shuffles for SimdType{2,4,8,16,32,64}

This const generic implementation for certain lane sizes represents
a more limited interface than what LLVM's shufflevector instruction
can handle, as normally the length of U can be different from the
length of T, but offers an interface that it is expected to be able
to expand the capabilities of in the future.

3 years agoMerge pull request #59 from rust-lang/blank-ish
Jubilee [Sat, 6 Feb 2021 07:23:12 +0000 (23:23 -0800)]
Merge pull request #59 from rust-lang/blank-ish

Add a blank issue template

3 years agoMerge pull request #60 from miguelraz/as-slice-prettify
Jubilee [Fri, 5 Feb 2021 00:48:22 +0000 (16:48 -0800)]
Merge pull request #60 from miguelraz/as-slice-prettify

AsRef -> as_slice cleanup

3 years agoAsRef -> as_slices()
miguel raz [Wed, 3 Feb 2021 23:46:08 +0000 (17:46 -0600)]
AsRef -> as_slices()

3 years agoAdd a blank issue template
Jubilee Young [Wed, 3 Feb 2021 01:43:05 +0000 (17:43 -0800)]
Add a blank issue template

Setting this in config.yml only enables the appearance of a tiny link
on GitHub that is hard to see and find. This template adds a "blank issue"
link that is as equally visible as the rest of the template options.

3 years agoMerge pull request #58 from rust-lang/issue-templates
Jubilee [Wed, 3 Feb 2021 01:37:46 +0000 (17:37 -0800)]
Merge pull request #58 from rust-lang/issue-templates

Add issue templates

3 years agoAdd issue templates
Jubilee Young [Thu, 28 Jan 2021 22:33:50 +0000 (14:33 -0800)]
Add issue templates

The main purpose of these is to offer rerouting where rerouting is
appropriate. Mostly derived from existing examples in rust-lang/rust.

3 years agoMerge pull request #55 from miguelraz/min-panics
Jubilee [Wed, 3 Feb 2021 01:21:09 +0000 (17:21 -0800)]
Merge pull request #55 from miguelraz/min-panics

implement guards in rem and div unsound cases

3 years agoAdd guards/tests for div,rem overflow cases
miguel raz [Mon, 25 Jan 2021 23:58:29 +0000 (17:58 -0600)]
Add guards/tests for div,rem overflow cases

3 years agoMerge pull request #57 from rust-lang/stable-min-const
Caleb Zulawski [Wed, 27 Jan 2021 15:09:07 +0000 (10:09 -0500)]
Merge pull request #57 from rust-lang/stable-min-const

min_const_generics ride the train to stable

3 years agomin_const_generics ride the train to stable
Jubilee Young [Wed, 27 Jan 2021 05:44:07 +0000 (21:44 -0800)]
min_const_generics ride the train to stable

3 years agoMerge pull request #49 from rust-lang/feature/const-generics
Ashley Mannix [Tue, 19 Jan 2021 07:41:38 +0000 (17:41 +1000)]
Merge pull request #49 from rust-lang/feature/const-generics

Feature/const generics

3 years agoSwitch docs deploy to GITHUB_TOKEN
Caleb Zulawski [Tue, 29 Dec 2020 04:48:18 +0000 (23:48 -0500)]
Switch docs deploy to GITHUB_TOKEN

3 years agoMerge pull request #52 from rust-lang/feature/deploy-docs
Ashley Mannix [Tue, 29 Dec 2020 01:03:41 +0000 (11:03 +1000)]
Merge pull request #52 from rust-lang/feature/deploy-docs

Deploy documentation to GitHub Pages

3 years agoDeploy documentation to GitHub Pages
Caleb Zulawski [Mon, 28 Dec 2020 00:36:12 +0000 (19:36 -0500)]
Deploy documentation to GitHub Pages

3 years agoAdd workaround for rust-lang/rust#80108
Caleb Zulawski [Thu, 17 Dec 2020 06:19:39 +0000 (01:19 -0500)]
Add workaround for rust-lang/rust#80108

3 years agoRemove obsolete files
Caleb Zulawski [Mon, 14 Dec 2020 05:40:59 +0000 (00:40 -0500)]
Remove obsolete files

3 years agoRemove obsolete macros
Caleb Zulawski [Mon, 14 Dec 2020 05:34:32 +0000 (00:34 -0500)]
Remove obsolete macros

3 years agoFix masks
Caleb Zulawski [Mon, 14 Dec 2020 05:27:20 +0000 (00:27 -0500)]
Fix masks

3 years agoReenable rounding ops
Caleb Zulawski [Mon, 14 Dec 2020 05:07:36 +0000 (00:07 -0500)]
Reenable rounding ops

3 years agoFinish refactoring vector types
Caleb Zulawski [Mon, 14 Dec 2020 04:58:33 +0000 (23:58 -0500)]
Finish refactoring vector types

3 years agoReenable ops and fix tests
Caleb Zulawski [Sun, 6 Dec 2020 05:36:33 +0000 (00:36 -0500)]
Reenable ops and fix tests

3 years agoImplement additional functions
Caleb Zulawski [Sun, 6 Dec 2020 04:49:42 +0000 (23:49 -0500)]
Implement additional functions

3 years agoBegin changing vectors to const generics
Caleb Zulawski [Sat, 5 Dec 2020 05:03:20 +0000 (00:03 -0500)]
Begin changing vectors to const generics

3 years agoSimplify some formatting
Caleb Zulawski [Fri, 27 Nov 2020 05:23:49 +0000 (00:23 -0500)]
Simplify some formatting

3 years agoImplement missing traits on opaque masks, fix tests
Caleb Zulawski [Sun, 22 Nov 2020 20:18:31 +0000 (15:18 -0500)]
Implement missing traits on opaque masks, fix tests

3 years agoAdd comparison ops
Caleb Zulawski [Wed, 28 Oct 2020 20:27:15 +0000 (16:27 -0400)]
Add comparison ops

3 years agoAdd opaque masks
Caleb Zulawski [Tue, 13 Oct 2020 05:28:03 +0000 (01:28 -0400)]
Add opaque masks

3 years agoUse platform intrinsics, not LLVM, for floor & ceil
Jubilee [Tue, 8 Dec 2020 23:42:48 +0000 (15:42 -0800)]
Use platform intrinsics, not LLVM, for floor & ceil

This PR removes the direct linkage to LLVM for trunc and round intrinsics, while replacing that link with rustc's platform intrinsics for floor and ceil functions, namely simd_floor and simd_ceil. Tests that are no longer testable are removed. In doing so it resolves the riscv64gc compilation problems.

3 years agoUse simd_{floor,ceil} intrinsics for round.rs
Jubilee Young [Mon, 30 Nov 2020 20:52:30 +0000 (12:52 -0800)]
Use simd_{floor,ceil} intrinsics for round.rs

3 years agoRemove round, trunc tests
Jubilee Young [Mon, 30 Nov 2020 20:49:37 +0000 (12:49 -0800)]
Remove round, trunc tests

There are no platform intrinsics in the rustc for these functions yet,
so this removes them as a distinct commit for later reversion.

3 years agoRevert "Disable riscv64gc"
Jubilee Young [Mon, 30 Nov 2020 20:39:26 +0000 (12:39 -0800)]
Revert "Disable riscv64gc"

This reverts commit 3ad356d90268e5dd3236f460422df6136e9d0e11.

3 years agoMerge pull request #43 from rust-lang/docs/layout
Jubilee [Sun, 18 Oct 2020 06:57:47 +0000 (23:57 -0700)]
Merge pull request #43 from rust-lang/docs/layout

Document size/align of SIMD types

3 years agoDocument size/align of SIMD types
Jubilee Young [Fri, 16 Oct 2020 23:37:50 +0000 (16:37 -0700)]
Document size/align of SIMD types

3 years agoMerge pull request #34 from rust-lang/feature/round
Caleb Zulawski [Tue, 13 Oct 2020 03:34:56 +0000 (23:34 -0400)]
Merge pull request #34 from rust-lang/feature/round

Feature/round

3 years agoAdd rounding mode test
Caleb Zulawski [Tue, 13 Oct 2020 00:48:05 +0000 (20:48 -0400)]
Add rounding mode test

3 years agoMerge pull request #37 from rust-lang/link-more
Ashley Mannix [Mon, 12 Oct 2020 22:55:23 +0000 (08:55 +1000)]
Merge pull request #37 from rust-lang/link-more

Add cross-links to Zulip, etc.

3 years agoAdd cross-links to Zulip, etc.
Jubilee [Mon, 12 Oct 2020 21:31:55 +0000 (14:31 -0700)]
Add cross-links to Zulip, etc.

3 years agoDisable riscv64gc
Caleb Zulawski [Mon, 12 Oct 2020 19:36:14 +0000 (15:36 -0400)]
Disable riscv64gc

3 years agoAccount for sign bit
Caleb Zulawski [Mon, 12 Oct 2020 01:41:26 +0000 (21:41 -0400)]
Account for sign bit

3 years agoFix UB in test (really this time)
Caleb Zulawski [Mon, 12 Oct 2020 01:28:50 +0000 (21:28 -0400)]
Fix UB in test (really this time)

3 years agoFix UB in test
Caleb Zulawski [Sun, 11 Oct 2020 23:08:25 +0000 (19:08 -0400)]
Fix UB in test

3 years agoFix comment
Caleb Zulawski [Sun, 11 Oct 2020 18:34:57 +0000 (14:34 -0400)]
Fix comment

3 years agoFix casts, add tests
Caleb Zulawski [Sun, 11 Oct 2020 18:32:46 +0000 (14:32 -0400)]
Fix casts, add tests

3 years agoAdd rounding to integers
Caleb Zulawski [Sun, 11 Oct 2020 17:22:26 +0000 (13:22 -0400)]
Add rounding to integers

3 years agoDraft a CONTRIBUTING.md (#33)
Jubilee [Sat, 10 Oct 2020 06:49:43 +0000 (23:49 -0700)]
Draft a CONTRIBUTING.md (#33)

3 years agoAdd rounding functions
Caleb Zulawski [Sat, 10 Oct 2020 04:16:58 +0000 (00:16 -0400)]
Add rounding functions

3 years agoMerge pull request #30 from thomcc/wfci
Lokathor [Thu, 8 Oct 2020 04:15:50 +0000 (22:15 -0600)]
Merge pull request #30 from thomcc/wfci

Completely overhaul CI

3 years agoMerge pull request #31 from thomcc/negxor
Lokathor [Thu, 8 Oct 2020 04:15:30 +0000 (22:15 -0600)]
Merge pull request #31 from thomcc/negxor

Use xor to implement Neg::neg for floats

3 years agoAdd comment about fneg to the bitxor in float neg
Thom Chiovoloni [Wed, 7 Oct 2020 20:24:21 +0000 (13:24 -0700)]
Add comment about fneg to the bitxor in float neg

3 years agoUse bitxor to implement Neg for floats
Thom Chiovoloni [Wed, 7 Oct 2020 18:51:54 +0000 (11:51 -0700)]
Use bitxor to implement Neg for floats

3 years agoRewrite (and improve) CI.
Thom Chiovoloni [Wed, 7 Oct 2020 08:39:56 +0000 (01:39 -0700)]
Rewrite (and improve) CI.

3 years agoMerge pull request #27 from thomcc/abs_from_to_bits
Lokathor [Wed, 7 Oct 2020 00:57:24 +0000 (18:57 -0600)]
Merge pull request #27 from thomcc/abs_from_to_bits

Implement abs, to_bits, and from_bits for float vectors

3 years agoApply review feedback
Thom Chiovoloni [Tue, 6 Oct 2020 20:40:39 +0000 (13:40 -0700)]
Apply review feedback

3 years agouse NEG_INFINITY and NAN constants instead computing them
Thom Chiovoloni [Tue, 6 Oct 2020 19:30:19 +0000 (12:30 -0700)]
use NEG_INFINITY and NAN constants instead computing them

3 years agoImplement abs, to_bits, and from_bits for float vectors
Thom Chiovoloni [Tue, 6 Oct 2020 18:21:54 +0000 (11:21 -0700)]
Implement abs, to_bits, and from_bits for float vectors

3 years agoMerge pull request #21 from rust-lang/chore/build-badge
Ashley Mannix [Sat, 3 Oct 2020 07:46:19 +0000 (17:46 +1000)]
Merge pull request #21 from rust-lang/chore/build-badge

Add build badge

3 years agoadd build badge
Ashley Mannix [Sat, 3 Oct 2020 06:40:18 +0000 (16:40 +1000)]
add build badge

3 years agoAdd CI for wasm targets using wasm-bindgen (#20)
Ashley Mannix [Sat, 3 Oct 2020 06:36:51 +0000 (16:36 +1000)]
Add CI for wasm targets using wasm-bindgen (#20)