Fix some mis-versioned opcodes.

Many of the quaternion opcodes were marked as being available for id progs.
oops
This commit is contained in:
Bill Currie 2012-04-26 10:26:43 +09:00
parent efaef89c5f
commit 0a22a98b60

View file

@ -118,20 +118,20 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{"*", "mul.q", OP_MUL_Q, false,
ev_quat, ev_quat, ev_quat,
PROG_ID_VERSION,
PROG_VERSION,
},
{"*", "mul.fq", OP_MUL_FQ, false,
ev_float, ev_quat, ev_quat,
PROG_ID_VERSION,
PROG_VERSION,
},
{"*", "mul.qf", OP_MUL_QF, false,
ev_quat, ev_float, ev_quat,
PROG_ID_VERSION,
PROG_VERSION,
},
{"~", "conj.q", OP_CONJ_Q, false,
ev_quat, ev_invalid, ev_quat,
PROG_ID_VERSION,
PROG_VERSION,
},
{"/", "div.f", OP_DIV_F, false,
@ -149,7 +149,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{"+", "add.q", OP_ADD_Q, false,
ev_quat, ev_quat, ev_quat,
PROG_ID_VERSION,
PROG_VERSION,
},
{"+", "add.s", OP_ADD_S, false,
ev_string, ev_string, ev_string,
@ -166,7 +166,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{"-", "sub.q", OP_SUB_Q, false,
ev_quat, ev_quat, ev_quat,
PROG_ID_VERSION,
PROG_VERSION,
},
{"==", "eq.f", OP_EQ_F, false,
@ -179,7 +179,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{"==", "eq.q", OP_EQ_Q, false,
ev_quat, ev_quat, ev_integer,
PROG_ID_VERSION,
PROG_VERSION,
},
{"==", "eq.s", OP_EQ_S, false,
ev_string, ev_string, ev_integer,
@ -204,7 +204,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{"!=", "ne.q", OP_NE_Q, false,
ev_quat, ev_quat, ev_integer,
PROG_ID_VERSION,
PROG_VERSION,
},
{"!=", "ne.s", OP_NE_S, false,
ev_string, ev_string, ev_integer,
@ -264,7 +264,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{".", "load.q", OP_LOAD_Q, false,
ev_entity, ev_field, ev_quat,
PROG_ID_VERSION,
PROG_VERSION,
"%Ga.%Gb(%Ec), %gc",
},
{".", "load.s", OP_LOAD_S, false,
@ -481,7 +481,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{"=", "store.q", OP_STORE_Q, true,
ev_quat, ev_quat, ev_invalid,
PROG_ID_VERSION,
PROG_VERSION,
"%Ga, %gb",
},
{"=", "store.s", OP_STORE_S, true,
@ -527,7 +527,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{".=", "storep.q", OP_STOREP_Q, true,
ev_quat, ev_pointer, ev_invalid,
PROG_ID_VERSION,
PROG_VERSION,
"%Ga, *%Gb",
},
{".=", "storep.s", OP_STOREP_S, true,
@ -677,7 +677,7 @@ VISIBLE opcode_t pr_opcodes[] = {
},
{"!", "not.q", OP_NOT_Q, false,
ev_quat, ev_invalid, ev_integer,
PROG_ID_VERSION,
PROG_VERSION,
"%Ga, %gc",
},
{"!", "not.s", OP_NOT_S, false,