Skip to content

Commit

Permalink
OpcodeDispatcher: Also remove unused CacheIndexToSize
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 committed Dec 1, 2024
1 parent 0123946 commit ce9a860
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions FEXCore/Source/Interface/Core/OpcodeDispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ce9a860

Please sign in to comment.