Rename move to movei.

This commit is contained in:
Bill Currie 2011-03-09 10:28:40 +09:00
parent 6c4563b21d
commit 18005cc80d
3 changed files with 4 additions and 4 deletions

View file

@ -255,7 +255,7 @@ typedef enum {
OP_LT_P,
OP_GT_P,
OP_MOVE,
OP_MOVEI,
OP_MOVEP,
OP_SHL_U,

View file

@ -1043,7 +1043,7 @@ op_call:
OPC.integer_var = OPA.integer_var != OPB.integer_var;
break;
case OP_MOVE:
case OP_MOVEI:
memmove (&OPC, &OPA, st->b * 4);
break;
case OP_MOVEP:

View file

@ -1020,7 +1020,7 @@ VISIBLE opcode_t pr_opcodes[] = {
PROG_VERSION,
},
{"<MOVE>", "move", OP_MOVE, true,
{"<MOVE>", "movei", OP_MOVEI, true,
ev_void, ev_short, ev_void,
PROG_VERSION,
"%Ga, %sb, %gc",
@ -1234,7 +1234,7 @@ PR_Check_Opcodes (progs_t *pr)
check_global (pr, st, op, op->type_b, st->b, 1);
check_global (pr, st, op, op->type_c, st->c, 1);
break;
case OP_MOVE:
case OP_MOVEI:
check_global_size (pr, st, op, st->b, st->a);
check_global_size (pr, st, op, st->b, st->c);
break;