fixes ordering of instructions for decoding
This commit is contained in:
parent
f096b15dbd
commit
18f33b4a68
|
@ -63,7 +63,7 @@ struct instruction_decoder<${coreDef.name.toLowerCase()}> {
|
|||
}
|
||||
for(auto& lut: qlut){
|
||||
std::sort(std::begin(lut), std::end(lut), [](instruction_pattern const& a, instruction_pattern const& b){
|
||||
return bit_count(a.mask) > bit_count(b.mask);
|
||||
return bit_count(a.mask) < bit_count(b.mask);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue