Lines Matching +full:2 +full:c
4 # Copyright (C) 2013 Intel Corporation.
9 # Tim Chen <tim.c.chen@linux.intel.com>
13 # General Public License (GPL) Version 2, available from the file
98 INP = %rsi # 2nd arg
102 c = %ecx define
147 d = c
148 c = b define
170 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
173 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
176 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
183 or c, y0 # y0 = a|c
185 and c, y2 # y2 = a&c
187 and b, y0 # y0 = (a|c)&b
190 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
204 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
209 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
214 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
220 or c, y0 # y0 = a|c
222 and c, y2 # y2 = a&c
224 vpshufd $0b11111010, X3, XTMP2 # XTMP2 = W[-2] {BBAA}
225 and b, y0 # y0 = (a|c)&b
228 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
239 vpsrld $10, XTMP2, XTMP4 # XTMP4 = W[-2] >> 10 {BBAA}
241 vpsrlq $19, XTMP2, XTMP3 # XTMP3 = W[-2] MY_ROR 19 {xBxA}
244 vpsrlq $17, XTMP2, XTMP2 # XTMP2 = W[-2] MY_ROR 17 {xBxA}
245 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
246 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
251 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
252 add (2*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH
258 or c, y0 # y0 = a|c
260 and c, y2 # y2 = a&c
262 and b, y0 # y0 = (a|c)&b
265 vpshufd $0b01010000, XTMP0, XTMP2 # XTMP2 = W[-2] {DDCC}
266 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
276 vpsrld $10, XTMP2, XTMP5 # XTMP5 = W[-2] >> 10 {DDCC}
279 vpsrlq $19, XTMP2, XTMP3 # XTMP3 = W[-2] MY_ROR 19 {xDxC}
282 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
283 vpsrlq $17, XTMP2, XTMP2 # XTMP2 = W[-2] MY_ROR 17 {xDxC}
284 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
288 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
296 or c, y0 # y0 = a|c
298 and c, y2 # y2 = a&c
299 vpaddd XTMP0, XTMP5, X0 # X0 = {W[3], W[2], W[1], W[0]}
300 and b, y0 # y0 = (a|c)&b
302 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
320 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
322 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
326 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
332 or c, y0 # y0 = a|c
334 and c, y2 # y2 = a&c
335 and b, y0 # y0 = (a|c)&b
337 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
345 ## arg 2 : pointer to input data
370 mov 4*2(CTX), c
386 COPY_XMM_AND_BSWAP X2, 2*16(INP), BYTE_FLIP_MASK
403 vpaddd 2*16(TBL), X0, XFER
415 mov $2, SRND
421 DO_ROUND 2
426 add $2*16, TBL
429 DO_ROUND 2
440 addm (4*2)(CTX),c