- uint8_t unpack;
- if (mov->src[0].pack) {
- /* Make sure that the meaning of the unpack
- * would be the same between the two
- * instructions.
- */
- if (qir_is_float_input(inst) !=
- qir_is_float_input(mov)) {
- continue;
- }
-
- /* There's only one unpack field, so make sure
- * this instruction doesn't already use it.
- */
- bool already_has_unpack = false;
- for (int j = 0; j < nsrc; j++) {
- if (inst->src[j].pack)
- already_has_unpack = true;
- }
- if (already_has_unpack)
- continue;
-
- /* A destination pack requires the PM bit to
- * be set to a specific value already, which
- * may be different from ours.
- */
- if (inst->dst.pack)
- continue;
-
- unpack = mov->src[0].pack;
- } else {
- unpack = inst->src[i].pack;
- }
+ /* A destination pack requires the PM bit to
+ * be set to a specific value already, which
+ * may be different from ours.
+ */
+ if (inst->dst.pack)
+ continue;