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

~15% better AES x86_64 assembler.

上级 f42e6d24
此差异已折叠。
......@@ -167,10 +167,12 @@ my $current_function;
my $self = shift;
my $sz = shift;
# silently convert all EAs to 64-bit, required for elder GNU
# assembler and results in more compact code
$self->{index} =~ s/^[er](.?[0-9xp])[d]?$/r\1/;
$self->{base} =~ s/^[er](.?[0-9xp])[d]?$/r\1/;
# Silently convert all EAs to 64-bit. This is required for
# elder GNU assembler and results in more compact code,
# *but* most importantly AES module depends on this feature!
$self->{index} =~ s/^[er](.?[0-9xpi])[d]?$/r\1/;
$self->{base} =~ s/^[er](.?[0-9xpi])[d]?$/r\1/;
if (!$masm) {
# Solaris /usr/ccs/bin/as can't handle multiplications
# in $self->{label}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册