Lines Matching +full:2 +full:a
11 # This software is available to you under a choice of one of two
13 # General Public License (GPL) Version 2, available from the file
32 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
92 INP = %rsi # 2nd arg
100 a = %eax define
135 # Rotate values of symbols a...h
144 b = a
145 a = TMP_ define
149 ## compute s0 four at a time and s1 two at a time
150 ## compute W[-16] + W[-7] 4 at a time
154 mov a, y1 # y1 = a
156 ror $(22-13), y1 # y1 = a >> (22-13)
161 xor a, y1 # y1 = a ^ (a >> (22-13)
166 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
169 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
173 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
177 mov a, y0 # y0 = a
179 mov a, y2 # y2 = a
181 or c, y0 # y0 = a|c
183 and c, y2 # y2 = a&c
185 and b, y0 # y0 = (a|c)&b
188 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
194 mov a, y1 # y1 = a
199 ror $(22-13), y1 # y1 = a >> (22-13)
201 xor a, y1 # y1 = a ^ (a >> (22-13)
205 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
210 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
215 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
217 mov a, y0 # y0 = a
219 mov a, y2 # y2 = a
221 or c, y0 # y0 = a|c
223 and c, y2 # y2 = a&c
225 pshufd $0b11111010, X3, XTMP2 # XTMP2 = W[-2] {BBAA}
226 and b, y0 # y0 = (a|c)&b
229 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
233 movdqa XTMP2, XTMP3 # XTMP3 = W[-2] {BBAA}
235 mov a, y1 # y1 = a
237 movdqa XTMP2, XTMP4 # XTMP4 = W[-2] {BBAA}
239 ror $(22-13), y1 # y1 = a >> (22-13)
241 xor a, y1 # y1 = a ^ (a >> (22-13)
243 psrlq $17, XTMP2 # XTMP2 = W[-2] ror 17 {xBxA}
245 psrlq $19, XTMP3 # XTMP3 = W[-2] ror 19 {xBxA}
248 psrld $10, XTMP4 # XTMP4 = W[-2] >> 10 {BBAA}
249 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
250 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
255 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
256 add (2*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH
258 mov a, y0 # y0 = a
260 mov a, y2 # y2 = a
262 or c, y0 # y0 = a|c
264 and c, y2 # y2 = a&c
266 and b, y0 # y0 = (a|c)&b
269 pshufd $0b01010000, XTMP0, XTMP2 # XTMP2 = W[-2] {BBAA}
270 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
274 movdqa XTMP2, XTMP3 # XTMP3 = W[-2] {DDCC}
277 mov a, y1 # y1 = a
278 movdqa XTMP2, X0 # X0 = W[-2] {DDCC}
279 ror $(22-13), y1 # y1 = a >> (22-13)
283 psrlq $17, XTMP2 # XTMP2 = W[-2] ror 17 {xDxC}
284 xor a, y1 # y1 = a ^ (a >> (22-13)
286 psrlq $19, XTMP3 # XTMP3 = W[-2] ror 19 {xDxC}
289 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
290 psrld $10, X0 # X0 = W[-2] >> 10 {DDCC}
291 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22
292 ror $6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>2
295 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>2
299 mov a, y0 # y0 = a
301 mov a, y2 # y2 = a
303 or c, y0 # y0 = a|c
305 and c, y2 # y2 = a&c
306 paddd XTMP0, X0 # X0 = {W[3], W[2], W[1], W[0]}
307 and b, y0 # y0 = (a|c)&b
309 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
320 mov a, y1 # y1 = a
322 ror $(22-13), y1 # y1 = a >> (22-13)
324 xor a, y1 # y1 = a ^ (a >> (22-13)
328 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
330 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
334 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
337 mov a, y0 # y0 = a
339 mov a, y2 # y2 = a
340 or c, y0 # y0 = a|c
342 and c, y2 # y2 = a&c
343 and b, y0 # y0 = (a|c)&b
345 or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
355 ## arg 2 : pointer to input data
377 mov 4*0(CTX), a
379 mov 4*2(CTX), c
396 COPY_XMM_AND_BSWAP X2, 2*16(INP), BYTE_FLIP_MASK
415 movdqa 2*16(TBL), XFER
429 mov $2, SRND
435 DO_ROUND 2
439 add $2*16, TBL
442 DO_ROUND 2
451 addm (4*0)(CTX),a
453 addm (4*2)(CTX),c