case IA32_SET$B_opcode:
case IA32_SET__B_opcode:
  static boolean mustBeInRegister(OPT_Register r, OPT_Instruction s) {    switch (s.getOpcode()) {      case IA32_SHRD_opcode: case IA32_SHLD_opcode:        {          OPT_RegisterOperand op = MIR_DoubleShift.getSource(s);          if (op.asRegister().register == r) return true;        }        break;      case IA32_FCOMI_opcode: case IA32_FCOMIP_opcode:        {          OPT_Operand op = MIR_Compare.getVal2(s);          if (!(op instanceof OPT_BURSManagedFPROperand)) {            if (op.asRegister().register == r) return true;          }        }        break;      case IA32_IMUL2_opcode:        {           OPT_RegisterOperand op = MIR_BinaryAcc.getResult(s).asRegister();          if (op.asRegister().register == r) return true;        }        break;      case MIR_LOWTABLESWITCH_opcode:        {          OPT_RegisterOperand op = MIR_LowTableSwitch.getIndex(s);          if (op.asRegister().register == r) return true;        }        break;      case IA32_CMOV_opcode: case IA32_FCMOV_opcode:        {          OPT_RegisterOperand op = MIR_CondMove.getResult(s).asRegister();          if (op.asRegister().register == r) return true;        }        break;      case IA32_MOVZX$B_opcode: case IA32_MOVSX$B_opcode:        {          OPT_RegisterOperand op = MIR_Unary.getResult(s).asRegister();          if (op.asRegister().register == r) return true;        }        break;      case IA32_MOVZX$W_opcode: case IA32_MOVSX$W_opcode:        {           OPT_RegisterOperand op = MIR_Unary.getResult(s).asRegister();          if (op.asRegister().register == r) return true;        }        break;      case IA32_SET$B_opcode:        {           if (MIR_Set.getResult(s).isRegister()) {            OPT_RegisterOperand op = MIR_Set.getResult(s).asRegister();            if (op.asRegister().register == r) return true;          }        }        break;      case IA32_TEST_opcode:        {          // at least 1 of the two operands must be in a register          if (!MIR_Test.getVal2(s).isConstant()) {            if (MIR_Test.getVal1(s).isRegister()) {              if (MIR_Test.getVal1(s).asRegister().register == r) return true;            } else if (MIR_Test.getVal2(s).isRegister()) {              if (MIR_Test.getVal2(s).asRegister().register == r) return true;            }          }        }        break;      default:        break;    }    return false;  }