Skip to content

Commit

Permalink
refactor codegen for mask reductions and add basic verification
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Sep 12, 2018
1 parent 6ecdf63 commit 026fee5
Show file tree
Hide file tree
Showing 19 changed files with 907 additions and 618 deletions.
8 changes: 8 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ environment:
MSYSTEM: MINGW64
RUSTFLAGS: "-C target-feature=+sse4.2"
NOVERIFY: "1"
- TARGET: x86_64-pc-windows-msvc
MSYSTEM: MINGW64
RUSTFLAGS: "-C target-feature=+avx"
NOVERIFY: "1"
- TARGET: x86_64-pc-windows-msvc
MSYSTEM: MINGW64
RUSTFLAGS: "-C target-feature=+avx2"
Expand All @@ -27,6 +31,10 @@ environment:
MSYSTEM: MINGW32
RUSTFLAGS: "-C target-feature=+sse4.2"
NOVERIFY: "1"
- TARGET: i686-pc-windows-msvc
MSYSTEM: MINGW32
RUSTFLAGS: "-C target-feature=+avx"
NOVERIFY: "1"
- TARGET: i686-pc-windows-msvc
MSYSTEM: MINGW32
RUSTFLAGS: "-C target-feature=+avx2"
Expand Down
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ matrix:
- env: TARGET=x86_64-unknown-linux-gnu RUSTFLAGS="-C target-feature=+sse4.2"
name: "x86_64-unknown-linux-gnu + SSE4.2"
install: rustup component add rustfmt-preview
- env: TARGET=x86_64-unknown-linux-gnu RUSTFLAGS="-C target-feature=+avx"
name: "x86_64-unknown-linux-gnu + AVX"
install: rustup component add rustfmt-preview
- env: TARGET=x86_64-unknown-linux-gnu RUSTFLAGS="-C target-feature=+avx2"
name: "x86_64-unknown-linux-gnu + AVX2"
install: rustup component add rustfmt-preview
Expand All @@ -44,6 +47,9 @@ matrix:
- env: TARGET=x86_64-unknown-linux-gnu-emulated RUSTFLAGS="-C target-feature=+sse4.2"
name: "Intel SDE + SSE4.2"
install: true
- env: TARGET=x86_64-unknown-linux-gnu-emulated RUSTFLAGS="-C target-feature=+avx"
name: "Intel SDE + AVX"
install: true
- env: TARGET=x86_64-unknown-linux-gnu-emulated RUSTFLAGS="-C target-feature=+avx2"
name: "Intel SDE + AVX2"
install: true
Expand Down
2 changes: 1 addition & 1 deletion micro_benchmarks/benches/mask_reductions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use packed_simd::*;

#[macro_use]
extern crate criterion;
use criterion::{Criterion, Benchmark, Throughput};
use criterion::{Benchmark, Criterion, Throughput};
const NO_ITERATIONS: u32 = 1_000;

macro_rules! bench {
Expand Down
Loading

0 comments on commit 026fee5

Please sign in to comment.