[qfcc] Auto-demote double for vector scaling

This was missed in the switch to an explicit scale instruction.
This commit is contained in:
Bill Currie 2022-02-06 20:10:47 +09:00
parent 5f6e0767d7
commit afe8c8fca5
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ static expr_type_t vector_vector[] = {
#define vector_short vector_float
static expr_type_t vector_double[] = {
{'*', &type_vector},
{'*', &type_vector, 0, &type_float, vector_scale},
{'/', 0, 0, 0, inverse_multiply},
{0, 0}
};
@ -488,7 +488,7 @@ static expr_type_t double_float[] = {
};
static expr_type_t double_vector[] = {
{'*', &type_vector},
{'*', &type_vector, &type_float, 0, vector_scale},
{0, 0}
};