mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-08 23:32:23 +03:00
add {l,r}shift128()+tests, rename printv_u64() to print64()
This commit is contained in:
committed by
Konstantinos Margaritis
parent
e325ce9452
commit
93abed4d87
@@ -198,6 +198,8 @@ public:
|
||||
SuperVector pshufb(SuperVector b);
|
||||
SuperVector lshift64(uint8_t const N);
|
||||
SuperVector rshift64(uint8_t const N);
|
||||
SuperVector lshift128(uint8_t const N);
|
||||
SuperVector rshift128(uint8_t const N);
|
||||
|
||||
// Constants
|
||||
static SuperVector Ones();
|
||||
@@ -225,7 +227,7 @@ public:
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
void printv_u64(const char *label) {
|
||||
void print64(const char *label) {
|
||||
printf("%12s: ", label);
|
||||
for(s16 i=SIZE/sizeof(u64a)-1; i >= 0; i--)
|
||||
printf("%016lx ", u.u64[i]);
|
||||
@@ -235,7 +237,7 @@ public:
|
||||
void print8(const char *label UNUSED) {};
|
||||
void print16(const char *label UNUSED) {};
|
||||
void print32(const char *label UNUSED) {};
|
||||
void printv_u64(const char *label UNUSED) {};
|
||||
void print64(const char *label UNUSED) {};
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user