WIP
Change-Id: I0736df54239e9ccbf61d463ea1fb19d03a955bf5
This commit is contained in:
parent
8cc902f4a8
commit
9dd4b1568e
6
third_party/sike/asm/fp-x86_64.pl
vendored
6
third_party/sike/asm/fp-x86_64.pl
vendored
@ -20,7 +20,7 @@ open OUT,"| \"$^X\" \"$xlate\" $flavour \"$output\"";
|
|||||||
*STDOUT=*OUT;
|
*STDOUT=*OUT;
|
||||||
|
|
||||||
$PREFIX="sike";
|
$PREFIX="sike";
|
||||||
$addx = 1;
|
$addx = 0;
|
||||||
$bmi2_adx = 1;
|
$bmi2_adx = 1;
|
||||||
|
|
||||||
# Swaps 16-bytes pointed by %rdi and %rsi
|
# Swaps 16-bytes pointed by %rdi and %rsi
|
||||||
@ -1352,7 +1352,7 @@ $code.=<<___ if ($bmi2_adx);
|
|||||||
# Operation: c [rsi] = a [rdi]
|
# Operation: c [rsi] = a [rdi]
|
||||||
# NOTE: a=c is not allowed
|
# NOTE: a=c is not allowed
|
||||||
|
|
||||||
.rdc503_mulx_asm:
|
.rdc_mulx_asm:
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
# sike_fprdc has already pushed r12--15 and rbx by this point.
|
# sike_fprdc has already pushed r12--15 and rbx by this point.
|
||||||
.cfi_adjust_cfa_offset 32
|
.cfi_adjust_cfa_offset 32
|
||||||
@ -1533,7 +1533,7 @@ $code.=<<___ if ($bmi2_adx);
|
|||||||
mov 8(%rcx), %rcx
|
mov 8(%rcx), %rcx
|
||||||
and \$0x80100, %ecx
|
and \$0x80100, %ecx
|
||||||
cmp \$0x80100, %ecx
|
cmp \$0x80100, %ecx
|
||||||
je .rdc503_mulx_asm
|
je .rdc_mulx_asm
|
||||||
___
|
___
|
||||||
|
|
||||||
# Reduction, generic x86 implementation
|
# Reduction, generic x86 implementation
|
||||||
|
Loading…
Reference in New Issue
Block a user