Changes order of create call parameters.

This commit is contained in:
Andy Adshead 2019-01-21 22:19:41 +00:00
commit 26e02ba3a5
2 changed files with 5 additions and 5 deletions

View file

@ -243,7 +243,7 @@ namespace ChocolArm64.Memory
{ {
if (Sse2.IsSupported) if (Sse2.IsSupported)
{ {
return Vector128.Create(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ReadByte(position)).As<float>(); return Vector128.Create(ReadByte(position), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0).As<float>();
} }
else else
{ {

View file

@ -437,7 +437,7 @@ namespace Ryujinx.Tests.Cpu
throw new PlatformNotSupportedException(); throw new PlatformNotSupportedException();
} }
return Vector128.Create(0, BitConverter.DoubleToInt64Bits(e0)).As<float>(); return Vector128.Create(BitConverter.DoubleToInt64Bits(e0), 0).As<float>();
} }
protected static Vector128<float> MakeVectorE0E1(double e0, double e1) protected static Vector128<float> MakeVectorE0E1(double e0, double e1)
@ -491,7 +491,7 @@ namespace Ryujinx.Tests.Cpu
throw new PlatformNotSupportedException(); throw new PlatformNotSupportedException();
} }
return Vector128.Create(0, e0).As<float>(); return Vector128.Create(e0, 0).As<float>();
} }
protected static Vector128<float> MakeVectorE0E1(ulong e0, ulong e1) protected static Vector128<float> MakeVectorE0E1(ulong e0, ulong e1)
@ -501,7 +501,7 @@ namespace Ryujinx.Tests.Cpu
throw new PlatformNotSupportedException(); throw new PlatformNotSupportedException();
} }
return Vector128.Create(e1, e0).As<float>(); return Vector128.Create(e0, e1).As<float>();
} }
protected static Vector128<float> MakeVectorE1(ulong e1) protected static Vector128<float> MakeVectorE1(ulong e1)
@ -511,7 +511,7 @@ namespace Ryujinx.Tests.Cpu
throw new PlatformNotSupportedException(); throw new PlatformNotSupportedException();
} }
return Vector128.Create(e1, 0).As<float>(); return Vector128.Create(0, e1).As<float>();
} }
protected static ulong GetVectorE0(Vector128<float> vector) protected static ulong GetVectorE0(Vector128<float> vector)