2026-01-12 05:18:12 -05:00
|
|
|
// SPDX-FileCopyrightText: 2002-2026 PCSX2 Dev Team
|
2024-07-30 13:42:36 +02:00
|
|
|
// SPDX-License-Identifier: GPL-3.0+
|
2015-12-09 23:51:51 +01:00
|
|
|
|
2021-09-01 16:31:46 -04:00
|
|
|
#include "common/emitter/internal.h"
|
2015-12-09 23:51:51 +01:00
|
|
|
|
2016-11-12 16:28:37 +01:00
|
|
|
namespace x86Emitter
|
|
|
|
|
{
|
2015-12-09 23:51:51 +01:00
|
|
|
|
2021-09-06 14:28:26 -04:00
|
|
|
const xImplBMI_RVM xMULX = {0xF2, 0x38, 0xF6};
|
|
|
|
|
const xImplBMI_RVM xPDEP = {0xF2, 0x38, 0xF5};
|
|
|
|
|
const xImplBMI_RVM xPEXT = {0xF3, 0x38, 0xF5};
|
|
|
|
|
const xImplBMI_RVM xANDN_S = {0x00, 0x38, 0xF2};
|
2015-12-09 23:51:51 +01:00
|
|
|
|
2021-09-06 14:28:26 -04:00
|
|
|
void xImplBMI_RVM::operator()(const xRegisterInt& to, const xRegisterInt& from1, const xRegisterInt& from2) const
|
|
|
|
|
{
|
|
|
|
|
xOpWriteC4(Prefix, MbPrefix, Opcode, to, from1, from2);
|
|
|
|
|
}
|
|
|
|
|
void xImplBMI_RVM::operator()(const xRegisterInt& to, const xRegisterInt& from1, const xIndirectVoid& from2) const
|
|
|
|
|
{
|
|
|
|
|
xOpWriteC4(Prefix, MbPrefix, Opcode, to, from1, from2);
|
|
|
|
|
}
|
|
|
|
|
} // namespace x86Emitter
|