sha[1|512]-armv8.pl: get instruction endianness right.
Submitted by: Ard Biesheuvel.
This commit is contained in:
parent
82741e9c89
commit
cd91fd7c32
@ -312,7 +312,7 @@ ___
|
|||||||
|
|
||||||
$arg =~ m/[qv]([0-9]+)[^,]*,\s*[qv]([0-9]+)[^,]*(?:,\s*[qv]([0-9]+))?/o
|
$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),
|
$opcode{$mnemonic}|$1|($2<<5)|($3<<16),
|
||||||
$mnemonic,$arg;
|
$mnemonic,$arg;
|
||||||
}
|
}
|
||||||
|
@ -393,7 +393,7 @@ ___
|
|||||||
|
|
||||||
$arg =~ m/[qv]([0-9]+)[^,]*,\s*[qv]([0-9]+)[^,]*(?:,\s*[qv]([0-9]+))?/o
|
$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),
|
$opcode{$mnemonic}|$1|($2<<5)|($3<<16),
|
||||||
$mnemonic,$arg;
|
$mnemonic,$arg;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user