Changes order of create call parameters.
This commit is contained in:
parent
d0eabc1ee0
commit
7b0e5835f0
3 changed files with 9 additions and 9 deletions
|
@ -319,10 +319,10 @@ namespace ChocolArm64.Instructions
|
|||
}
|
||||
|
||||
op = Vector128.Create(
|
||||
state[15], state[14], state[13], state[12],
|
||||
state[11], state[10], state[9], state[8],
|
||||
state[7], state[6], state[5], state[4],
|
||||
state[3], state[2], state[1], state[0]).As<float>();
|
||||
state[0], state[1], state[2], state[3],
|
||||
state[4], state[5], state[6], state[7],
|
||||
state[8], state[9], state[10], state[11],
|
||||
state[12], state[13], state[14], state[15]).As<float>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -243,7 +243,7 @@ namespace ChocolArm64.Memory
|
|||
{
|
||||
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
|
||||
{
|
||||
|
|
|
@ -434,7 +434,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
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)
|
||||
|
@ -488,7 +488,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
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)
|
||||
|
@ -498,7 +498,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
throw new PlatformNotSupportedException();
|
||||
}
|
||||
|
||||
return Vector128.Create(e1, e0).As<float>();
|
||||
return Vector128.Create(e0, e1).As<float>();
|
||||
}
|
||||
|
||||
protected static Vector128<float> MakeVectorE1(ulong e1)
|
||||
|
@ -508,7 +508,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
throw new PlatformNotSupportedException();
|
||||
}
|
||||
|
||||
return Vector128.Create(e1, 0).As<float>();
|
||||
return Vector128.Create(0, e1).As<float>();
|
||||
}
|
||||
|
||||
protected static ulong GetVectorE0(Vector128<float> vector)
|
||||
|
|
Loading…
Add table
Reference in a new issue