Skip to content

Commit

Permalink
x87 small cleanups; NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatos committed Oct 2, 2024
1 parent 967c04e commit eb76dbd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
2 changes: 0 additions & 2 deletions FEXCore/Source/Interface/Core/OpcodeDispatcher/X87.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ void OpDispatchBuilder::FSTToStack(OpcodeArgs) {
// Store integer to memory (possibly with truncation)
void OpDispatchBuilder::FIST(OpcodeArgs, bool Truncate) {
auto Size = GetSrcSize(Op);
// FIXME(pmatos): is there any advantage of using STORESTACKMEMORY here?
// Do we need STORESTACKMEMORY at all?
Ref Data = _ReadStackValue(0);
Data = _F80CVTInt(Size, Data, Truncate);

Expand Down
20 changes: 0 additions & 20 deletions FEXCore/Source/Interface/Core/OpcodeDispatcher/X87F64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,6 @@ class OrderedNode;

#define OpcodeArgs [[maybe_unused]] FEXCore::X86Tables::DecodedOp Op

// Functions in X87.cpp (no change required)
// GetX87Top
// SetX87ValidTag
// GetX87ValidTag
// GetX87Tag (will need changing once special tag handling is implemented)
// SetX87FTW
// GetX87FTW (will need changing once special tag handling is implemented)
// SetX87Top
// X87ModifySTP
// EMMS
// FFREE
// FNSTENV
// FSTCW
// LDSW
// FNSTSW
// FXCH
// FCMOV
// FST(register to register)
// FCHS

void OpDispatchBuilder::FNINITF64(OpcodeArgs) {
// Init host rounding mode to zero
auto Zero = _Constant(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,6 @@ void X87StackOptimization::Run(IREmitter* Emit) {

case OP_F80SINSTACK: {
HandleUnop(OP_F64SIN, false, OP_F80SIN);

break;
}

Expand Down

0 comments on commit eb76dbd

Please sign in to comment.