From af6cb86a182d8850b91f6b75091459248717acb0 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 14 Feb 2023 19:58:33 -0600 Subject: [PATCH 1/2] add runtime check to test --- tests/test.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test.nim b/tests/test.nim index a2023ff..b1feb65 100644 --- a/tests/test.nim +++ b/tests/test.nim @@ -1,4 +1,4 @@ -import nimsimd/sse42 +import nimsimd/sse42, nimsimd/runtimecheck let a = mm_set1_ps(1.0) @@ -6,3 +6,5 @@ let c = mm_mul_ps(a, b) doAssert cast[array[4, float32]](c) == [2.0.float32, 2.0, 2.0, 2.0] + +echo checkInstructionSets({SSE3}) From 4bf95deadd473a012e811bed5374d806a6511699 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 14 Feb 2023 19:58:47 -0600 Subject: [PATCH 2/2] 1.2.5 --- nimsimd.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimsimd.nimble b/nimsimd.nimble index 30b7ec6..7cab2d7 100644 --- a/nimsimd.nimble +++ b/nimsimd.nimble @@ -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"