Merge pull request #581 from tigeli/master
ocb: fix gcc4.8 compiling problem with __ARM_NEON__
This commit is contained in:
+1
-1
@@ -260,7 +260,7 @@
|
|||||||
}
|
}
|
||||||
static inline block double_block(block b)
|
static inline block double_block(block b)
|
||||||
{
|
{
|
||||||
const block mask = {135,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};
|
const block mask = {-121,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};
|
||||||
block tmp = vshrq_n_s8(b,7);
|
block tmp = vshrq_n_s8(b,7);
|
||||||
tmp = vandq_s8(tmp, mask);
|
tmp = vandq_s8(tmp, mask);
|
||||||
tmp = vextq_s8(tmp, tmp, 1); /* Rotate high byte to end */
|
tmp = vextq_s8(tmp, tmp, 1); /* Rotate high byte to end */
|
||||||
|
|||||||
Reference in New Issue
Block a user