An article of manufacture comprising a non-transitory machine-readable storage medium, the non-transitory machine-readable storage medium storing a first prior instruction, a first subsequent instruction, a second prior instruction, and a second subsequent instruction, the first and second prior and the first and second subsequent instructions, if performed by a machine, cause the machine to perform operations comprising to:
- decode the first prior instruction which is to have at least a first context, wherein the first prior instruction is an arithmetic instruction;
- decode the first subsequent instruction, which is to be after the first prior instruction in original program order, the first subsequent instruction having an opcode and a first field that is to have a first value, wherein the first field is allowed by the opcode to have either the first value or a second value that is different than the first value;
- use the first context of the first prior instruction to determine a second context for the first subsequent instruction when the first field has the first value;
- decode the second prior instruction which is to have at least a first context;
- decode the second subsequent instruction, which is to be after the second prior instruction in the original program order, the second subsequent instruction having a first field which is to have the second value, the second subsequent instruction having an opcode that is identical to the opcode of the first subsequent instruction, but the second subsequent instruction having a shorter length in bits than the first subsequent instruction;
- and
- not use the first context of the second prior instruction to determine a second context for the second subsequent instruction when the first field of the second subsequent instruction has the second value;
- and
- execute the first prior instruction, including to perform an arithmetic operation on source data of the first prior instruction to produce a result, and to store the result of the first prior instruction in a destination register of the first prior instruction.