diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-03-15 22:36:47 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-03-15 22:36:47 -0300 |
| commit | 88c6160c62b000d155a829b23e6207d78b7dccfa (patch) | |
| tree | a386af75b5c61a137bca7de578d9b6505002f0b2 /ChocolArm64/Decoder/AOpCodeSimdRegElem.cs | |
| parent | 79a59397349b40758fc75cd2e19c67726a77e975 (diff) | |
Add MLA (vector by element), fixes some cases of MUL (vector by element)?
Diffstat (limited to 'ChocolArm64/Decoder/AOpCodeSimdRegElem.cs')
| -rw-r--r-- | ChocolArm64/Decoder/AOpCodeSimdRegElem.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs b/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs index 721da88f..d6dc4bd2 100644 --- a/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs +++ b/ChocolArm64/Decoder/AOpCodeSimdRegElem.cs @@ -11,9 +11,8 @@ namespace ChocolArm64.Decoder switch (Size) { case 1: - Index = (OpCode >> 21) & 1 | - (OpCode >> 10) & 2 | - (OpCode >> 18) & 4; + Index = (OpCode >> 20) & 3 | + (OpCode >> 9) & 4; Rm &= 0xf; |
