diff options
author | Andy Polyakov <appro@openssl.org> | 2014-06-06 20:50:43 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2014-06-06 20:50:43 +0200 |
commit | cd91fd7c32428c0deb503f19b8061e0980476876 (patch) | |
tree | c3f9ab70d0632afbc065faea67d0c67fc93c9d39 /crypto | |
parent | 82741e9c8980f96e4b3bba9e54e5904bc3e385bd (diff) |
sha[1|512]-armv8.pl: get instruction endianness right.
Submitted by: Ard Biesheuvel.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/sha/asm/sha1-armv8.pl | 2 | ||||
-rw-r--r-- | crypto/sha/asm/sha512-armv8.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/sha/asm/sha1-armv8.pl b/crypto/sha/asm/sha1-armv8.pl index 8453297da2..c1f552b6b3 100644 --- a/crypto/sha/asm/sha1-armv8.pl +++ b/crypto/sha/asm/sha1-armv8.pl @@ -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; } diff --git a/crypto/sha/asm/sha512-armv8.pl b/crypto/sha/asm/sha512-armv8.pl index ca0ee4e745..6935ed6521 100644 --- a/crypto/sha/asm/sha512-armv8.pl +++ b/crypto/sha/asm/sha512-armv8.pl @@ -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; } |