Skip to content

Commit 2281048

Browse files
tipabupablodelara
authored andcommitted
Normalize the width of some constants
This makes it easier to compare the constants used for crc/crc64_*_by8.asm, crc/crc64_*_by16_10.asm, and crc/aarch64/crc64_*_pmull.h Note that this revealed some discrepancies: ecma_refl: br_high != rk8 (92d8af2baf0e1e85 vs 92d8af2baf0e1e84) iso_refl: br_high != rk8 (b000000000000001 vs b000000000000000) jones_refl: br_high != rk8 (2b5926535897936b vs 2b5926535897936a) but they should be innocuous. Signed-off-by: Tim Burke <[email protected]>
1 parent f74b0d2 commit 2281048

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

crc/crc64_ecma_norm_by8.asm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
%define USE_CONSTS
3232
%macro INCLUDE_CONSTS 0
3333
rk1 :
34-
DQ 0x5f5c3c7eb52fab6
34+
DQ 0x05f5c3c7eb52fab6
3535
rk2 :
3636
DQ 0x4eb938a7d257740e
3737
rk3 :
38-
DQ 0x5cf79dea9ac37d6
38+
DQ 0x05cf79dea9ac37d6
3939
rk4 :
4040
DQ 0x001067e571d7d5c2
4141
rk5 :
42-
DQ 0x5f5c3c7eb52fab6
42+
DQ 0x05f5c3c7eb52fab6
4343
rk6 :
4444
DQ 0x0000000000000000
4545
rk7 :
@@ -55,9 +55,9 @@ DQ 0x9af04e1eff82d0dd
5555
rk12 :
5656
DQ 0x6e82e609297f8fe8
5757
rk13 :
58-
DQ 0x97c516e98bd2e73
58+
DQ 0x097c516e98bd2e73
5959
rk14 :
60-
DQ 0xb76477b31e22e7b
60+
DQ 0x0b76477b31e22e7b
6161
rk15 :
6262
DQ 0x5f6843ca540df020
6363
rk16 :

crc/crc64_ecma_refl_by8.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ DQ 0xe4ce2cd55fea0037
5555
rk12 :
5656
DQ 0x2fe3fd2920ce82ec
5757
rk13 :
58-
DQ 0xe31d519421a63a5
58+
DQ 0x0e31d519421a63a5
5959
rk14 :
6060
DQ 0x2e30203212cac325
6161
rk15 :
62-
DQ 0x81f6054a7842df4
62+
DQ 0x081f6054a7842df4
6363
rk16 :
6464
DQ 0x6ae3efbb9dd441f3
6565
rk17 :

0 commit comments

Comments
 (0)