summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-04-10 00:29:12 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:27 +0200
commit1be6705408d1a3454146c705fae3dc55031e966e (patch)
tree325133fcabd67f3e21fdb4096b5cc8c59875b7ad /src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp
parentshader: Remove outdated comment in F2I (diff)
downloadyuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.gz
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.bz2
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.lz
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.xz
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.zst
yuzu-1be6705408d1a3454146c705fae3dc55031e966e.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp
index 4a49299a0..c0159fb65 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp
@@ -16,9 +16,14 @@ void DMUL(TranslatorVisitor& v, u64 insn, const IR::F64& src_b) {
BitField<0, 8, IR::Reg> dest_reg;
BitField<8, 8, IR::Reg> src_a_reg;
BitField<39, 2, FpRounding> fp_rounding;
+ BitField<47, 1, u64> cc;
BitField<48, 1, u64> neg;
} const dmul{insn};
+ if (dmul.cc != 0) {
+ throw NotImplementedException("DMUL CC");
+ }
+
const IR::F64 src_a{v.ir.FPAbsNeg(v.D(dmul.src_a_reg), false, dmul.neg != 0)};
const IR::FpControl control{
.no_contraction = true,