Skip to content

Commit ec6f5b6

Browse files
committed
Make amd64 asm code PIC
1 parent 1bfe4dc commit ec6f5b6

11 files changed

+185
-185
lines changed

lib/ed25519/amd64-64-24k/fe25519_mul.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ adc %rdx,%r11
652652
mov %r8,%rax
653653

654654
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
655-
mulq crypto_sign_ed25519_amd64_64_38
655+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
656656

657657
# qhasm: mulr4 = mulrax
658658
# asm 1: mov <mulrax=int64#7,>mulr4=int64#2
@@ -670,7 +670,7 @@ mov %r9,%rax
670670
mov %rdx,%rcx
671671

672672
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
673-
mulq crypto_sign_ed25519_amd64_64_38
673+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
674674

675675
# qhasm: carry? mulr5 += mulrax
676676
# asm 1: add <mulrax=int64#7,<mulr5=int64#4
@@ -693,7 +693,7 @@ mov $0,%r8
693693
adc %rdx,%r8
694694

695695
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
696-
mulq crypto_sign_ed25519_amd64_64_38
696+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
697697

698698
# qhasm: carry? mulr6 += mulrax
699699
# asm 1: add <mulrax=int64#7,<mulr6=int64#5
@@ -716,7 +716,7 @@ mov $0,%r9
716716
adc %rdx,%r9
717717

718718
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
719-
mulq crypto_sign_ed25519_amd64_64_38
719+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
720720

721721
# qhasm: carry? mulr7 += mulrax
722722
# asm 1: add <mulrax=int64#7,<mulr7=int64#6

lib/ed25519/amd64-64-24k/fe25519_square.s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ adc %rdx,%rcx
426426
mov %r11,%rax
427427

428428
# qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
429-
mulq crypto_sign_ed25519_amd64_64_38
429+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
430430

431431
# qhasm: squarer4 = squarerax
432432
# asm 1: mov <squarerax=int64#7,>squarer4=int64#2
@@ -444,7 +444,7 @@ mov %r12,%rax
444444
mov %rdx,%r11
445445

446446
# qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
447-
mulq crypto_sign_ed25519_amd64_64_38
447+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
448448

449449
# qhasm: carry? squarer5 += squarerax
450450
# asm 1: add <squarerax=int64#7,<squarer5=int64#9
@@ -467,7 +467,7 @@ mov $0,%r12
467467
adc %rdx,%r12
468468

469469
# qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
470-
mulq crypto_sign_ed25519_amd64_64_38
470+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
471471

472472
# qhasm: carry? squarer6 += squarerax
473473
# asm 1: add <squarerax=int64#7,<squarer6=int64#10
@@ -490,7 +490,7 @@ mov $0,%rcx
490490
adc %rdx,%rcx
491491

492492
# qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
493-
mulq crypto_sign_ed25519_amd64_64_38
493+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
494494

495495
# qhasm: carry? squarer7 += squarerax
496496
# asm 1: add <squarerax=int64#7,<squarer7=int64#4

lib/ed25519/amd64-64-24k/ge25519_add_p1p1.s

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ adc %rdx,%r11
12081208
mov %r8,%rax
12091209

12101210
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1211-
mulq crypto_sign_ed25519_amd64_64_38
1211+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
12121212

12131213
# qhasm: mulr4 = mulrax
12141214
# asm 1: mov <mulrax=int64#7,>mulr4=int64#5
@@ -1226,7 +1226,7 @@ mov %r9,%rax
12261226
mov %rdx,%r9
12271227

12281228
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1229-
mulq crypto_sign_ed25519_amd64_64_38
1229+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
12301230

12311231
# qhasm: carry? mulr5 += mulrax
12321232
# asm 1: add <mulrax=int64#7,<mulr5=int64#6
@@ -1249,7 +1249,7 @@ mov $0,%r10
12491249
adc %rdx,%r10
12501250

12511251
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1252-
mulq crypto_sign_ed25519_amd64_64_38
1252+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
12531253

12541254
# qhasm: carry? mulr6 += mulrax
12551255
# asm 1: add <mulrax=int64#7,<mulr6=int64#8
@@ -1272,7 +1272,7 @@ mov $0,%r11
12721272
adc %rdx,%r11
12731273

12741274
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1275-
mulq crypto_sign_ed25519_amd64_64_38
1275+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
12761276

12771277
# qhasm: carry? mulr7 += mulrax
12781278
# asm 1: add <mulrax=int64#7,<mulr7=int64#9
@@ -1890,7 +1890,7 @@ adc %rdx,%r11
18901890
mov %r8,%rax
18911891

18921892
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1893-
mulq crypto_sign_ed25519_amd64_64_38
1893+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
18941894

18951895
# qhasm: mulr4 = mulrax
18961896
# asm 1: mov <mulrax=int64#7,>mulr4=int64#5
@@ -1908,7 +1908,7 @@ mov %r9,%rax
19081908
mov %rdx,%r9
19091909

19101910
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1911-
mulq crypto_sign_ed25519_amd64_64_38
1911+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
19121912

19131913
# qhasm: carry? mulr5 += mulrax
19141914
# asm 1: add <mulrax=int64#7,<mulr5=int64#6
@@ -1931,7 +1931,7 @@ mov $0,%r10
19311931
adc %rdx,%r10
19321932

19331933
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1934-
mulq crypto_sign_ed25519_amd64_64_38
1934+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
19351935

19361936
# qhasm: carry? mulr6 += mulrax
19371937
# asm 1: add <mulrax=int64#7,<mulr6=int64#8
@@ -1954,7 +1954,7 @@ mov $0,%r11
19541954
adc %rdx,%r11
19551955

19561956
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
1957-
mulq crypto_sign_ed25519_amd64_64_38
1957+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
19581958

19591959
# qhasm: carry? mulr7 += mulrax
19601960
# asm 1: add <mulrax=int64#7,<mulr7=int64#9
@@ -2742,7 +2742,7 @@ adc %rdx,%r11
27422742
mov %r8,%rax
27432743

27442744
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
2745-
mulq crypto_sign_ed25519_amd64_64_38
2745+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
27462746

27472747
# qhasm: mulr4 = mulrax
27482748
# asm 1: mov <mulrax=int64#7,>mulr4=int64#5
@@ -2760,7 +2760,7 @@ mov %r9,%rax
27602760
mov %rdx,%r9
27612761

27622762
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
2763-
mulq crypto_sign_ed25519_amd64_64_38
2763+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
27642764

27652765
# qhasm: carry? mulr5 += mulrax
27662766
# asm 1: add <mulrax=int64#7,<mulr5=int64#6
@@ -2783,7 +2783,7 @@ mov $0,%r10
27832783
adc %rdx,%r10
27842784

27852785
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
2786-
mulq crypto_sign_ed25519_amd64_64_38
2786+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
27872787

27882788
# qhasm: carry? mulr6 += mulrax
27892789
# asm 1: add <mulrax=int64#7,<mulr6=int64#8
@@ -2806,7 +2806,7 @@ mov $0,%r11
28062806
adc %rdx,%r11
28072807

28082808
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
2809-
mulq crypto_sign_ed25519_amd64_64_38
2809+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
28102810

28112811
# qhasm: carry? mulr7 += mulrax
28122812
# asm 1: add <mulrax=int64#7,<mulr7=int64#9
@@ -2941,7 +2941,7 @@ movq 56(%rsp),%r12
29412941
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D0
29422942
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=int64#7
29432943
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=%rax
2944-
movq crypto_sign_ed25519_amd64_64_EC2D0,%rax
2944+
movq crypto_sign_ed25519_amd64_64_EC2D0(%rip),%rax
29452945

29462946
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx0
29472947
# asm 1: mul <mulx0=int64#10
@@ -2961,7 +2961,7 @@ mov %rdx,%r14
29612961
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D1
29622962
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=int64#7
29632963
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=%rax
2964-
movq crypto_sign_ed25519_amd64_64_EC2D1,%rax
2964+
movq crypto_sign_ed25519_amd64_64_EC2D1(%rip),%rax
29652965

29662966
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx0
29672967
# asm 1: mul <mulx0=int64#10
@@ -2986,7 +2986,7 @@ adc %rdx,%r15
29862986
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D2
29872987
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=int64#7
29882988
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=%rax
2989-
movq crypto_sign_ed25519_amd64_64_EC2D2,%rax
2989+
movq crypto_sign_ed25519_amd64_64_EC2D2(%rip),%rax
29902990

29912991
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx0
29922992
# asm 1: mul <mulx0=int64#10
@@ -3011,7 +3011,7 @@ adc %rdx,%rbx
30113011
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D3
30123012
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=int64#7
30133013
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=%rax
3014-
movq crypto_sign_ed25519_amd64_64_EC2D3,%rax
3014+
movq crypto_sign_ed25519_amd64_64_EC2D3(%rip),%rax
30153015

30163016
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx0
30173017
# asm 1: mul <mulx0=int64#10
@@ -3036,7 +3036,7 @@ movq 64(%rsp),%r12
30363036
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D0
30373037
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=int64#7
30383038
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=%rax
3039-
movq crypto_sign_ed25519_amd64_64_EC2D0,%rax
3039+
movq crypto_sign_ed25519_amd64_64_EC2D0(%rip),%rax
30403040

30413041
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx1
30423042
# asm 1: mul <mulx1=int64#10
@@ -3061,7 +3061,7 @@ adc %rdx,%rbp
30613061
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D1
30623062
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=int64#7
30633063
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=%rax
3064-
movq crypto_sign_ed25519_amd64_64_EC2D1,%rax
3064+
movq crypto_sign_ed25519_amd64_64_EC2D1(%rip),%rax
30653065

30663066
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx1
30673067
# asm 1: mul <mulx1=int64#10
@@ -3096,7 +3096,7 @@ adc %rdx,%rbp
30963096
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D2
30973097
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=int64#7
30983098
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=%rax
3099-
movq crypto_sign_ed25519_amd64_64_EC2D2,%rax
3099+
movq crypto_sign_ed25519_amd64_64_EC2D2(%rip),%rax
31003100

31013101
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx1
31023102
# asm 1: mul <mulx1=int64#10
@@ -3131,7 +3131,7 @@ adc %rdx,%rbp
31313131
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D3
31323132
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=int64#7
31333133
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=%rax
3134-
movq crypto_sign_ed25519_amd64_64_EC2D3,%rax
3134+
movq crypto_sign_ed25519_amd64_64_EC2D3(%rip),%rax
31353135

31363136
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx1
31373137
# asm 1: mul <mulx1=int64#10
@@ -3166,7 +3166,7 @@ movq 72(%rsp),%r12
31663166
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D0
31673167
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=int64#7
31683168
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=%rax
3169-
movq crypto_sign_ed25519_amd64_64_EC2D0,%rax
3169+
movq crypto_sign_ed25519_amd64_64_EC2D0(%rip),%rax
31703170

31713171
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx2
31723172
# asm 1: mul <mulx2=int64#10
@@ -3191,7 +3191,7 @@ adc %rdx,%rbp
31913191
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D1
31923192
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=int64#7
31933193
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=%rax
3194-
movq crypto_sign_ed25519_amd64_64_EC2D1,%rax
3194+
movq crypto_sign_ed25519_amd64_64_EC2D1(%rip),%rax
31953195

31963196
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx2
31973197
# asm 1: mul <mulx2=int64#10
@@ -3226,7 +3226,7 @@ adc %rdx,%rbp
32263226
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D2
32273227
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=int64#7
32283228
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=%rax
3229-
movq crypto_sign_ed25519_amd64_64_EC2D2,%rax
3229+
movq crypto_sign_ed25519_amd64_64_EC2D2(%rip),%rax
32303230

32313231
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx2
32323232
# asm 1: mul <mulx2=int64#10
@@ -3261,7 +3261,7 @@ adc %rdx,%rbp
32613261
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D3
32623262
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=int64#7
32633263
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=%rax
3264-
movq crypto_sign_ed25519_amd64_64_EC2D3,%rax
3264+
movq crypto_sign_ed25519_amd64_64_EC2D3(%rip),%rax
32653265

32663266
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx2
32673267
# asm 1: mul <mulx2=int64#10
@@ -3296,7 +3296,7 @@ movq 80(%rsp),%r12
32963296
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D0
32973297
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=int64#7
32983298
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D0,>mulrax=%rax
3299-
movq crypto_sign_ed25519_amd64_64_EC2D0,%rax
3299+
movq crypto_sign_ed25519_amd64_64_EC2D0(%rip),%rax
33003300

33013301
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx3
33023302
# asm 1: mul <mulx3=int64#10
@@ -3321,7 +3321,7 @@ adc %rdx,%rbp
33213321
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D1
33223322
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=int64#7
33233323
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D1,>mulrax=%rax
3324-
movq crypto_sign_ed25519_amd64_64_EC2D1,%rax
3324+
movq crypto_sign_ed25519_amd64_64_EC2D1(%rip),%rax
33253325

33263326
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx3
33273327
# asm 1: mul <mulx3=int64#10
@@ -3356,7 +3356,7 @@ adc %rdx,%rbp
33563356
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D2
33573357
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=int64#7
33583358
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D2,>mulrax=%rax
3359-
movq crypto_sign_ed25519_amd64_64_EC2D2,%rax
3359+
movq crypto_sign_ed25519_amd64_64_EC2D2(%rip),%rax
33603360

33613361
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx3
33623362
# asm 1: mul <mulx3=int64#10
@@ -3391,7 +3391,7 @@ adc %rdx,%rbp
33913391
# qhasm: mulrax = *(uint64 *)&crypto_sign_ed25519_amd64_64_EC2D3
33923392
# asm 1: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=int64#7
33933393
# asm 2: movq crypto_sign_ed25519_amd64_64_EC2D3,>mulrax=%rax
3394-
movq crypto_sign_ed25519_amd64_64_EC2D3,%rax
3394+
movq crypto_sign_ed25519_amd64_64_EC2D3(%rip),%rax
33953395

33963396
# qhasm: (uint128) mulrdx mulrax = mulrax * mulx3
33973397
# asm 1: mul <mulx3=int64#10
@@ -3424,7 +3424,7 @@ adc %rdx,%r11
34243424
mov %r8,%rax
34253425

34263426
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
3427-
mulq crypto_sign_ed25519_amd64_64_38
3427+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
34283428

34293429
# qhasm: mulr4 = mulrax
34303430
# asm 1: mov <mulrax=int64#7,>mulr4=int64#5
@@ -3442,7 +3442,7 @@ mov %r9,%rax
34423442
mov %rdx,%r9
34433443

34443444
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
3445-
mulq crypto_sign_ed25519_amd64_64_38
3445+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
34463446

34473447
# qhasm: carry? mulr5 += mulrax
34483448
# asm 1: add <mulrax=int64#7,<mulr5=int64#6
@@ -3465,7 +3465,7 @@ mov $0,%r10
34653465
adc %rdx,%r10
34663466

34673467
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
3468-
mulq crypto_sign_ed25519_amd64_64_38
3468+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
34693469

34703470
# qhasm: carry? mulr6 += mulrax
34713471
# asm 1: add <mulrax=int64#7,<mulr6=int64#8
@@ -3488,7 +3488,7 @@ mov $0,%r11
34883488
adc %rdx,%r11
34893489

34903490
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
3491-
mulq crypto_sign_ed25519_amd64_64_38
3491+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
34923492

34933493
# qhasm: carry? mulr7 += mulrax
34943494
# asm 1: add <mulrax=int64#7,<mulr7=int64#9
@@ -4106,7 +4106,7 @@ adc %rdx,%r11
41064106
mov %r8,%rax
41074107

41084108
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
4109-
mulq crypto_sign_ed25519_amd64_64_38
4109+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
41104110

41114111
# qhasm: mulr4 = mulrax
41124112
# asm 1: mov <mulrax=int64#7,>mulr4=int64#2
@@ -4124,7 +4124,7 @@ mov %r9,%rax
41244124
mov %rdx,%rcx
41254125

41264126
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
4127-
mulq crypto_sign_ed25519_amd64_64_38
4127+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
41284128

41294129
# qhasm: carry? mulr5 += mulrax
41304130
# asm 1: add <mulrax=int64#7,<mulr5=int64#4
@@ -4147,7 +4147,7 @@ mov $0,%r8
41474147
adc %rdx,%r8
41484148

41494149
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
4150-
mulq crypto_sign_ed25519_amd64_64_38
4150+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
41514151

41524152
# qhasm: carry? mulr6 += mulrax
41534153
# asm 1: add <mulrax=int64#7,<mulr6=int64#5
@@ -4170,7 +4170,7 @@ mov $0,%r9
41704170
adc %rdx,%r9
41714171

41724172
# qhasm: (uint128) mulrdx mulrax = mulrax * *(uint64 *)&crypto_sign_ed25519_amd64_64_38
4173-
mulq crypto_sign_ed25519_amd64_64_38
4173+
mulq crypto_sign_ed25519_amd64_64_38(%rip)
41744174

41754175
# qhasm: carry? mulr7 += mulrax
41764176
# asm 1: add <mulrax=int64#7,<mulr7=int64#6

0 commit comments

Comments
 (0)