Lines Matching refs:state
76 //This function drives the decoder state machine.
84 if (state == ResetState)
85 state = doResetState();
86 if (state == FromCacheState) {
87 state = doFromCacheState();
95 switch (state) {
97 state = doPrefixState(nextByte);
100 state = doVex2Of2State(nextByte);
103 state = doVex2Of3State(nextByte);
106 state = doVex3Of3State(nextByte);
109 state = doVexOpcodeState(nextByte);
112 state = doOneByteOpcodeState(nextByte);
115 state = doTwoByteOpcodeState(nextByte);
118 state = doThreeByte0F38OpcodeState(nextByte);
121 state = doThreeByte0F3AOpcodeState(nextByte);
124 state = doModRMState(nextByte);
127 state = doSIBState(nextByte);
130 state = doDisplacementState();
133 state = doImmediateState();
136 panic("Went to the error state in the decoder.\n");
138 panic("Unrecognized state! %d\n", state);
146 DPRINTF(Decoder, "Looking at cache state.\n");
176 //state machine on to get the opcode(s).