summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSejong OH <sejooh@microsoft.com>2016-05-12 17:06:45 -0700
committerSejong OH <sejooh@microsoft.com>2016-05-19 12:53:26 -0700
commiteb4c7a280a00b344a9bb4d35172d0a0936ec5bdd (patch)
treefc05fd45912477b5c7ea7262d999e80794326a63 /tests
parentc9dff80a222f30d1ff74e9ad1d5b8cdcb953897a (diff)
downloadcoreclr-eb4c7a280a00b344a9bb4d35172d0a0936ec5bdd.tar.gz
coreclr-eb4c7a280a00b344a9bb4d35172d0a0936ec5bdd.tar.bz2
coreclr-eb4c7a280a00b344a9bb4d35172d0a0936ec5bdd.zip
Initialize unused upper bits of Vector3 arguments and return registers for
Linux JIT requires the unused upper bits to be cleared but native compiler doesn't clear the upper bits. This changes clear those bits for Reverse PInvoke arguments and PInvoke return.
Diffstat (limited to 'tests')
-rw-r--r--tests/issues.targets6
-rwxr-xr-xtests/src/JIT/SIMD/Vector3Interop.cs4
-rw-r--r--tests/testsFailingOutsideWindows.txt2
3 files changed, 1 insertions, 11 deletions
diff --git a/tests/issues.targets b/tests/issues.targets
index 04463e8892..d4d21cf172 100644
--- a/tests/issues.targets
+++ b/tests/issues.targets
@@ -199,12 +199,6 @@
<ExcludeList Include="$(XunitTestBinBase)\GC\LargeMemory\API\gc\collect\*">
<Issue>3392</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\JIT\SIMD\Vector3Interop_r\Vector3Interop_r.cmd">
- <Issue>4529</Issue>
- </ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)\JIT\SIMD\Vector3Interop_ro\Vector3Interop_ro.cmd">
- <Issue>4529</Issue>
- </ExcludeList>
</ItemGroup>
<!-- The following are baseline x86 failures -->
diff --git a/tests/src/JIT/SIMD/Vector3Interop.cs b/tests/src/JIT/SIMD/Vector3Interop.cs
index c5653e29e2..fa6f8700d5 100755
--- a/tests/src/JIT/SIMD/Vector3Interop.cs
+++ b/tests/src/JIT/SIMD/Vector3Interop.cs
@@ -95,7 +95,6 @@ class PInvokeTest
public static bool test()
{
-
// Expected return value is 12 bytes.
if (nativeCall_PInvoke_CheckVector3Size() != 12)
{
@@ -157,8 +156,7 @@ class PInvokeTest
}
}
- // JIT crashes with this testcase.
- // Disabled temporarily.
+ // Return test
{
Vector3 ret = nativeCall_PInvoke_Vector3Ret();
// Expected return value = (1, 2, 3) dot (1, 2, 3) = 14
diff --git a/tests/testsFailingOutsideWindows.txt b/tests/testsFailingOutsideWindows.txt
index 2c37c330ba..053240541c 100644
--- a/tests/testsFailingOutsideWindows.txt
+++ b/tests/testsFailingOutsideWindows.txt
@@ -53,8 +53,6 @@ JIT/Regression/CLR-x86-EJIT/v1-m10/b07847/b07847/b07847.sh
JIT/Regression/CLR-x86-JIT/V1.2-M01/b03689/b03689/b03689.sh
JIT/Regression/CLR-x86-JIT/V1.2-M01/b08046/b08046/b08046.sh
JIT/Regression/Dev11/dev10_865840/dev10_865840/dev10_865840.sh
-JIT/SIMD/Vector3Interop_r/Vector3Interop_r.sh
-JIT/SIMD/Vector3Interop_ro/Vector3Interop_ro.sh
JIT/Methodical/Boxing/xlang/_dbgsin_cs_il/_dbgsin_cs_il.sh
JIT/Methodical/Boxing/xlang/_odbgsin_cs_il/_odbgsin_cs_il.sh
JIT/Methodical/Boxing/xlang/_orelsin_cs_il/_orelsin_cs_il.sh