From 0f8592a873ae409a2e3ab799b14cc94c456b9bb7 Mon Sep 17 00:00:00 2001 From: Tom Lally Date: Wed, 7 Sep 2022 22:48:31 +0100 Subject: [PATCH] Removed old udiv128 assembly implementation --- src/asm/x64util.h | 1 - src/asm/x64util_masm.asm | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/asm/x64util.h b/src/asm/x64util.h index 654c8f4a..32669b97 100644 --- a/src/asm/x64util.h +++ b/src/asm/x64util.h @@ -1,5 +1,4 @@ #pragma once -extern "C" uint64 ATTR_MS_ABI udiv128(uint64 low, uint64 hi, uint64 divisor, uint64 *remainder); extern "C" void recompiler_fres(); extern "C" void recompiler_frsqrte(); diff --git a/src/asm/x64util_masm.asm b/src/asm/x64util_masm.asm index 14aa1ec0..2587c786 100644 --- a/src/asm/x64util_masm.asm +++ b/src/asm/x64util_masm.asm @@ -1,12 +1,5 @@ .code -udiv128 PROC - mov rax, rcx - div r8 - mov [r9], rdx - ret -udiv128 ENDP - recompiler_fres PROC ; store all modified registers push rdx