From 0d275868a5209af54bed77ca31e548bdbfdbf76e Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 21 Nov 2016 18:17:25 +0100 Subject: [PATCH] gsdx x64: quick fix for windows Until we got a full implementation --- plugins/GSdx/GSDrawScanlineCodeGenerator.x64.avx.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/GSdx/GSDrawScanlineCodeGenerator.x64.avx.cpp b/plugins/GSdx/GSDrawScanlineCodeGenerator.x64.avx.cpp index 1371ccb90c..fa9c3d5493 100644 --- a/plugins/GSdx/GSDrawScanlineCodeGenerator.x64.avx.cpp +++ b/plugins/GSdx/GSDrawScanlineCodeGenerator.x64.avx.cpp @@ -484,7 +484,11 @@ void GSDrawScanlineCodeGenerator::Init_AVX() { // On linux, a2 is edx which will be used for fzm // In all case, it will require a mov in dthe code, so let's keep the value on the stack +#ifdef _WIN64 + ASSERT(0); +#else mov(ptr[rsp + _rz_top], a2); +#endif } mov(_m_local__gd__vm, _rip_global(vm)); @@ -1821,7 +1825,11 @@ void GSDrawScanlineCodeGenerator::WriteFrame_AVX() { // y = (top & 3) << 5 +#ifdef _WIN64 + ASSERT(0); +#else mov(eax, ptr[rsp + _rz_top]); +#endif and(eax, 3); shl(eax, 5);