if (from_size == 16 && to_size == 16) {
/* f2i_i2f16 */
+ unreachable("i16 not yet implemented");
} else if (from_size == 32 && to_size == 32) {
unsigned op = 0;
return bi_pack_fma_1src(ins, regs,
BIFROST_FMA_FLOAT16_TO_32(from_y));
} else {
- /* int16_to_32 */
+ unreachable("i16 not yet implemented");
}
} else if (from_size == 32 && to_size == 16) {
if (from_base == nir_type_float) {
RETURN_PACKED(pack);
} else {
- /* XXX: No int32_to_int16? */
+ unreachable("i16 not yet implemented");
}
}
- return BIFROST_FMA_NOP;
+ unreachable("Unknown convert");
}
static unsigned