diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-21 06:05:59 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:51 +0100 |
commit | d79c462af067f78eb6fd84b0f02c385464412017 (patch) | |
tree | ec19947ac3ec3589f9312fac2a8a73cf3da3cb9c /src/video_core | |
parent | shader_decode: Implement SHR (diff) | |
download | yuzu-d79c462af067f78eb6fd84b0f02c385464412017.tar yuzu-d79c462af067f78eb6fd84b0f02c385464412017.tar.gz yuzu-d79c462af067f78eb6fd84b0f02c385464412017.tar.bz2 yuzu-d79c462af067f78eb6fd84b0f02c385464412017.tar.lz yuzu-d79c462af067f78eb6fd84b0f02c385464412017.tar.xz yuzu-d79c462af067f78eb6fd84b0f02c385464412017.tar.zst yuzu-d79c462af067f78eb6fd84b0f02c385464412017.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/decode/shift.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/shift.cpp b/src/video_core/shader/decode/shift.cpp index 76938fa05..3ba039d21 100644 --- a/src/video_core/shader/decode/shift.cpp +++ b/src/video_core/shader/decode/shift.cpp @@ -39,6 +39,14 @@ u32 ShaderIR::DecodeShift(BasicBlock& bb, u32 pc) { SetRegister(bb, instr.gpr0, value); break; } + case OpCode::Id::SHL_C: + case OpCode::Id::SHL_R: + case OpCode::Id::SHL_IMM: + UNIMPLEMENTED_IF_MSG(instr.generates_cc, + "Condition codes generation in SHL is not implemented"); + SetRegister(bb, instr.gpr0, + Operation(OperationCode::ILogicalShiftLeft, PRECISE, op_a, op_b)); + break; default: UNIMPLEMENTED_MSG("Unhandled shift instruction: {}", opcode->get().GetName()); } |