*fix palignr implementation for VSX Release mode

*add unit test for palignr
*enable unit test building for Release mode
This commit is contained in:
Apostolos Tapsas
2021-11-24 15:03:49 +00:00
parent bfc8da1102
commit 35e5369c70
3 changed files with 43 additions and 7 deletions

View File

@@ -381,6 +381,7 @@ m128 palignr_imm(m128 r, m128 l, int offset) {
static really_really_inline
m128 palignr(m128 r, m128 l, int offset) {
#if defined(HS_OPTIMIZE)
// need a faster way to do this.
return palignr_imm(r, l, offset);
#else
return palignr_imm(r, l, offset);