//If the pm bit is set, the unpack field programs the r4 unpack unit,
//and the pack field is used to program the color
//conversion on the output of the mul unit
uint8_tpack_unpack_select,
uint8_tpack_mode,
qpu_condadd_cond,
qpu_condmul_cond,
uint8_tset_flags,//Flags are updated from the add ALU unless the add ALU performed a NOP (or its condition code was NEVER) in which case flags are updated from the mul ALU
uint8_twrite_swap_flag,//0: add writes to A, mul to B, 1: add writes to B, mul to A
uint8_tset_flags,//Flags are updated from the add ALU unless the add ALU performed a NOP (or its condition code was NEVER) in which case flags are updated from the mul ALU
uint8_twrite_swap_flag,//0: add writes to A, mul to B, 1: add writes to B, mul to A
qpu_waddrwaddr_add,
qpu_waddrwaddr_mul,
qpu_op_mulop_mul,
qpu_op_addop_add,
qpu_raddrraddr_a,
uint8_tsmall_imm,
qpu_muxadd_a,
qpu_muxadd_b,
qpu_muxmul_a,
qpu_muxmul_b
);
uint64_tencode_branch(qpu_branch_condbranch_cond,
uint8_tis_relative,//if set branch target is relative to PC+4
uint8_tuse_raddr_a,//if set add value of raddr_a (from simd elem 0) to branch target
qpu_raddrraddr_a,
uint8_twrite_swap_bit,
qpu_waddrwaddr_add,
qpu_waddrwaddr_mul,
uint32_timm//always added to branch target, set to 0 if unused