From 535fac247355305131d8ad484e0e1f680ffd8ffd Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Tue, 5 Nov 2024 17:46:06 +0800 Subject: [PATCH] remove redundant .equ's --- examples/naive/intt_dilithium_12_34_56_78.s | 1 - examples/naive/intt_n256_l6_s32_bar.s | 1 - examples/naive/intt_n256_l6_s32_mont.s | 1 - examples/naive/intt_n256_l8_s32_bar.s | 1 - examples/naive/intt_n256_l8_s32_mont.s | 1 - examples/opt/intt_n256_l6_s32_bar.s | 1 - examples/opt/intt_n256_l6_s32_mont.s | 1 - examples/opt/intt_n256_l8_s32_bar.s | 1 - examples/opt/intt_n256_l8_s32_mont.s | 1 - 9 files changed, 9 deletions(-) diff --git a/examples/naive/intt_dilithium_12_34_56_78.s b/examples/naive/intt_dilithium_12_34_56_78.s index b170cd3e..11f1fda0 100644 --- a/examples/naive/intt_dilithium_12_34_56_78.s +++ b/examples/naive/intt_dilithium_12_34_56_78.s @@ -213,7 +213,6 @@ layer34_loop: // the scope of our work to optimize this: We only want to demonstrate the // ability of Helight to optimize the core loops. barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/naive/intt_n256_l6_s32_bar.s b/examples/naive/intt_n256_l6_s32_bar.s index e03446cf..8ccfe65c 100644 --- a/examples/naive/intt_n256_l6_s32_bar.s +++ b/examples/naive/intt_n256_l6_s32_bar.s @@ -160,7 +160,6 @@ layer34_loop: // TEMPORARY: Barrett reduction barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/naive/intt_n256_l6_s32_mont.s b/examples/naive/intt_n256_l6_s32_mont.s index c48b4089..bc21d2d7 100644 --- a/examples/naive/intt_n256_l6_s32_mont.s +++ b/examples/naive/intt_n256_l6_s32_mont.s @@ -290,7 +290,6 @@ layer34_loop: modulus_neg .req r10 neg modulus_neg, modulus barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/naive/intt_n256_l8_s32_bar.s b/examples/naive/intt_n256_l8_s32_bar.s index 0d29d216..41d2a33e 100644 --- a/examples/naive/intt_n256_l8_s32_bar.s +++ b/examples/naive/intt_n256_l8_s32_bar.s @@ -209,7 +209,6 @@ layer34_loop: // TEMPORARY: Barrett reduction barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/naive/intt_n256_l8_s32_mont.s b/examples/naive/intt_n256_l8_s32_mont.s index 86fdd73a..b54e54a3 100644 --- a/examples/naive/intt_n256_l8_s32_mont.s +++ b/examples/naive/intt_n256_l8_s32_mont.s @@ -819,7 +819,6 @@ layer34_loop: modulus_neg .req r10 neg modulus_neg, modulus barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/opt/intt_n256_l6_s32_bar.s b/examples/opt/intt_n256_l6_s32_bar.s index 88fb2980..ff912b1d 100644 --- a/examples/opt/intt_n256_l6_s32_bar.s +++ b/examples/opt/intt_n256_l6_s32_bar.s @@ -388,7 +388,6 @@ layer34_loop_end: // TEMPORARY: Barrett reduction barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/opt/intt_n256_l6_s32_mont.s b/examples/opt/intt_n256_l6_s32_mont.s index bbda3ee5..9f06fe0f 100644 --- a/examples/opt/intt_n256_l6_s32_mont.s +++ b/examples/opt/intt_n256_l6_s32_mont.s @@ -518,7 +518,6 @@ layer34_loop_end: modulus_neg .req r10 neg modulus_neg, modulus barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/opt/intt_n256_l8_s32_bar.s b/examples/opt/intt_n256_l8_s32_bar.s index 769d6bf1..008496d0 100644 --- a/examples/opt/intt_n256_l8_s32_bar.s +++ b/examples/opt/intt_n256_l8_s32_bar.s @@ -573,7 +573,6 @@ layer34_loop_end: // TEMPORARY: Barrett reduction barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64 diff --git a/examples/opt/intt_n256_l8_s32_mont.s b/examples/opt/intt_n256_l8_s32_mont.s index 315b7a82..f06d5408 100644 --- a/examples/opt/intt_n256_l8_s32_mont.s +++ b/examples/opt/intt_n256_l8_s32_mont.s @@ -1190,7 +1190,6 @@ layer34_loop_end: modulus_neg .req r10 neg modulus_neg, modulus barrett_const .req r1 - .equ const_barrett, 63 movw barrett_const, #:lower16:const_barrett movt barrett_const, #:upper16:const_barrett mov lr, #64