Fix REV64 (vector) instruction
This commit is contained in:
parent
829b1b1cc0
commit
efef605b26
3 changed files with 22 additions and 8 deletions
|
@ -75,7 +75,7 @@ namespace ChocolArm64.Instruction
|
|||
|
||||
private static ulong ReverseBytes(ulong Value, RevSize Size)
|
||||
{
|
||||
Value = ((Value & 0xff00ff00ff00ff00) >> 8) | ((Value & 0x00ff00ff00ff00ff) << 8);
|
||||
Value = ((Value & 0xff00ff00ff00ff00) >> 8) | ((Value & 0x00ff00ff00ff00ff) << 8);
|
||||
|
||||
if (Size == RevSize.Rev16)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue