Fix calls passing V128 values on Linux (#3034)

* Fix calls passing V128 values on Linux

* PPTC version bump
This commit is contained in:
gdkchan 2022-01-24 07:23:24 -03:00 committed by GitHub
parent b2ebbe8b22
commit f3bfd799e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -796,6 +796,8 @@ namespace ARMeilleure.CodeGen.X86
} }
} }
node.SetSources(sources.ToArray());
if (dest != default) if (dest != default)
{ {
if (dest.Type == OperandType.V128) if (dest.Type == OperandType.V128)
@ -823,8 +825,6 @@ namespace ARMeilleure.CodeGen.X86
node.Destination = retReg; node.Destination = retReg;
} }
} }
node.SetSources(sources.ToArray());
} }
private static void HandleTailcallSystemVAbi(IntrusiveList<Operation> nodes, StackAllocator stackAlloc, Operation node) private static void HandleTailcallSystemVAbi(IntrusiveList<Operation> nodes, StackAllocator stackAlloc, Operation node)

View File

@ -27,7 +27,7 @@ namespace ARMeilleure.Translation.PTC
private const string OuterHeaderMagicString = "PTCohd\0\0"; private const string OuterHeaderMagicString = "PTCohd\0\0";
private const string InnerHeaderMagicString = "PTCihd\0\0"; private const string InnerHeaderMagicString = "PTCihd\0\0";
private const uint InternalVersion = 3015; //! To be incremented manually for each change to the ARMeilleure project. private const uint InternalVersion = 3034; //! To be incremented manually for each change to the ARMeilleure project.
private const string ActualDir = "0"; private const string ActualDir = "0";
private const string BackupDir = "1"; private const string BackupDir = "1";