Skip to content

Commit

Permalink
Merge pull request #4096 from pmatos/x87Cleanup
Browse files Browse the repository at this point in the history
x87 small cleanups; NFC
  • Loading branch information
alyssarosenzweig authored Oct 2, 2024
2 parents 967c04e + eb76dbd commit 5e9c211
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 5e9c211

Please sign in to comment.