diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2023-06-10 21:51:35 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-11 00:51:35 +0000 |
| commit | 193ca3c9a28b63613407c2923f5903e1dd33fdce (patch) | |
| tree | c0ce3f32dc145bb98312afdf7538995538fa0d5c /src/ARMeilleure/CodeGen/Arm64/CodeGeneratorIntrinsic.cs | |
| parent | eb0bb36bbfc3a4f5f2ac1c8721e192239f899a1d (diff) | |
Implement fast path for AES crypto instructions on Arm64 (#5281)
* Implement fast path for AES crypto instructions on Arm64
* PPTC version bump
* Use AES HW feature check
Diffstat (limited to 'src/ARMeilleure/CodeGen/Arm64/CodeGeneratorIntrinsic.cs')
| -rw-r--r-- | src/ARMeilleure/CodeGen/Arm64/CodeGeneratorIntrinsic.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ARMeilleure/CodeGen/Arm64/CodeGeneratorIntrinsic.cs b/src/ARMeilleure/CodeGen/Arm64/CodeGeneratorIntrinsic.cs index aaa00bb6..1309404a 100644 --- a/src/ARMeilleure/CodeGen/Arm64/CodeGeneratorIntrinsic.cs +++ b/src/ARMeilleure/CodeGen/Arm64/CodeGeneratorIntrinsic.cs @@ -179,6 +179,35 @@ namespace ARMeilleure.CodeGen.Arm64 (uint)operation.GetSource(2).AsInt32()); break; + case IntrinsicType.Vector128Unary: + GenerateVectorUnary( + context, + 1, + 0, + info.Inst, + operation.Destination, + operation.GetSource(0)); + break; + case IntrinsicType.Vector128Binary: + GenerateVectorBinary( + context, + 1, + 0, + info.Inst, + operation.Destination, + operation.GetSource(0), + operation.GetSource(1)); + break; + case IntrinsicType.Vector128BinaryRd: + GenerateVectorUnary( + context, + 1, + 0, + info.Inst, + operation.Destination, + operation.GetSource(1)); + break; + case IntrinsicType.VectorUnary: GenerateVectorUnary( context, |
