提交 28411657 编写于 作者: A Andy Polyakov

poly1305/asm/poly1305-x86_64.pl: make it cross-compile.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 3732f12c
......@@ -495,10 +495,10 @@ poly1305_blocks_avx:
################################# base 2^26 -> base 2^64
mov $d1#d,$h0#d
and \$`-1<<31`,$d1
and \$`-1*(1<<31)`,$d1
mov $d2,$r1 # borrow $r1
mov $d2#d,$h1#d
and \$`-1<<31`,$d2
and \$`-1*(1<<31)`,$d2
shr \$6,$d1
shl \$52,$r1
......@@ -1383,10 +1383,10 @@ poly1305_blocks_avx2:
################################# base 2^26 -> base 2^64
mov $d1#d,$h0#d
and \$`-1<<31`,$d1
and \$`-1*(1<<31)`,$d1
mov $d2,$r1 # borrow $r1
mov $d2#d,$h1#d
and \$`-1<<31`,$d2
and \$`-1*(1<<31)`,$d2
shr \$6,$d1
shl \$52,$r1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册