mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
Define S_TRAP as InstCategory::FlowControl
This commit is contained in:
parent
dc6ef99dc7
commit
40ee4104db
@ -397,7 +397,7 @@ constexpr std::array<InstFormat, 27> InstructionFormatSOPP = {{
|
|||||||
// 17 = S_SENDMSGHALT
|
// 17 = S_SENDMSGHALT
|
||||||
{InstClass::ScalarProgFlow, InstCategory::FlowControl, 0, 1, ScalarType::Any, ScalarType::Any},
|
{InstClass::ScalarProgFlow, InstCategory::FlowControl, 0, 1, ScalarType::Any, ScalarType::Any},
|
||||||
// 18 = S_TRAP
|
// 18 = S_TRAP
|
||||||
{InstClass::Undefined, InstCategory::Undefined, 0, 1, ScalarType::Any, ScalarType::Any},
|
{InstClass::Undefined, InstCategory::FlowControl, 0, 1, ScalarType::Any, ScalarType::Any},
|
||||||
// 19 = S_ICACHE_INV
|
// 19 = S_ICACHE_INV
|
||||||
{InstClass::ScalarCache, InstCategory::FlowControl, 0, 1, ScalarType::Any, ScalarType::Any},
|
{InstClass::ScalarCache, InstCategory::FlowControl, 0, 1, ScalarType::Any, ScalarType::Any},
|
||||||
// 20 = S_INCPERFLEVEL
|
// 20 = S_INCPERFLEVEL
|
||||||
|
@ -16,6 +16,9 @@ void Translator::EmitFlowControl(u32 pc, const GcnInst& inst) {
|
|||||||
case Opcode::S_SETPRIO:
|
case Opcode::S_SETPRIO:
|
||||||
LOG_WARNING(Render_Vulkan, "S_SETPRIO instruction!");
|
LOG_WARNING(Render_Vulkan, "S_SETPRIO instruction!");
|
||||||
return;
|
return;
|
||||||
|
case Opcode::S_TRAP:
|
||||||
|
LOG_WARNING(Render_Vulkan, "S_TRAP instruction!");
|
||||||
|
return;
|
||||||
case Opcode::S_GETPC_B64:
|
case Opcode::S_GETPC_B64:
|
||||||
return S_GETPC_B64(pc, inst);
|
return S_GETPC_B64(pc, inst);
|
||||||
case Opcode::S_SETPC_B64:
|
case Opcode::S_SETPC_B64:
|
||||||
|
Loading…
Reference in New Issue
Block a user