mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-08 23:32:23 +03:00
tiny change in vector initialization
This commit is contained in:
committed by
Konstantinos Margaritis
parent
9c2c6fdcfc
commit
009ac9432c
@@ -201,7 +201,7 @@ TEST(SuperVectorUtilsTest,Eqmask128c){
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(SuperVectorUtilsTest,LShift128c){
|
TEST(SuperVectorUtilsTest,LShift128c){
|
||||||
u8 vec[16] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 };
|
u8 vec[16] = { 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 };
|
||||||
auto SP = SuperVector<16>::loadu(vec);
|
auto SP = SuperVector<16>::loadu(vec);
|
||||||
u8 buf[16];
|
u8 buf[16];
|
||||||
TEST_LSHIFT128(buf, vec, SP, 0);
|
TEST_LSHIFT128(buf, vec, SP, 0);
|
||||||
@@ -260,7 +260,7 @@ TEST(SuperVectorUtilsTest,RShift64_128c){
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(SuperVectorUtilsTest,RShift128c){
|
TEST(SuperVectorUtilsTest,RShift128c){
|
||||||
u8 vec[16] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 };
|
u8 vec[16] = { 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 };
|
||||||
auto SP = SuperVector<16>::loadu(vec);
|
auto SP = SuperVector<16>::loadu(vec);
|
||||||
u8 buf[16];
|
u8 buf[16];
|
||||||
TEST_RSHIFT128(buf, vec, SP, 0);
|
TEST_RSHIFT128(buf, vec, SP, 0);
|
||||||
|
Reference in New Issue
Block a user