mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
tcg: Remove unused opcodes
We no longer need INDEX_op_end to terminate the list, nor do we need 5 forms of nop, since we just remove the TCGOp instead. Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
a4ce099a7a
commit
15fc7daa77
3 changed files with 2 additions and 27 deletions
13
tci.c
13
tci.c
|
@ -506,19 +506,6 @@ uintptr_t tcg_qemu_tb_exec(CPUArchState *env, uint8_t *tb_ptr)
|
|||
tb_ptr += 2;
|
||||
|
||||
switch (opc) {
|
||||
case INDEX_op_end:
|
||||
case INDEX_op_nop:
|
||||
break;
|
||||
case INDEX_op_nop1:
|
||||
case INDEX_op_nop2:
|
||||
case INDEX_op_nop3:
|
||||
case INDEX_op_nopn:
|
||||
case INDEX_op_discard:
|
||||
TODO();
|
||||
break;
|
||||
case INDEX_op_set_label:
|
||||
TODO();
|
||||
break;
|
||||
case INDEX_op_call:
|
||||
t0 = tci_read_ri(&tb_ptr);
|
||||
#if TCG_TARGET_REG_BITS == 32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue