]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoImplement Sum/Product over references
Caleb Zulawski [Sun, 13 Jun 2021 18:00:47 +0000 (18:00 +0000)]
Implement Sum/Product over references

3 years agoImplement Sum/Product traits
Caleb Zulawski [Sun, 13 Jun 2021 17:52:44 +0000 (17:52 +0000)]
Implement Sum/Product traits

3 years agoadd doctests for shuffle (#130)
Miguel Raz Guzmán Macedo [Fri, 11 Jun 2021 22:48:44 +0000 (17:48 -0500)]
add doctests for shuffle (#130)

* add shuffle doctests/examples

3 years agoAdd mask width conversion (#127)
Caleb Zulawski [Fri, 11 Jun 2021 22:48:05 +0000 (18:48 -0400)]
Add mask width conversion (#127)

3 years agoadd helloworld to README (#134)
Miguel Raz Guzmán Macedo [Mon, 7 Jun 2021 17:56:15 +0000 (12:56 -0500)]
add helloworld to README (#134)

* add helloworld to README

3 years agoMerge pull request #122 from miguelraz/nbodyexample
Jubilee [Fri, 4 Jun 2021 16:43:48 +0000 (09:43 -0700)]
Merge pull request #122 from miguelraz/nbodyexample

nbody example

3 years agoclean code vis. Jubilee's comments
miguel raz [Fri, 4 Jun 2021 15:54:08 +0000 (10:54 -0500)]
clean code vis. Jubilee's comments

3 years agoUpdate crates/core_simd/examples/nbody.rs
Miguel Raz Guzmán Macedo [Fri, 4 Jun 2021 15:40:39 +0000 (10:40 -0500)]
Update crates/core_simd/examples/nbody.rs

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
3 years agoclean up code, fudge approx true
miguel raz [Wed, 2 Jun 2021 01:05:30 +0000 (20:05 -0500)]
clean up code, fudge approx true

3 years agoadd main to avoid CI crash
miguel raz [Wed, 2 Jun 2021 00:46:48 +0000 (19:46 -0500)]
add main to avoid CI crash

3 years agofinish nbody
miguel raz [Wed, 2 Jun 2021 00:31:34 +0000 (19:31 -0500)]
finish nbody

3 years agorewrite unaligned slice, fix output const array
miguel raz [Tue, 1 Jun 2021 20:25:56 +0000 (15:25 -0500)]
rewrite unaligned slice, fix output const array

3 years agocollapse run_k into run
miguel raz [Tue, 1 Jun 2021 17:26:29 +0000 (12:26 -0500)]
collapse run_k into run

3 years agodon't use turbofish on run
miguel raz [Tue, 1 Jun 2021 17:15:37 +0000 (12:15 -0500)]
don't use turbofish on run

3 years agodon't need clippy
miguel raz [Tue, 1 Jun 2021 17:09:11 +0000 (12:09 -0500)]
don't need clippy

3 years agoUpdate crates/core_simd/examples/nbody.rs
Miguel Raz Guzmán Macedo [Mon, 31 May 2021 23:03:55 +0000 (18:03 -0500)]
Update crates/core_simd/examples/nbody.rs

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
3 years agoMerge pull request #125 from rust-lang/remove-stable-feature
Jubilee [Sat, 29 May 2021 03:04:31 +0000 (20:04 -0700)]
Merge pull request #125 from rust-lang/remove-stable-feature

Remove extended_key_value_attributes feature

3 years agoRemove extended_key_value_attributes feature
Caleb Zulawski [Wed, 26 May 2021 14:27:16 +0000 (10:27 -0400)]
Remove extended_key_value_attributes feature

3 years agoreplace sum() with horizontal_sum()
miguel raz [Wed, 26 May 2021 02:25:42 +0000 (21:25 -0500)]
replace sum() with horizontal_sum()

3 years agoSimdf64 from attempt
miguel raz [Wed, 26 May 2021 01:10:55 +0000 (20:10 -0500)]
Simdf64 from attempt

3 years agofix imports
miguel raz [Wed, 26 May 2021 01:07:20 +0000 (20:07 -0500)]
fix imports

3 years agonbody example
miguel raz [Wed, 26 May 2021 01:00:01 +0000 (20:00 -0500)]
nbody example

3 years agoMerge pull request #120 from miguelraz/simd_fsqrt
Caleb Zulawski [Mon, 24 May 2021 23:07:12 +0000 (19:07 -0400)]
Merge pull request #120 from miguelraz/simd_fsqrt

add simd_fsqrt intrinsic

3 years agoAdd byte conversions
Caleb Zulawski [Mon, 24 May 2021 12:37:15 +0000 (08:37 -0400)]
Add byte conversions

3 years agoadd simd_fsqrt intrinsic
miguel raz [Tue, 18 May 2021 14:26:01 +0000 (09:26 -0500)]
add simd_fsqrt intrinsic

3 years agoMerge pull request #117 from rust-lang/feature/mask-select
Jubilee [Mon, 10 May 2021 20:55:18 +0000 (13:55 -0700)]
Merge pull request #117 from rust-lang/feature/mask-select

Implement select on masks

3 years agoClarify documentation
Caleb Zulawski [Sat, 8 May 2021 00:13:40 +0000 (00:13 +0000)]
Clarify documentation

3 years agoFix rustfmt
Caleb Zulawski [Sat, 8 May 2021 00:11:34 +0000 (00:11 +0000)]
Fix rustfmt

3 years agoAdd select for masks
Caleb Zulawski [Sat, 8 May 2021 00:07:07 +0000 (00:07 +0000)]
Add select for masks

3 years agoMerge pull request #103 from rust-lang/feature/select
Jubilee [Tue, 4 May 2021 20:35:10 +0000 (13:35 -0700)]
Merge pull request #103 from rust-lang/feature/select

Implement trait Select<Mask> and fn select

3 years agoAdd select function
Caleb Zulawski [Thu, 22 Apr 2021 04:09:56 +0000 (04:09 +0000)]
Add select function

3 years agoMerge pull request #99 from rust-lang/feature/simplify-masks
Jubilee [Sat, 1 May 2021 07:02:33 +0000 (00:02 -0700)]
Merge pull request #99 from rust-lang/feature/simplify-masks

Feature/simplify masks

3 years agoAttempt to workaround MIPS bug
Caleb Zulawski [Thu, 29 Apr 2021 03:34:28 +0000 (03:34 +0000)]
Attempt to workaround MIPS bug

3 years agoMake implementation more scalable by using a helper trait to determine bitmask size...
Caleb Zulawski [Thu, 29 Apr 2021 02:41:09 +0000 (02:41 +0000)]
Make implementation more scalable by using a helper trait to determine bitmask size.  Improve bitmask to int conversion.

3 years agoUpdate bitmask API
Caleb Zulawski [Mon, 19 Apr 2021 04:31:43 +0000 (04:31 +0000)]
Update bitmask API

3 years agoBegin reducing mask API
Caleb Zulawski [Sun, 18 Apr 2021 19:26:07 +0000 (19:26 +0000)]
Begin reducing mask API

3 years agoMerge pull request #107 from rust-lang/feat/simd-round
Jubilee [Mon, 26 Apr 2021 16:05:34 +0000 (09:05 -0700)]
Merge pull request #107 from rust-lang/feat/simd-round

Add SIMD rounding intrinsics

3 years agoMerge pull request #100 from rust-lang/fix-sat-math
Jubilee [Mon, 26 Apr 2021 07:12:51 +0000 (00:12 -0700)]
Merge pull request #100 from rust-lang/fix-sat-math

Fix sat math at the cost of Simd{U,I}128 for now

3 years agoAdd SIMD round, trunc, fract
Jubilee Young [Sun, 25 Apr 2021 22:03:17 +0000 (15:03 -0700)]
Add SIMD round, trunc, fract

3 years agoGive rounding intrinsics their own modules
Jubilee Young [Sun, 25 Apr 2021 22:01:05 +0000 (15:01 -0700)]
Give rounding intrinsics their own modules

3 years agoRemove Simd{U,I}128
Jubilee Young [Sun, 25 Apr 2021 23:40:35 +0000 (16:40 -0700)]
Remove Simd{U,I}128

3 years agoMove lanes_at_most_64 to _32
Jubilee Young [Sun, 25 Apr 2021 23:40:18 +0000 (16:40 -0700)]
Move lanes_at_most_64 to _32

3 years agoBranchless abs
Jubilee Young [Wed, 14 Apr 2021 04:15:20 +0000 (21:15 -0700)]
Branchless abs

3 years agoFinish fixing up abs docs
Jubilee Young [Wed, 14 Apr 2021 03:19:53 +0000 (20:19 -0700)]
Finish fixing up abs docs

3 years agoFix saturating math docs
Caleb Zulawski [Sun, 11 Apr 2021 15:42:29 +0000 (11:42 -0400)]
Fix saturating math docs

3 years agoMerge pull request #83 from rust-lang/feature/reductions
Jubilee [Thu, 22 Apr 2021 23:44:41 +0000 (16:44 -0700)]
Merge pull request #83 from rust-lang/feature/reductions

Add reductions

3 years agoRemove wrapping from sum/product fns
Caleb Zulawski [Thu, 22 Apr 2021 22:41:12 +0000 (22:41 +0000)]
Remove wrapping from sum/product fns

3 years agoMerge pull request #98 from rust-lang/feature/common-shuffles
Jubilee [Wed, 21 Apr 2021 06:33:01 +0000 (23:33 -0700)]
Merge pull request #98 from rust-lang/feature/common-shuffles

Add some common shuffles

3 years agoAttempt to clarify interleave/deinterleave
Caleb Zulawski [Tue, 20 Apr 2021 01:51:06 +0000 (01:51 +0000)]
Attempt to clarify interleave/deinterleave

3 years agoRename sum, product to horizontal_{sum,product}
Caleb Zulawski [Mon, 19 Apr 2021 23:41:11 +0000 (23:41 +0000)]
Rename sum, product to horizontal_{sum,product}

3 years agoMerge pull request #95 from rust-lang/intrinsic-fabs
Caleb Zulawski [Mon, 19 Apr 2021 05:46:52 +0000 (01:46 -0400)]
Merge pull request #95 from rust-lang/intrinsic-fabs

Use fabs intrinsic

3 years agoUse fabs intrinsic
Jubilee Young [Wed, 14 Apr 2021 02:24:20 +0000 (19:24 -0700)]
Use fabs intrinsic

3 years agoClarify concatenation order
Caleb Zulawski [Sat, 17 Apr 2021 19:21:25 +0000 (15:21 -0400)]
Clarify concatenation order

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
3 years agoAdd some common shuffles
Caleb Zulawski [Sat, 17 Apr 2021 17:00:14 +0000 (17:00 +0000)]
Add some common shuffles

3 years agoMerge pull request #89 from rust-lang/intrinsic-neg
Caleb Zulawski [Sat, 17 Apr 2021 01:35:11 +0000 (21:35 -0400)]
Merge pull request #89 from rust-lang/intrinsic-neg

Use neg intrinsics

3 years agoUpdate docs
Caleb Zulawski [Sat, 17 Apr 2021 01:32:45 +0000 (01:32 +0000)]
Update docs

3 years agoMerge pull request #96 from rust-lang/burning-chrome
Jubilee [Fri, 16 Apr 2021 23:21:39 +0000 (16:21 -0700)]
Merge pull request #96 from rust-lang/burning-chrome

Reduce wasm test suite

3 years agoUse neg intrinsics
Jubilee Young [Thu, 8 Apr 2021 22:11:20 +0000 (15:11 -0700)]
Use neg intrinsics

3 years agoDrop wasm SIMD tests
Jubilee Young [Fri, 16 Apr 2021 18:33:02 +0000 (11:33 -0700)]
Drop wasm SIMD tests

3 years agoBurn Chrome again
Jubilee Young [Fri, 16 Apr 2021 03:24:32 +0000 (20:24 -0700)]
Burn Chrome again

3 years agoSilence warnings
Jubilee Young [Thu, 15 Apr 2021 22:06:30 +0000 (15:06 -0700)]
Silence warnings

3 years agoImprove function names and docs
Caleb Zulawski [Sun, 11 Apr 2021 14:59:05 +0000 (10:59 -0400)]
Improve function names and docs

3 years agoEnable i586 workaround for both f32 and f64
Caleb Zulawski [Sat, 13 Mar 2021 01:31:30 +0000 (20:31 -0500)]
Enable i586 workaround for both f32 and f64

3 years agoFix test sum/product implementation
Caleb Zulawski [Sat, 13 Mar 2021 01:10:51 +0000 (20:10 -0500)]
Fix test sum/product implementation

3 years agoRevert "Revert i586 fix, fix test instead"
Caleb Zulawski [Sat, 13 Mar 2021 01:09:31 +0000 (20:09 -0500)]
Revert "Revert i586 fix, fix test instead"

This reverts commit 1ea2f128821339d8050ca936f24b71677352437e.

3 years agoRevert i586 fix, fix test instead
Caleb Zulawski [Fri, 12 Mar 2021 05:29:18 +0000 (00:29 -0500)]
Revert i586 fix, fix test instead

3 years agoFix i586 detection
Caleb Zulawski [Thu, 11 Mar 2021 06:02:47 +0000 (01:02 -0500)]
Fix i586 detection

3 years agoUpdate documentation and fix i586 inaccuracy
Caleb Zulawski [Thu, 11 Mar 2021 05:27:47 +0000 (00:27 -0500)]
Update documentation and fix i586 inaccuracy

3 years agoFix mask ops
Caleb Zulawski [Thu, 11 Mar 2021 05:05:20 +0000 (00:05 -0500)]
Fix mask ops

3 years agoEnable special handling of zero
Caleb Zulawski [Thu, 11 Mar 2021 04:47:43 +0000 (23:47 -0500)]
Enable special handling of zero

3 years agoAdd tests
Caleb Zulawski [Mon, 8 Mar 2021 05:48:18 +0000 (00:48 -0500)]
Add tests

3 years agoImplement reductions
Caleb Zulawski [Mon, 8 Mar 2021 02:15:56 +0000 (21:15 -0500)]
Implement reductions

3 years agoAdd intrinsics
Caleb Zulawski [Mon, 8 Mar 2021 00:45:31 +0000 (19:45 -0500)]
Add intrinsics

3 years agoVarious bug fixes
Caleb Zulawski [Sat, 6 Mar 2021 07:14:58 +0000 (02:14 -0500)]
Various bug fixes

3 years agoAdd floating-point classification functions
Caleb Zulawski [Mon, 15 Feb 2021 04:35:24 +0000 (23:35 -0500)]
Add floating-point classification functions

3 years agoMerge pull request #80 from rust-lang/feature/comparisons
Jubilee [Fri, 9 Apr 2021 14:39:47 +0000 (07:39 -0700)]
Merge pull request #80 from rust-lang/feature/comparisons

Add classification functions

3 years agoReduce maximum lanes from 64 to 32
Caleb Zulawski [Sat, 3 Apr 2021 18:43:33 +0000 (14:43 -0400)]
Reduce maximum lanes from 64 to 32

3 years agoFix normal and subnormal classification
Caleb Zulawski [Sat, 6 Mar 2021 14:28:55 +0000 (09:28 -0500)]
Fix normal and subnormal classification

3 years agoVarious bug fixes
Caleb Zulawski [Sat, 6 Mar 2021 07:14:58 +0000 (02:14 -0500)]
Various bug fixes

3 years agoAdd floating-point classification functions
Caleb Zulawski [Mon, 15 Feb 2021 04:35:24 +0000 (23:35 -0500)]
Add floating-point classification functions

3 years agoMerge pull request #87 from rust-lang/feat/sat-abs-neg
Caleb Zulawski [Fri, 2 Apr 2021 23:41:59 +0000 (19:41 -0400)]
Merge pull request #87 from rust-lang/feat/sat-abs-neg

Add saturating abs/neg

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 agoMerge pull request #86 from rust-lang/feat/saturating
Jubilee [Thu, 1 Apr 2021 20:08:36 +0000 (13:08 -0700)]
Merge pull request #86 from rust-lang/feat/saturating

Introduce saturating math

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

3 years agoMerge pull request #81 from rust-lang/feature/std-cargo-feature
Jubilee [Mon, 22 Mar 2021 21:01:29 +0000 (14:01 -0700)]
Merge pull request #81 from rust-lang/feature/std-cargo-feature

Add std cargo feature

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