Skip to content
Snippets Groups Projects
Unverified Commit 6486544e authored by Sebastian Valle's avatar Sebastian Valle Committed by GitHub
Browse files

Merge pull request #452 from Subv/psetp

ShadersDecompiler: Added decoding for the PSETP instruction.
parents 2dbfcd32 a056d5ad
No related branches found
No related tags found
No related merge requests found
......@@ -320,6 +320,7 @@ public:
ISETP_C,
ISETP_IMM,
ISETP_R,
PSETP,
};
enum class Type {
......@@ -331,6 +332,7 @@ public:
FloatSet,
FloatSetPredicate,
IntegerSetPredicate,
PredicateSetPredicate,
Conversion,
Unknown,
};
......@@ -477,6 +479,7 @@ private:
INST("010010110110----", Id::ISETP_C, Type::IntegerSetPredicate, "ISETP_C"),
INST("010110110110----", Id::ISETP_R, Type::IntegerSetPredicate, "ISETP_R"),
INST("0011011-0110----", Id::ISETP_IMM, Type::IntegerSetPredicate, "ISETP_IMM"),
INST("0101000010010---", Id::PSETP, Type::PredicateSetPredicate, "PSETP"),
};
#undef INST
std::stable_sort(table.begin(), table.end(), [](const auto& a, const auto& b) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment