forked from TrueCloudLab/tzhash
Fix comments
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
8dd24d0195
commit
d7c96f5d2e
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
#define mask(bit, tmp, to) \
|
#define mask(bit, tmp, to) \
|
||||||
VPSRLW bit, Y10, tmp \
|
VPSRLW bit, Y10, tmp \
|
||||||
VPAND Y12, tmp, to \ // to2 = 0x000<bit>000<bit>...
|
VPAND Y12, tmp, to \ // to = 0x000<bit>000<bit>...
|
||||||
VPSUBW to, Y13, to // to2 = 0xFFFF.. or 0x0000 depending on bit
|
VPSUBW to, Y13, to // to = 0xFFFF.. or 0x0000 depending on bit
|
||||||
|
|
||||||
#define mulBit(bit, in_1, in_2, out_1, out_2) \
|
#define mulBit(bit, in_1, in_2, out_1, out_2) \
|
||||||
VPSLLQ $1, in_1, Y1 \
|
VPSLLQ $1, in_1, Y1 \
|
||||||
|
|
Loading…
Reference in a new issue