2023-12-22 11:57:49 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2023 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0+
|
2009-04-16 14:45:13 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// Implementations found here: Increment and Decrement Instructions!
|
2009-11-06 21:45:30 +00:00
|
|
|
// (They're soooo lonely... but I dunno where else to stick this class!)
|
2009-04-16 22:38:55 +00:00
|
|
|
|
2016-11-12 15:28:37 +00:00
|
|
|
namespace x86Emitter
|
|
|
|
{
|
2009-04-17 01:54:35 +00:00
|
|
|
|
2021-09-06 18:28:26 +00:00
|
|
|
// --------------------------------------------------------------------------------------
|
|
|
|
// xImpl_IncDec
|
|
|
|
// --------------------------------------------------------------------------------------
|
|
|
|
struct xImpl_IncDec
|
|
|
|
{
|
|
|
|
bool isDec;
|
2009-04-16 22:38:55 +00:00
|
|
|
|
2021-09-06 18:28:26 +00:00
|
|
|
void operator()(const xRegisterInt& to) const;
|
|
|
|
void operator()(const xIndirect64orLess& to) const;
|
|
|
|
};
|
2009-11-06 21:45:30 +00:00
|
|
|
|
2016-11-12 15:28:37 +00:00
|
|
|
} // End namespace x86Emitter
|