mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-03 03:46:26 +02:00
misc: chore: Use collection expressions in ARMeilleure
This commit is contained in:
parent
c7db948fb3
commit
9cb3b40ffc
43 changed files with 251 additions and 256 deletions
|
@ -40,12 +40,12 @@ namespace ARMeilleure.CodeGen.X86
|
|||
return 0;
|
||||
}
|
||||
|
||||
ReadOnlySpan<byte> asmGetXcr0 = new byte[]
|
||||
{
|
||||
ReadOnlySpan<byte> asmGetXcr0 =
|
||||
[
|
||||
0x31, 0xc9, // xor ecx, ecx
|
||||
0xf, 0x01, 0xd0, // xgetbv
|
||||
0xc3, // ret
|
||||
};
|
||||
0xc3 // ret
|
||||
];
|
||||
|
||||
using MemoryBlock memGetXcr0 = new((ulong)asmGetXcr0.Length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue