Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Permute()

static Vector128< float > System.Numerics.Matrix4x4.Permute ( Vector128< float > value,
byte control )
inlinestaticprivate

Definition at line 1072 of file Matrix4x4.cs.

1073 {
1074 if (Avx.IsSupported)
1075 {
1076 return Avx.Permute(value, control);
1077 }
1078 if (Sse.IsSupported)
1079 {
1080 return Sse.Shuffle(value, value, control);
1081 }
1082 throw new PlatformNotSupportedException();
1083 }
static new bool IsSupported
Definition Avx.cs:15
static Vector128< float > Permute(Vector128< float > value, byte control)
Definition Avx.cs:692
static new bool IsSupported
Definition Sse.cs:30
static Vector128< float > Shuffle(Vector128< float > left, Vector128< float > right, byte control)
Definition Sse.cs:387

References System.Runtime.Intrinsics.X86.Avx.IsSupported, System.Runtime.Intrinsics.X86.Sse.IsSupported, System.Runtime.Intrinsics.X86.Avx.Permute(), System.Runtime.Intrinsics.X86.Sse.Shuffle(), and System.value.

Referenced by System.Numerics.Matrix4x4.Invert().