diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-03-30 18:06:02 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-03-30 18:06:02 -0300 |
| commit | 53e2d34905c9e5d03f47ea9a5f9f978b5c4925f6 (patch) | |
| tree | fbfb31a73da0ad76b77dc599b88dc485de50e8cf /ChocolArm64/Decoder | |
| parent | 916540ff41446643a952fe7612aed16bae3fd7d8 (diff) | |
Enable all ld/st (single structure) instructions
Diffstat (limited to 'ChocolArm64/Decoder')
| -rw-r--r-- | ChocolArm64/Decoder/AOpCodeSimdMemMs.cs | 4 | ||||
| -rw-r--r-- | ChocolArm64/Decoder/AOpCodeSimdMemSs.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ChocolArm64/Decoder/AOpCodeSimdMemMs.cs b/ChocolArm64/Decoder/AOpCodeSimdMemMs.cs index 9ea979ba..a54e2360 100644 --- a/ChocolArm64/Decoder/AOpCodeSimdMemMs.cs +++ b/ChocolArm64/Decoder/AOpCodeSimdMemMs.cs @@ -25,8 +25,8 @@ namespace ChocolArm64.Decoder default: Inst = AInst.Undefined; return; } - Size = (OpCode >> 10) & 0x3; - WBack = ((OpCode >> 23) & 0x1) != 0; + Size = (OpCode >> 10) & 3; + WBack = ((OpCode >> 23) & 1) != 0; bool Q = ((OpCode >> 30) & 1) != 0; diff --git a/ChocolArm64/Decoder/AOpCodeSimdMemSs.cs b/ChocolArm64/Decoder/AOpCodeSimdMemSs.cs index 6938c77d..c8794ff5 100644 --- a/ChocolArm64/Decoder/AOpCodeSimdMemSs.cs +++ b/ChocolArm64/Decoder/AOpCodeSimdMemSs.cs @@ -18,7 +18,7 @@ namespace ChocolArm64.Decoder int Scale = (OpCode >> 14) & 3; int L = (OpCode >> 22) & 1; int Q = (OpCode >> 30) & 1; - + SElems |= (OpCode >> 21) & 1; SElems++; @@ -88,7 +88,7 @@ namespace ChocolArm64.Decoder Extend64 = false; - WBack = ((OpCode >> 23) & 0x1) != 0; + WBack = ((OpCode >> 23) & 1) != 0; RegisterSize = Q != 0 ? ARegisterSize.SIMD128 |
