From f49999efcab873883627e82fd7580762cdb031c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 6 Jun 2019 09:34:23 +0200 Subject: [PATCH] Revert "ARM64 vmmul experiment: Disable if S and T matrices overlap." This reverts commit c4d26dcb103a38602fc6d3732213b1efeea88e5b. --- Core/MIPS/ARM64/Arm64CompVFPU.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Core/MIPS/ARM64/Arm64CompVFPU.cpp b/Core/MIPS/ARM64/Arm64CompVFPU.cpp index c0264bae6c..243890f1ea 100644 --- a/Core/MIPS/ARM64/Arm64CompVFPU.cpp +++ b/Core/MIPS/ARM64/Arm64CompVFPU.cpp @@ -1227,11 +1227,10 @@ namespace MIPSComp { GetMatrixRegs(tregs, sz, _VT); GetMatrixRegs(dregs, sz, _VD); - MatrixOverlapType sdoverlap = GetMatrixOverlap(_VS, _VD, sz); - MatrixOverlapType tdoverlap = GetMatrixOverlap(_VT, _VD, sz); - MatrixOverlapType stoverlap = GetMatrixOverlap(_VS, _VT, sz); + MatrixOverlapType soverlap = GetMatrixOverlap(_VS, _VD, sz); + MatrixOverlapType toverlap = GetMatrixOverlap(_VT, _VD, sz); - if (sdoverlap != OVERLAP_NONE || tdoverlap != OVERLAP_NONE || stoverlap != OVERLAP_NONE) { + if (soverlap || toverlap) { DISABLE; } else { for (int a = 0; a < n; a++) {