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

Submitted by: Ard Biesheuvel.
This commit is contained in:
Andy Polyakov 2014-06-06 20:50:43 +02:00
parent 82741e9c89
commit cd91fd7c32
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}