Skip to content

Commit 70fea76

Browse files
committed
poly_tomont ppc64le: address review nits
Drop the inline attribution line (no names / PR numbers in file bodies) and restore the auto-generated SCU comment in the dev source. No code change.
1 parent ea5d495 commit 70fea76

2 files changed

Lines changed: 2 additions & 51 deletions

File tree

dev/ppc64le/src/poly_tomont_ppc_asm.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
55
*
66
* Written by Danny Tsen <dtsen@us.ibm.com>
7-
* poly_tomont frame trim (#1722) by Scott Boudreaux.
87
*/
98

109
/*
@@ -175,7 +174,8 @@ MLK_ASM_FN_SYMBOL(poly_tomont_ppc_asm)
175174
addi 1, 1, 224
176175
blr
177176

178-
/* To facilitate single-compilation-unit (SCU) builds, undefine all macros. */
177+
/* To facilitate single-compilation-unit (SCU) builds, undefine all macros.
178+
* Don't modify by hand -- this is auto-generated by scripts/autogen. */
179179
#undef rinp
180180
#undef V_FACTOR
181181
#undef V_FACTOR_TW

mlkem/src/native/ppc64le/src/poly_tomont_ppc_asm.S

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
55
*
66
* Written by Danny Tsen <dtsen@us.ibm.com>
7-
* poly_tomont frame trim (#1722) by Scott Boudreaux.
87
*/
98

109
/*
@@ -201,54 +200,6 @@ MLK_ASM_FN_SYMBOL(poly_tomont_ppc_asm)
201200
stxvd2x 50, 9, 3
202201
stxvd2x 55, 10, 3
203202
stxvd2x 39, 11, 3
204-
lxvd2x 45, 0, 3
205-
addi 3, 3, 16
206-
lxvd2x 50, 0, 3
207-
addi 3, 3, 16
208-
lxvd2x 55, 0, 3
209-
addi 3, 3, 16
210-
lxvd2x 39, 0, 3
211-
addi 3, 3, 16
212-
vmhraddshs 14, 13, 2, 3
213-
vmhraddshs 19, 18, 2, 3
214-
vmhraddshs 24, 23, 2, 3
215-
vmhraddshs 8, 7, 2, 3
216-
vmladduhm 13, 13, 0, 3
217-
vmladduhm 18, 18, 0, 3
218-
vmladduhm 23, 23, 0, 3
219-
vmladduhm 7, 7, 0, 3
220-
vmladduhm 27, 14, 5, 13
221-
vmladduhm 28, 19, 5, 18
222-
vmladduhm 29, 24, 5, 23
223-
vmladduhm 30, 8, 5, 7
224-
lxvd2x 45, 0, 3
225-
addi 3, 3, 16
226-
lxvd2x 50, 0, 3
227-
addi 3, 3, 16
228-
lxvd2x 55, 0, 3
229-
addi 3, 3, 16
230-
lxvd2x 39, 0, 3
231-
addi 3, 3, 16
232-
vmhraddshs 14, 13, 2, 3
233-
vmhraddshs 19, 18, 2, 3
234-
vmhraddshs 24, 23, 2, 3
235-
vmhraddshs 8, 7, 2, 3
236-
vmladduhm 13, 13, 0, 3
237-
vmladduhm 18, 18, 0, 3
238-
vmladduhm 23, 23, 0, 3
239-
vmladduhm 7, 7, 0, 3
240-
vmladduhm 13, 14, 5, 13
241-
vmladduhm 18, 19, 5, 18
242-
vmladduhm 23, 24, 5, 23
243-
vmladduhm 7, 8, 5, 7
244-
stxvd2x 59, 4, 3
245-
stxvd2x 60, 5, 3
246-
stxvd2x 61, 6, 3
247-
stxvd2x 62, 7, 3
248-
stxvd2x 45, 8, 3
249-
stxvd2x 50, 9, 3
250-
stxvd2x 55, 10, 3
251-
stxvd2x 39, 11, 3
252203
li 6, 128
253204
li 7, 144
254205
li 8, 160

0 commit comments

Comments
 (0)