From ce9a860335a47ea7054fe36253556bed49ca164a Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 30 Nov 2024 23:56:46 -0800 Subject: [PATCH] OpcodeDispatcher: Also remove unused CacheIndexToSize --- FEXCore/Source/Interface/Core/OpcodeDispatcher.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h index e3045c5003..ec6589c9c7 100644 --- a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h +++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h @@ -1857,17 +1857,6 @@ class OpDispatchBuilder final : public IREmitter { } } - unsigned CacheIndexToSize(int Index) { - // MMX registers are rounded up to 128-bit since they are shared with 80-bit - // x87 registers, even though MMX is logically only 64-bit. - if (Index >= AVXHigh0Index || ((Index >= MM0Index && Index <= MM7Index))) { - return 16; - } else { - return 1; - } - } - - // TODO: Temporary while OpcodeDispatcher shifts over IR::OpSize CacheIndexToOpSize(int Index) { // MMX registers are rounded up to 128-bit since they are shared with 80-bit // x87 registers, even though MMX is logically only 64-bit.