Skip to content

Commit 3ef30bb

Browse files
committed
Add promotion test for VecUnroll{N,1}s
1 parent 7dc1334 commit 3ef30bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,8 @@ include("testsetup.jl")
11241124
@test xi32 === vxi32
11251125
@test yi32 === vbroadcast(VectorizationBase.pick_vector_width(Int32), one(Int32))
11261126
@test ntoh(vxi32) === Vec(map(ntoh, Tuple(vxi32))...)
1127+
1128+
@test VecUnroll((1.0,2.0,3.0)) * VecUnroll((1f0,2f0,3f0)) === VecUnroll((1.0, 4.0, 9.0))
11271129
end
11281130
println("Lazymul")
11291131
@time @testset "Lazymul" begin

0 commit comments

Comments
 (0)