Skip to content

Commit

Permalink
Fix pack_neon to use signed instruction.
Browse files Browse the repository at this point in the history
  • Loading branch information
Suharsh Sivakumar authored and bjacob committed Mar 22, 2019
1 parent 1bf3b9c commit dec2b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pack_neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ class PackingRegisterBlock<WidthMajorInt8SideMap,
}
int16x8_t sums2[Width];
for (int i = 0; i < Width; i++) {
const int8x8_t lo = vget_low_u8(src_lines[i]);
const int8x8_t hi = vget_high_u8(src_lines[i]);
const int8x8_t lo = vget_low_s8(src_lines[i]);
const int8x8_t hi = vget_high_s8(src_lines[i]);
sums2[i] = vaddl_s8(lo, hi);
}
int16x8_t sums4[Width / 2];
Expand Down

0 comments on commit dec2b7d

Please sign in to comment.