Lines Matching +full:1 +full:- +full:16

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 # Copyright 2023- IBM Corp. All rights reserved
14 # 1. a += b; d ^= a; d <<<= 16;
19 # row1 = (row1 + row2), row4 = row1 xor row4, row4 rotate each word by 16
43 #include <asm/asm-offsets.h>
44 #include <asm/asm-compat.h>
55 li 16, \OFFSET
56 stvx \VRS, 16, \FRAME
60 li 16, \OFFSET
61 stxvx \VSX, 16, \FRAME
69 li 16, \OFFSET
70 lvx \VRS, 16, \FRAME
74 li 16, \OFFSET
75 lxvx \VSX, 16, \FRAME
80 std 0, 16(1)
81 stdu 1,-752(1)
83 SAVE_GPR 14, 112, 1
84 SAVE_GPR 15, 120, 1
85 SAVE_GPR 16, 128, 1
86 SAVE_GPR 17, 136, 1
87 SAVE_GPR 18, 144, 1
88 SAVE_GPR 19, 152, 1
89 SAVE_GPR 20, 160, 1
90 SAVE_GPR 21, 168, 1
91 SAVE_GPR 22, 176, 1
92 SAVE_GPR 23, 184, 1
93 SAVE_GPR 24, 192, 1
94 SAVE_GPR 25, 200, 1
95 SAVE_GPR 26, 208, 1
96 SAVE_GPR 27, 216, 1
97 SAVE_GPR 28, 224, 1
98 SAVE_GPR 29, 232, 1
99 SAVE_GPR 30, 240, 1
100 SAVE_GPR 31, 248, 1
102 addi 9, 1, 256
104 SAVE_VRS 21, 16, 9
118 SAVE_VSX 16, 224, 9
137 addi 9, 1, 256
139 RESTORE_VRS 21, 16, 9
153 RESTORE_VSX 16, 224, 9
170 RESTORE_GPR 14, 112, 1
171 RESTORE_GPR 15, 120, 1
172 RESTORE_GPR 16, 128, 1
173 RESTORE_GPR 17, 136, 1
174 RESTORE_GPR 18, 144, 1
175 RESTORE_GPR 19, 152, 1
176 RESTORE_GPR 20, 160, 1
177 RESTORE_GPR 21, 168, 1
178 RESTORE_GPR 22, 176, 1
179 RESTORE_GPR 23, 184, 1
180 RESTORE_GPR 24, 192, 1
181 RESTORE_GPR 25, 200, 1
182 RESTORE_GPR 26, 208, 1
183 RESTORE_GPR 27, 216, 1
184 RESTORE_GPR 28, 224, 1
185 RESTORE_GPR 29, 232, 1
186 RESTORE_GPR 30, 240, 1
187 RESTORE_GPR 31, 248, 1
189 addi 1, 1, 752
190 ld 0, 16(1)
199 vadduwm 1, 1, 5
202 vadduwm 16, 16, 20
208 vpermxor 13, 13, 1, 25
211 vpermxor 28, 28, 16, 25
245 vadduwm 1, 1, 5
248 vadduwm 16, 16, 20
256 vpermxor 13, 13, 1, 25
259 vpermxor 28, 28, 16, 25
296 vadduwm 1, 1, 6
299 vadduwm 16, 16, 21
305 vpermxor 12, 12, 1, 25
308 vpermxor 31, 31, 16, 25
344 vadduwm 1, 1, 6
347 vadduwm 16, 16, 21
355 vpermxor 12, 12, 1, 25
358 vpermxor 31, 31, 16, 25
397 vadduwm 1, 1, 5
401 vpermxor 13, 13, 1, 20
417 vadduwm 1, 1, 5
421 vpermxor 13, 13, 1, 22
439 vadduwm 1, 1, 6
443 vpermxor 12, 12, 1, 20
459 vadduwm 1, 1, 6
463 vpermxor 12, 12, 1, 22
494 vadduwm \S+0, \S+0, 16-\S
495 vadduwm \S+4, \S+4, 17-\S
496 vadduwm \S+8, \S+8, 18-\S
497 vadduwm \S+12, \S+12, 19-\S
499 vadduwm \S+1, \S+1, 16-\S
500 vadduwm \S+5, \S+5, 17-\S
501 vadduwm \S+9, \S+9, 18-\S
502 vadduwm \S+13, \S+13, 19-\S
504 vadduwm \S+2, \S+2, 16-\S
505 vadduwm \S+6, \S+6, 17-\S
506 vadduwm \S+10, \S+10, 18-\S
507 vadduwm \S+14, \S+14, 19-\S
509 vadduwm \S+3, \S+3, 16-\S
510 vadduwm \S+7, \S+7, 17-\S
511 vadduwm \S+11, \S+11, 18-\S
512 vadduwm \S+15, \S+15, 19-\S
520 add 16, 14, 4
522 lxvw4x 1, 17, 9
539 xxlxor \S+36, \S+36, 1
555 stxvw4x \S+32, 0, 16
556 stxvw4x \S+36, 17, 16
557 stxvw4x \S+40, 18, 16
558 stxvw4x \S+44, 19, 16
560 stxvw4x \S+33, 20, 16
561 stxvw4x \S+37, 21, 16
562 stxvw4x \S+41, 22, 16
563 stxvw4x \S+45, 23, 16
565 stxvw4x \S+34, 24, 16
566 stxvw4x \S+38, 25, 16
567 stxvw4x \S+42, 26, 16
568 stxvw4x \S+46, 27, 16
570 stxvw4x \S+35, 28, 16
571 stxvw4x \S+39, 29, 16
572 stxvw4x \S+43, 30, 16
573 stxvw4x \S+47, 31, 16
587 # r17 - r31 mainly for Write_256 macro.
588 li 17, 16
608 lxvw4x 49, 17, 3 # vr17, key 1
612 # create (0, 1, 2, 3) counters
614 vspltisw 1, 1
617 vmrghw 4, 0, 1
619 vsldoi 30, 4, 5, 8 # vr30 counter, 4 (0, 1, 2, 3)
629 sradi 8, 7, 1
634 xxlor 16, 48, 48
645 vadduwm 31, 30, 25 # counter = (0, 1, 2, 3) + (4, 4, 4, 4)
658 xxspltw 32+0, 16, 0
659 xxspltw 32+1, 16, 1
660 xxspltw 32+2, 16, 2
661 xxspltw 32+3, 16, 3
664 xxspltw 32+5, 17, 1
668 xxspltw 32+9, 18, 1
672 xxspltw 32+13, 19, 1
677 xxspltw 32+16, 16, 0
678 xxspltw 32+17, 16, 1
679 xxspltw 32+18, 16, 2
680 xxspltw 32+19, 16, 3
683 xxspltw 32+21, 17, 1
687 xxspltw 32+25, 18, 1
691 xxspltw 32+29, 19, 1
706 TP_4x 0, 1, 2, 3
712 xxlor 1, 49, 49
715 xxlor 48, 16, 16
721 xxlor 49, 1, 1
726 addi 15, 15, -256 # len -=256
732 TP_4x 16+0, 16+1, 16+2, 16+3
733 TP_4x 16+4, 16+5, 16+6, 16+7
734 TP_4x 16+8, 16+9, 16+10, 16+11
735 TP_4x 16+12, 16+13, 16+14, 16+15
737 xxlor 32, 16, 16
741 Add_state 16
742 Write_256 16
744 addi 15, 15, -256 # len +=256
765 lxvw4x 49, 17, 3 # vr17, key 1
776 sradi 8, 7, 1
780 vspltw 0, 16, 0
781 vspltw 1, 16, 1
782 vspltw 2, 16, 2
783 vspltw 3, 16, 3
786 vspltw 5, 17, 1
790 vspltw 9, 18, 1
795 vspltw 13, 19, 1
806 TP_4x 0, 1, 2, 3
814 addi 15, 15, -256 # len += 256