diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-09-21 23:06:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-21 23:06:07 +0200 |
commit | 9286976948f10d73e63a8b682c28f012221a2b03 (patch) | |
tree | c32104c38b496848992ee0d1991ba555cd63fac0 /src/video_core/engines | |
parent | Merge pull request #2885 from Hexagon12/port-4944 (diff) | |
parent | Shader_IR: ICMP corrections and fixes (diff) | |
download | yuzu-9286976948f10d73e63a8b682c28f012221a2b03.tar yuzu-9286976948f10d73e63a8b682c28f012221a2b03.tar.gz yuzu-9286976948f10d73e63a8b682c28f012221a2b03.tar.bz2 yuzu-9286976948f10d73e63a8b682c28f012221a2b03.tar.lz yuzu-9286976948f10d73e63a8b682c28f012221a2b03.tar.xz yuzu-9286976948f10d73e63a8b682c28f012221a2b03.tar.zst yuzu-9286976948f10d73e63a8b682c28f012221a2b03.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index a6110bd86..28272ef6f 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -950,6 +950,11 @@ union Instruction { } isetp; union { + BitField<48, 1, u64> is_signed; + BitField<49, 3, PredCondition> cond; + } icmp; + + union { BitField<0, 3, u64> pred0; BitField<3, 3, u64> pred3; BitField<12, 3, u64> pred12; @@ -1645,6 +1650,10 @@ public: SEL_C, SEL_R, SEL_IMM, + ICMP_RC, + ICMP_R, + ICMP_CR, + ICMP_IMM, MUFU, // Multi-Function Operator RRO_C, // Range Reduction Operator RRO_R, @@ -1910,6 +1919,10 @@ private: INST("0100110010100---", Id::SEL_C, Type::ArithmeticInteger, "SEL_C"), INST("0101110010100---", Id::SEL_R, Type::ArithmeticInteger, "SEL_R"), INST("0011100-10100---", Id::SEL_IMM, Type::ArithmeticInteger, "SEL_IMM"), + INST("010100110100----", Id::ICMP_RC, Type::ArithmeticInteger, "ICMP_RC"), + INST("010110110100----", Id::ICMP_R, Type::ArithmeticInteger, "ICMP_R"), + INST("010010110100----", Id::ICMP_CR, Type::ArithmeticInteger, "ICMP_CR"), + INST("0011011-0100----", Id::ICMP_IMM, Type::ArithmeticInteger, "ICMP_IMM"), INST("0101101111011---", Id::LEA_R2, Type::ArithmeticInteger, "LEA_R2"), INST("0101101111010---", Id::LEA_R1, Type::ArithmeticInteger, "LEA_R1"), INST("001101101101----", Id::LEA_IMM, Type::ArithmeticInteger, "LEA_IMM"), |