diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-09-20 02:56:29 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-09-20 02:56:29 +0200 |
commit | 4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1 (patch) | |
tree | c022e3cad9d2e702b4640c51bb9fa5f4d409ee17 /src/video_core/engines/shader_bytecode.h | |
parent | Merge pull request #2784 from ReinUsesLisp/smem (diff) | |
download | yuzu-4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1.tar yuzu-4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1.tar.gz yuzu-4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1.tar.bz2 yuzu-4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1.tar.lz yuzu-4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1.tar.xz yuzu-4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1.tar.zst yuzu-4b81d19a1a4f3edd09a5e83d0ceae43462cb4ef1.zip |
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 052e6d24e..82d912c76 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -934,6 +934,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; @@ -1628,6 +1633,9 @@ public: SEL_C, SEL_R, SEL_IMM, + ICMP_RC, + ICMP_R, + ICMP_CR, MUFU, // Multi-Function Operator RRO_C, // Range Reduction Operator RRO_R, @@ -1892,6 +1900,9 @@ 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("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"), |