Else is the new branch instruction. We already added it to the
gen_encoder's patchJMPI but forget it for gen75_encoder. Now
fix it.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
insn.header.opcode == GEN_OPCODE_BRD ||
insn.header.opcode == GEN_OPCODE_ENDIF ||
insn.header.opcode == GEN_OPCODE_IF ||
- insn.header.opcode == GEN_OPCODE_BRC);
+ insn.header.opcode == GEN_OPCODE_BRC ||
+ insn.header.opcode == GEN_OPCODE_ELSE);
if (insn.header.opcode == GEN_OPCODE_IF) {
this->setSrc1(&insn, GenRegister::immd(jumpDistance));