mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
67b6550b7f
3 changed files with 34 additions and 2 deletions
|
@ -4176,9 +4176,11 @@ int4 RuleSubCommute::applyOp(PcodeOp *op,Funcdata &data)
|
|||
break;
|
||||
}
|
||||
case CPUI_INT_ADD:
|
||||
if (offset != 0) return 0; // Only commutes with least significant SUBPIECE
|
||||
if (longform->getIn(0)->isSpacebase()) return 0; // Deconflict with RulePtrArith
|
||||
break;
|
||||
case CPUI_INT_MULT:
|
||||
// These only commute with least significant SUBPIECE
|
||||
if (offset != 0) return 0;
|
||||
if (offset != 0) return 0; // Only commutes with least significant SUBPIECE
|
||||
break;
|
||||
// Bitwise ops, type of subpiece doesnt matter
|
||||
case CPUI_INT_NEGATE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue