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

sha[1|512]-armv8.pl: get instruction endianness right.

Submitted by: Ard Biesheuvel.
上级 82741e9c
......@@ -312,7 +312,7 @@ ___
$arg =~ m/[qv]([0-9]+)[^,]*,\s*[qv]([0-9]+)[^,]*(?:,\s*[qv]([0-9]+))?/o
&&
sprintf ".long\t0x%08x\t//%s %s",
sprintf ".inst\t0x%08x\t//%s %s",
$opcode{$mnemonic}|$1|($2<<5)|($3<<16),
$mnemonic,$arg;
}
......
......@@ -393,7 +393,7 @@ ___
$arg =~ m/[qv]([0-9]+)[^,]*,\s*[qv]([0-9]+)[^,]*(?:,\s*[qv]([0-9]+))?/o
&&
sprintf ".long\t0x%08x\t//%s %s",
sprintf ".inst\t0x%08x\t//%s %s",
$opcode{$mnemonic}|$1|($2<<5)|($3<<16),
$mnemonic,$arg;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册