Lines Matching refs:PMC_STATE_STATE
81 switch (PMC_STATE_STATE(state)) {
1474 if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_STORE && PMC_STATE_STATE(oldState) != PMC_STATE_STATE_STORE) {
1477 } else if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_DEALLOC && PMC_STATE_CONTEXT_COUNT(newState) == 0 && PMC_STATE_FLAGS(newState) == 0) {
1498 if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_LOAD && PMC_STATE_STATE(oldState) != PMC_STATE_STATE_LOAD) {
1507 assert(PMC_STATE_STATE(reservation->state) == PMC_STATE_STATE_STORE);
1548 if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_LOAD) {
1551 } else if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_DEALLOC && PMC_STATE_CONTEXT_COUNT(newState) == 0 && PMC_STATE_FLAGS(newState) == 0) {
1560 assert(PMC_STATE_STATE(reservation->state) == PMC_STATE_STATE_LOAD);
1610 if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_STORE) {
1702 while (PMC_STATE_STATE(reservation->state) != PMC_STATE_STATE_INTERRUPT) {
1738 if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_CAN_RUN) {
1740 } else if (PMC_STATE_STATE(newState) == PMC_STATE_STATE_DEALLOC && PMC_STATE_CONTEXT_COUNT(newState) == 0 && PMC_STATE_FLAGS(newState) == 0) {
2536 if (PMC_STATE_STATE(newState) != PMC_STATE_STATE_INTERRUPT) {
2570 if (PMC_STATE_STATE(newState) != PMC_STATE_STATE_INTERRUPT && PMC_STATE_STATE(newState) != PMC_STATE_STATE_STOP) {
2607 if((PMC_STATE_STATE(state) == PMC_STATE_STATE_RUN)) {
2615 } else if ((PMC_STATE_STATE(state) == PMC_STATE_STATE_STORE) ||
2616 (PMC_STATE_STATE(state) == PMC_STATE_STATE_LOAD)) {
2666 if((PMC_STATE_STATE(state) == PMC_STATE_STATE_RUN)) {
2672 } else if ((PMC_STATE_STATE(state) == PMC_STATE_STATE_STORE) ||
2673 (PMC_STATE_STATE(state) == PMC_STATE_STATE_LOAD)) {
2717 if (PMC_STATE_STATE(newState) != PMC_STATE_STATE_DEALLOC) {
2726 while (!(PMC_STATE_STATE(reservation->state) == PMC_STATE_STATE_DEALLOC && PMC_STATE_CONTEXT_COUNT(reservation->state) == 0 && PMC_STATE_FLAGS(reservation->state) == 0)) {