mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Change the int<->float conversion opcode string.
Using "=" was rather confusing, so changing it to "<CONV>" seems to be a good idea. As the string is used only for selecting opcodes at compile time, only qfcc is affected.
This commit is contained in:
parent
fb82a96cc7
commit
d0c37bbc51
2 changed files with 3 additions and 3 deletions
|
@ -463,12 +463,12 @@ VISIBLE opcode_t pr_opcodes[] = {
|
|||
"%Ga, %sb, %gc",
|
||||
},
|
||||
|
||||
{"=", "conv.if", OP_CONV_IF, false,
|
||||
{"<CONV>", "conv.if", OP_CONV_IF, false,
|
||||
ev_integer, ev_invalid, ev_float,
|
||||
PROG_VERSION,
|
||||
"%Ga, %gc",
|
||||
},
|
||||
{"=", "conv.fi", OP_CONV_FI, false,
|
||||
{"<CONV>", "conv.fi", OP_CONV_FI, false,
|
||||
ev_float, ev_invalid, ev_integer,
|
||||
PROG_VERSION,
|
||||
"%Ga, %gc",
|
||||
|
|
|
@ -744,7 +744,7 @@ expr_cast (sblock_t *sblock, expr_t *e, operand_t **op)
|
|||
operand_t *src = 0;
|
||||
sblock = statement_subexpr (sblock, e->e.expr.e1, &src);
|
||||
*op = temp_operand (e->e.expr.type);
|
||||
s = new_statement ("=", e);
|
||||
s = new_statement ("<CONV>", e);
|
||||
s->opa = src;
|
||||
s->opc = *op;
|
||||
sblock_add_statement (sblock, s);
|
||||
|
|
Loading…
Reference in a new issue