aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-01-24 07:23:24 -0300
committerGitHub <noreply@github.com>2022-01-24 11:23:24 +0100
commitf3bfd799e1ca3b52b8e5ad45fdd0f2505c9122d1 (patch)
treec52e8484299867b71c40d46ca6c12aa05990317e
parentb2ebbe8b22f241a624ecba2e6084d255827dc25c (diff)
Fix calls passing V128 values on Linux (#3034)1.1.7
* Fix calls passing V128 values on Linux * PPTC version bump
-rw-r--r--ARMeilleure/CodeGen/X86/PreAllocator.cs4
-rw-r--r--ARMeilleure/Translation/PTC/Ptc.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/ARMeilleure/CodeGen/X86/PreAllocator.cs b/ARMeilleure/CodeGen/X86/PreAllocator.cs
index 334f8f7e..72bf64ed 100644
--- a/ARMeilleure/CodeGen/X86/PreAllocator.cs
+++ b/ARMeilleure/CodeGen/X86/PreAllocator.cs
@@ -796,6 +796,8 @@ namespace ARMeilleure.CodeGen.X86
}
}
+ node.SetSources(sources.ToArray());
+
if (dest != default)
{
if (dest.Type == OperandType.V128)
@@ -823,8 +825,6 @@ namespace ARMeilleure.CodeGen.X86
node.Destination = retReg;
}
}
-
- node.SetSources(sources.ToArray());
}
private static void HandleTailcallSystemVAbi(IntrusiveList<Operation> nodes, StackAllocator stackAlloc, Operation node)
diff --git a/ARMeilleure/Translation/PTC/Ptc.cs b/ARMeilleure/Translation/PTC/Ptc.cs
index 4cf01a76..85e56e49 100644
--- a/ARMeilleure/Translation/PTC/Ptc.cs
+++ b/ARMeilleure/Translation/PTC/Ptc.cs
@@ -27,7 +27,7 @@ namespace ARMeilleure.Translation.PTC
private const string OuterHeaderMagicString = "PTCohd\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 BackupDir = "1";