Lines Matching refs:INT_MASK
136 #define PPC_INSN_FROM_SPR(INT_MASK, SPR) \
139 ppc_insn_from_spr(MY_INDEX, cpu_model(processor), INT_MASK, SPR); \
142 #define PPC_INSN_TO_SPR(INT_MASK, SPR) \
145 ppc_insn_to_spr(MY_INDEX, cpu_model(processor), INT_MASK, SPR); \
148 #define PPC_INSN_MFCR(INT_MASK) \
151 ppc_insn_mfcr(MY_INDEX, cpu_model(processor), INT_MASK); \
154 #define PPC_INSN_MTCR(INT_MASK, FXM) \
157 ppc_insn_mtcr(MY_INDEX, cpu_model(processor), INT_MASK, FXM); \
339 void::model-static::model_trace_make_busy:model_data *model_ptr, uint32_t int_mask, uint32_t fp_mask, uint32_t cr_mask
341 if (int_mask) {
343 if (((1 << i) & int_mask) != 0) {
541 const uint32_t int_mask = out_mask | in_mask;
544 if ((model_ptr->int_busy & int_mask) != 0) {
547 while ((model_ptr->int_busy & int_mask) != 0) {
549 model_trace_busy_p(model_ptr, int_mask, 0, 0, PPC_NO_SPR);
567 const uint32_t int_mask = out_mask | in_mask;
570 if ((model_ptr->int_busy & int_mask) || (model_ptr->cr_fpscr_busy & cr_mask)) {
573 while ((model_ptr->int_busy & int_mask) || (model_ptr->cr_fpscr_busy & cr_mask)) {
575 model_trace_busy_p(model_ptr, int_mask, 0, cr_mask, PPC_NO_SPR);
678 const uint32_t int_mask = out_int_mask | in_int_mask;
682 if ((model_ptr->int_busy & int_mask) || (model_ptr->fp_busy & fp_mask)) {
685 while ((model_ptr->int_busy & int_mask) || (model_ptr->fp_busy & fp_mask)) {
687 model_trace_busy_p(model_ptr, int_mask, fp_mask, 0, PPC_NO_SPR);
705 void::model-function::ppc_insn_from_spr:itable_index index, model_data *model_ptr, const uint32_t int_mask, const unsigned nSPR
708 while ((model_ptr->int_busy & int_mask) != 0 || model_ptr->spr_busy[nSPR] != 0) {
710 model_trace_busy_p(model_ptr, int_mask, 0, 0, nSPR);
717 model_ptr->int_busy |= int_mask;
718 busy_ptr->int_busy |= int_mask;
721 model_trace_make_busy(model_ptr, int_mask, 0, 0);
724 void::model-function::ppc_insn_to_spr:itable_index index, model_data *model_ptr, const uint32_t int_mask, const unsigned nSPR
727 while ((model_ptr->int_busy & int_mask) != 0 || model_ptr->spr_busy[nSPR] != 0) {
729 model_trace_busy_p(model_ptr, int_mask, 0, 0, nSPR);
742 void::model-function::ppc_insn_mfcr:itable_index index, model_data *model_ptr, uint32_t int_mask
746 while (((model_ptr->int_busy & int_mask) | (model_ptr->cr_fpscr_busy & cr_mask)) != 0) {
748 model_trace_busy_p(model_ptr, int_mask, 0, cr_mask, PPC_NO_SPR);
755 model_ptr->int_busy |= int_mask;
756 busy_ptr->int_busy |= int_mask;
759 model_trace_make_busy(model_ptr, int_mask, 0, 0);
762 void::model-function::ppc_insn_mtcr:itable_index index, model_data *model_ptr, uint32_t int_mask, unsigned FXM
777 while (((model_ptr->int_busy & int_mask) | (model_ptr->cr_fpscr_busy & cr_mask)) != 0) {
779 model_trace_busy_p(model_ptr, int_mask, 0, cr_mask, PPC_NO_SPR);