genericsimd / generic_simd

Generic SIMD intrinsic to allow for portable SIMD intrinsic programming
Other
42 stars 7 forks source link

svec4_d.cast unit test failed on sse4 #4

Open pengwuibm opened 10 years ago

pengwuibm commented 10 years ago

make sse4; ./sse4

test_lanes4.cpp:2297: Failure Value of: ((svec_cast(v)) == ((ref_cast<svec4_d, svec4_f, float>(v)))).all_true() Actual: false Expected: true [ FAILED ] svec4_d.cast (0 ms) [----------] 12 tests from svec4_d (1 ms total)

1 FAILED TEST

wanghc78 commented 10 years ago

There are other casting failures during the code rewriting process. Some are caused by the ref implementation. I will check them after the code rewriting.