tcg.c (f8787f8723eaca1be99e3b1873e54de163fffa93) | tcg.c (67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45) |
---|---|
1/* 2 * Tiny Code Generator for QEMU 3 * 4 * Copyright (c) 2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 1382 unchanged lines hidden (view full) --- 1391 for (i = nb_oargs; i < nb_iargs + nb_oargs; i++) { 1392 arg = args[i]; 1393 if (arg != TCG_CALL_DUMMY_ARG) { 1394 if (dead_temps[arg]) { 1395 dead_args |= (1 << i); 1396 } 1397 } 1398 } | 1/* 2 * Tiny Code Generator for QEMU 3 * 4 * Copyright (c) 2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 1382 unchanged lines hidden (view full) --- 1391 for (i = nb_oargs; i < nb_iargs + nb_oargs; i++) { 1392 arg = args[i]; 1393 if (arg != TCG_CALL_DUMMY_ARG) { 1394 if (dead_temps[arg]) { 1395 dead_args |= (1 << i); 1396 } 1397 } 1398 } |
1399 /* input arguments are live for preceeding opcodes */ | 1399 /* input arguments are live for preceding opcodes */ |
1400 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) { 1401 arg = args[i]; 1402 dead_temps[arg] = 0; 1403 } 1404 s->op_dead_args[oi] = dead_args; 1405 s->op_sync_args[oi] = sync_args; 1406 } 1407 } --- 129 unchanged lines hidden (view full) --- 1537 1538 /* record arguments that die in this opcode */ 1539 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) { 1540 arg = args[i]; 1541 if (dead_temps[arg]) { 1542 dead_args |= (1 << i); 1543 } 1544 } | 1400 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) { 1401 arg = args[i]; 1402 dead_temps[arg] = 0; 1403 } 1404 s->op_dead_args[oi] = dead_args; 1405 s->op_sync_args[oi] = sync_args; 1406 } 1407 } --- 129 unchanged lines hidden (view full) --- 1537 1538 /* record arguments that die in this opcode */ 1539 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) { 1540 arg = args[i]; 1541 if (dead_temps[arg]) { 1542 dead_args |= (1 << i); 1543 } 1544 } |
1545 /* input arguments are live for preceeding opcodes */ | 1545 /* input arguments are live for preceding opcodes */ |
1546 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) { 1547 arg = args[i]; 1548 dead_temps[arg] = 0; 1549 } 1550 s->op_dead_args[oi] = dead_args; 1551 s->op_sync_args[oi] = sync_args; 1552 } 1553 break; --- 1211 unchanged lines hidden --- | 1546 for (i = nb_oargs; i < nb_oargs + nb_iargs; i++) { 1547 arg = args[i]; 1548 dead_temps[arg] = 0; 1549 } 1550 s->op_dead_args[oi] = dead_args; 1551 s->op_sync_args[oi] = sync_args; 1552 } 1553 break; --- 1211 unchanged lines hidden --- |