Skip to content

Commit

Permalink
bitshuffle generic synced with bitshuffle upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Oct 26, 2023
1 parent 5d54a69 commit 374f12e
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 166 deletions.
12 changes: 0 additions & 12 deletions blosc/bitshuffle-altivec.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,18 +258,6 @@ int64_t bshuf_trans_byte_elem_128(void* in, void* out, const size_t size) {
}


/* Memory copy with bshuf call signature. */
int64_t bshuf_copy(void* in, void* out, const size_t size,
const size_t elem_size) {

char* in_b = (char*)in;
char* out_b = (char*)out;

memcpy(out_b, in_b, size * elem_size);
return size * elem_size;
}


/* Transpose bytes within elements using best SSE algorithm available. */
int64_t bshuf_trans_byte_elem_altivec(void* in, void* out, const size_t size,
const size_t elem_size, void* tmp_buf) {
Expand Down
Loading

0 comments on commit 374f12e

Please sign in to comment.