From db20f3f1bb8595633a7e16c8900fd401a453a6b5 Mon Sep 17 00:00:00 2001 From: Jiyoung Yun Date: Tue, 27 Dec 2016 16:46:08 +0900 Subject: Imported Upstream version 1.0.0.9127 --- .../JIT/Performance/CodeQuality/BenchI/XposMatrix/XposMatrix.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/src/JIT/Performance/CodeQuality/BenchI/XposMatrix/XposMatrix.cs') diff --git a/tests/src/JIT/Performance/CodeQuality/BenchI/XposMatrix/XposMatrix.cs b/tests/src/JIT/Performance/CodeQuality/BenchI/XposMatrix/XposMatrix.cs index 0bb17b8cc5..de8b486049 100644 --- a/tests/src/JIT/Performance/CodeQuality/BenchI/XposMatrix/XposMatrix.cs +++ b/tests/src/JIT/Performance/CodeQuality/BenchI/XposMatrix/XposMatrix.cs @@ -11,6 +11,8 @@ using Xunit; [assembly: OptimizeForBenchmarks] [assembly: MeasureInstructionsRetired] +namespace Benchstone.BenchI +{ public static class XposMatrix { public const int ArraySize = 100; @@ -48,11 +50,11 @@ public static class XposMatrix matrix[i][j] = 1; } } - + if (matrix[n][n] != 1) { return false; } - + Inner(matrix, n); if (matrix[n][n] != 1) { @@ -88,3 +90,4 @@ public static class XposMatrix return (result ? 100 : -1); } } +} -- cgit v1.2.3