Browse Source

WIP

Change-Id: I52b47feff8748f717da9837b989b6831301385c2
kris/for/master/CECPQ3_perlasm
Henry Case 5 years ago
parent
commit
4733dd1c4f
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      third_party/sike/asm/fp-x86_64.pl

+ 3
- 2
third_party/sike/asm/fp-x86_64.pl View File

@@ -668,7 +668,7 @@ ${PREFIX}_mpdblsubx2_asm:
# (one level), schoolbook (one level) # (one level), schoolbook (one level)
.mul_mulx_asm: .mul_mulx_asm:
.cfi_startproc .cfi_startproc
// sike_mpmul has already pushed r12--15 by this point..cfi_adjust_cfa_offset 32
# sike_mpmul has already pushed r12--15 by this point..cfi_adjust_cfa_offset 32
.cfi_adjust_cfa_offset 32 .cfi_adjust_cfa_offset 32
.cfi_offset r12, -16 .cfi_offset r12, -16
.cfi_offset r13, -24 .cfi_offset r13, -24
@@ -841,8 +841,9 @@ $code.=<<___ if ($addx);
.cfi_adjust_cfa_offset -8 .cfi_adjust_cfa_offset -8
.cfi_same_value r12 .cfi_same_value r12
ret ret
___


$code.=<<___;
########################################### ###########################################
# Integer multiplication # Integer multiplication
# Based on Karatsuba method # Based on Karatsuba method


Loading…
Cancel
Save