-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #667 from pq-code-package/asm_no_consts
AArch64: Remove literal pools from native code
- Loading branch information
Showing
9 changed files
with
141 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arm Cortex-A76 (Raspberry Pi 5) benchmarks
ML-KEM-512 keypair
29079
cycles28986
cycles1.00
ML-KEM-512 encaps
35432
cycles35399
cycles1.00
ML-KEM-512 decaps
45902
cycles45896
cycles1.00
ML-KEM-768 keypair
49329
cycles49364
cycles1.00
ML-KEM-768 encaps
55607
cycles55564
cycles1.00
ML-KEM-768 decaps
70402
cycles70315
cycles1.00
ML-KEM-1024 keypair
72008
cycles71989
cycles1.00
ML-KEM-1024 encaps
80707
cycles80746
cycles1.00
ML-KEM-1024 decaps
100613
cycles100615
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 4th gen (c7i)
ML-KEM-512 keypair
13925
cycles13975
cycles1.00
ML-KEM-512 encaps
17215
cycles17236
cycles1.00
ML-KEM-512 decaps
23096
cycles23052
cycles1.00
ML-KEM-768 keypair
22542
cycles22520
cycles1.00
ML-KEM-768 encaps
24483
cycles24524
cycles1.00
ML-KEM-768 decaps
32421
cycles32548
cycles1.00
ML-KEM-1024 keypair
31380
cycles31383
cycles1.00
ML-KEM-1024 encaps
34911
cycles34928
cycles1.00
ML-KEM-1024 decaps
45746
cycles45798
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 3rd gen (c6a)
ML-KEM-512 keypair
18100
cycles18102
cycles1.00
ML-KEM-512 encaps
23141
cycles23015
cycles1.01
ML-KEM-512 decaps
30241
cycles30251
cycles1.00
ML-KEM-768 keypair
31098
cycles31124
cycles1.00
ML-KEM-768 encaps
33942
cycles33998
cycles1.00
ML-KEM-768 decaps
44557
cycles44518
cycles1.00
ML-KEM-1024 keypair
44608
cycles44599
cycles1.00
ML-KEM-1024 encaps
49888
cycles49893
cycles1.00
ML-KEM-1024 decaps
64385
cycles64399
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 3rd gen (c6i)
ML-KEM-512 keypair
20347
cycles20350
cycles1.00
ML-KEM-512 encaps
26976
cycles26953
cycles1.00
ML-KEM-512 decaps
35748
cycles35746
cycles1.00
ML-KEM-768 keypair
34881
cycles34886
cycles1.00
ML-KEM-768 encaps
38179
cycles38182
cycles1.00
ML-KEM-768 decaps
50961
cycles50946
cycles1.00
ML-KEM-1024 keypair
47935
cycles47950
cycles1.00
ML-KEM-1024 encaps
54084
cycles54099
cycles1.00
ML-KEM-1024 decaps
71646
cycles71603
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 4th gen (c7a)
ML-KEM-512 keypair
14908
cycles14915
cycles1.00
ML-KEM-512 encaps
19923
cycles19645
cycles1.01
ML-KEM-512 decaps
26307
cycles26297
cycles1.00
ML-KEM-768 keypair
25605
cycles25589
cycles1.00
ML-KEM-768 encaps
28131
cycles28078
cycles1.00
ML-KEM-768 decaps
37805
cycles37792
cycles1.00
ML-KEM-1024 keypair
35621
cycles35753
cycles1.00
ML-KEM-1024 encaps
40961
cycles40945
cycles1.00
ML-KEM-1024 decaps
54488
cycles54417
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 4th gen (c7i) (no-opt)
ML-KEM-512 keypair
33128
cycles33236
cycles1.00
ML-KEM-512 encaps
38683
cycles38554
cycles1.00
ML-KEM-512 decaps
50830
cycles50857
cycles1.00
ML-KEM-768 keypair
54788
cycles54878
cycles1.00
ML-KEM-768 encaps
60679
cycles60646
cycles1.00
ML-KEM-768 decaps
75749
cycles75857
cycles1.00
ML-KEM-1024 keypair
81909
cycles81938
cycles1.00
ML-KEM-1024 encaps
91817
cycles91771
cycles1.00
ML-KEM-1024 decaps
111459
cycles111446
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton3
ML-KEM-512 keypair
18948
cycles18959
cycles1.00
ML-KEM-512 encaps
23572
cycles23572
cycles1
ML-KEM-512 decaps
30674
cycles30660
cycles1.00
ML-KEM-768 keypair
32309
cycles32312
cycles1.00
ML-KEM-768 encaps
35886
cycles35886
cycles1
ML-KEM-768 decaps
46027
cycles46021
cycles1.00
ML-KEM-1024 keypair
46558
cycles46634
cycles1.00
ML-KEM-1024 encaps
52447
cycles52456
cycles1.00
ML-KEM-1024 decaps
66212
cycles66268
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 3rd gen (c6a) (no-opt)
ML-KEM-512 keypair
43313
cycles43336
cycles1.00
ML-KEM-512 encaps
51782
cycles51844
cycles1.00
ML-KEM-512 decaps
66992
cycles67031
cycles1.00
ML-KEM-768 keypair
71611
cycles71630
cycles1.00
ML-KEM-768 encaps
82620
cycles82693
cycles1.00
ML-KEM-768 decaps
102871
cycles103012
cycles1.00
ML-KEM-1024 keypair
106639
cycles106602
cycles1.00
ML-KEM-1024 encaps
121082
cycles121422
cycles1.00
ML-KEM-1024 decaps
146923
cycles146875
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intel Xeon 3rd gen (c6i) (no-opt)
ML-KEM-512 keypair
51612
cycles51419
cycles1.00
ML-KEM-512 encaps
59579
cycles59547
cycles1.00
ML-KEM-512 decaps
76542
cycles76562
cycles1.00
ML-KEM-768 keypair
84268
cycles84278
cycles1.00
ML-KEM-768 encaps
94997
cycles94991
cycles1.00
ML-KEM-768 decaps
117185
cycles117180
cycles1.00
ML-KEM-1024 keypair
124704
cycles124782
cycles1.00
ML-KEM-1024 encaps
138906
cycles138756
cycles1.00
ML-KEM-1024 decaps
167614
cycles167416
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AMD EPYC 4th gen (c7a) (no-opt)
ML-KEM-512 keypair
39543
cycles39375
cycles1.00
ML-KEM-512 encaps
45583
cycles45586
cycles1.00
ML-KEM-512 decaps
59058
cycles59050
cycles1.00
ML-KEM-768 keypair
64522
cycles64596
cycles1.00
ML-KEM-768 encaps
72873
cycles72846
cycles1.00
ML-KEM-768 decaps
91097
cycles91403
cycles1.00
ML-KEM-1024 keypair
95976
cycles95969
cycles1.00
ML-KEM-1024 encaps
107138
cycles107130
cycles1.00
ML-KEM-1024 decaps
130737
cycles130669
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arm Cortex-A55 (Snapdragon 888) benchmarks
ML-KEM-512 keypair
58338
cycles58327
cycles1.00
ML-KEM-512 encaps
65756
cycles65795
cycles1.00
ML-KEM-512 decaps
84486
cycles84608
cycles1.00
ML-KEM-768 keypair
99005
cycles99034
cycles1.00
ML-KEM-768 encaps
110280
cycles110325
cycles1.00
ML-KEM-768 decaps
137289
cycles137025
cycles1.00
ML-KEM-1024 keypair
150113
cycles150344
cycles1.00
ML-KEM-1024 encaps
166938
cycles166740
cycles1.00
ML-KEM-1024 decaps
202856
cycles202805
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton3 (no-opt)
ML-KEM-512 keypair
39366
cycles39365
cycles1.00
ML-KEM-512 encaps
45437
cycles45441
cycles1.00
ML-KEM-512 decaps
57494
cycles57491
cycles1.00
ML-KEM-768 keypair
65834
cycles65827
cycles1.00
ML-KEM-768 encaps
73815
cycles73817
cycles1.00
ML-KEM-768 decaps
89871
cycles89874
cycles1.00
ML-KEM-1024 keypair
98964
cycles98958
cycles1.00
ML-KEM-1024 encaps
110065
cycles110050
cycles1.00
ML-KEM-1024 decaps
130844
cycles130832
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton4
ML-KEM-512 keypair
18126
cycles18116
cycles1.00
ML-KEM-512 encaps
22180
cycles22178
cycles1.00
ML-KEM-512 decaps
28844
cycles28839
cycles1.00
ML-KEM-768 keypair
30548
cycles30560
cycles1.00
ML-KEM-768 encaps
33640
cycles33637
cycles1.00
ML-KEM-768 decaps
43162
cycles43158
cycles1.00
ML-KEM-1024 keypair
44158
cycles44163
cycles1.00
ML-KEM-1024 encaps
49641
cycles49653
cycles1.00
ML-KEM-1024 decaps
62632
cycles62642
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton2
ML-KEM-512 keypair
29078
cycles28986
cycles1.00
ML-KEM-512 encaps
35454
cycles35425
cycles1.00
ML-KEM-512 decaps
45895
cycles45888
cycles1.00
ML-KEM-768 keypair
49336
cycles49378
cycles1.00
ML-KEM-768 encaps
55606
cycles55565
cycles1.00
ML-KEM-768 decaps
70377
cycles70311
cycles1.00
ML-KEM-1024 keypair
71998
cycles71969
cycles1.00
ML-KEM-1024 encaps
80732
cycles80763
cycles1.00
ML-KEM-1024 decaps
100636
cycles100630
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton4 (no-opt)
ML-KEM-512 keypair
38041
cycles38042
cycles1.00
ML-KEM-512 encaps
43378
cycles43379
cycles1.00
ML-KEM-512 decaps
55554
cycles55553
cycles1.00
ML-KEM-768 keypair
63001
cycles63014
cycles1.00
ML-KEM-768 encaps
70322
cycles70323
cycles1.00
ML-KEM-768 decaps
86775
cycles86776
cycles1.00
ML-KEM-1024 keypair
94472
cycles94468
cycles1.00
ML-KEM-1024 encaps
105172
cycles105175
cycles1.00
ML-KEM-1024 decaps
126798
cycles126797
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Graviton2 (no-opt)
ML-KEM-512 keypair
60689
cycles60686
cycles1.00
ML-KEM-512 encaps
69815
cycles69803
cycles1.00
ML-KEM-512 decaps
88748
cycles88744
cycles1.00
ML-KEM-768 keypair
101838
cycles101761
cycles1.00
ML-KEM-768 encaps
113975
cycles113894
cycles1.00
ML-KEM-768 decaps
139410
cycles139325
cycles1.00
ML-KEM-1024 keypair
154152
cycles154153
cycles1.00
ML-KEM-1024 encaps
169912
cycles169847
cycles1.00
ML-KEM-1024 decaps
202254
cycles202209
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bananapi bpi-f3 benchmarks
ML-KEM-512 keypair
334930
cycles334942
cycles1.00
ML-KEM-512 encaps
443708
cycles443716
cycles1.00
ML-KEM-512 decaps
591742
cycles591749
cycles1.00
ML-KEM-768 keypair
559197
cycles559270
cycles1.00
ML-KEM-768 encaps
697584
cycles697687
cycles1.00
ML-KEM-768 decaps
889069
cycles890201
cycles1.00
ML-KEM-1024 keypair
828125
cycles828159
cycles1.00
ML-KEM-1024 encaps
999895
cycles999913
cycles1.00
ML-KEM-1024 decaps
1232864
cycles1232943
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.
c79b97a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arm Cortex-A72 (Raspberry Pi 4) benchmarks
ML-KEM-512 keypair
51960
cycles51568
cycles1.01
ML-KEM-512 encaps
58317
cycles58005
cycles1.01
ML-KEM-512 decaps
74893
cycles74147
cycles1.01
ML-KEM-768 keypair
88245
cycles87902
cycles1.00
ML-KEM-768 encaps
97016
cycles96043
cycles1.01
ML-KEM-768 decaps
120155
cycles119330
cycles1.01
ML-KEM-1024 keypair
131808
cycles131867
cycles1.00
ML-KEM-1024 encaps
144544
cycles145139
cycles1.00
ML-KEM-1024 decaps
175428
cycles176050
cycles1.00
This comment was automatically generated by workflow using github-action-benchmark.