Skip to content

Commit

Permalink
Merge pull request #9 from guzba/ryan
Browse files Browse the repository at this point in the history
1.2.5
  • Loading branch information
guzba committed Feb 15, 2023
2 parents 02a5dfd + 4bf95de commit 1d75f15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nimsimd.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "1.2.4"
version = "1.2.5"
author = "Ryan Oldenburg"
description = "Pleasant Nim bindings for SIMD instruction sets."
license = "MIT"
Expand Down
4 changes: 3 additions & 1 deletion tests/test.nim
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import nimsimd/sse42
import nimsimd/sse42, nimsimd/runtimecheck

let
a = mm_set1_ps(1.0)
b = mm_set1_ps(2.0)
c = mm_mul_ps(a, b)

doAssert cast[array[4, float32]](c) == [2.0.float32, 2.0, 2.0, 2.0]

echo checkInstructionSets({SSE3})

0 comments on commit 1d75f15

Please sign in to comment.