sha[1|512]-armv8.pl: get instruction endianness right.
authorAndy Polyakov <appro@openssl.org>
Fri, 6 Jun 2014 18:50:43 +0000 (20:50 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 6 Jun 2014 18:50:43 +0000 (20:50 +0200)
Submitted by: Ard Biesheuvel.

crypto/sha/asm/sha1-armv8.pl
crypto/sha/asm/sha512-armv8.pl

index 8453297da22e839ae219f23a20edf7ca669aea22..c1f552b6b3d6de78f6b9eea68087754234f07e4f 100644 (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;
     }
index ca0ee4e745fb610cdb255f0e3bfeec9e203dd4ea..6935ed6521569f01ff535c00f683810dba1b1ad6 100644 (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;
     }