Lines Matching refs:rule
195 const struct rogue_instr_rule *rule;
199 rule = &instr_rules[instr->opcode];
202 CHECKF(rogue_check_bitset(instr->flags, rule->flags),
206 CHECKF(instr->num_operands == rule->num_operands,
209 CHECK(!rule->num_operands || instr->operands);
213 rule->operand_rules[u].mask),
220 rule->operand_rules[u].min != -1 &&
221 rule->operand_rules[u].max != -1) {
223 instr->operands[u].immediate.value >= rule->operand_rules[u].min &&
224 instr->operands[u].immediate.value <= rule->operand_rules[u].max,
232 rule->operand_rules[u].align != -1) {
233 CHECKF(!(instr->operands[u].reg.number % rule->operand_rules[u].align),