mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
Compile fix (uninitialized variable) (nw)
This commit is contained in:
parent
a2c71b889f
commit
093116cc87
@ -2189,7 +2189,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi
|
|||||||
case 0x04: // compute / modify |000|00100|
|
case 0x04: // compute / modify |000|00100|
|
||||||
{
|
{
|
||||||
int cond = (opcode >> 33) & 0x1f;
|
int cond = (opcode >> 33) & 0x1f;
|
||||||
int compute = opcode & 0x7fffff;
|
// int compute = opcode & 0x7fffff;
|
||||||
int g = (opcode >> 38) & 0x1;
|
int g = (opcode >> 38) & 0x1;
|
||||||
int m = (opcode >> 27) & 0x7;
|
int m = (opcode >> 27) & 0x7;
|
||||||
int i = (opcode >> 30) & 0x7;
|
int i = (opcode >> 30) & 0x7;
|
||||||
@ -2292,7 +2292,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi
|
|||||||
int pmi = (opcode >> 30) & 0x7;
|
int pmi = (opcode >> 30) & 0x7;
|
||||||
int pmm = (opcode >> 27) & 0x7;
|
int pmm = (opcode >> 27) & 0x7;
|
||||||
int cond = (opcode >> 33) & 0x1f;
|
int cond = (opcode >> 33) & 0x1f;
|
||||||
int compute = opcode & 0x7fffff;
|
// int compute = opcode & 0x7fffff;
|
||||||
|
|
||||||
if (e)
|
if (e)
|
||||||
{
|
{
|
||||||
@ -2354,7 +2354,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi
|
|||||||
int j = (opcode >> 26) & 0x1;
|
int j = (opcode >> 26) & 0x1;
|
||||||
int e = (opcode >> 25) & 0x1;
|
int e = (opcode >> 25) & 0x1;
|
||||||
int cond = (opcode >> 33) & 0x1f;
|
int cond = (opcode >> 33) & 0x1f;
|
||||||
int compute = opcode & 0x7fffff;
|
// int compute = opcode & 0x7fffff;
|
||||||
|
|
||||||
if (e)
|
if (e)
|
||||||
{
|
{
|
||||||
@ -2410,7 +2410,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi
|
|||||||
int j = (opcode >> 26) & 0x1;
|
int j = (opcode >> 26) & 0x1;
|
||||||
int e = (opcode >> 25) & 0x1;
|
int e = (opcode >> 25) & 0x1;
|
||||||
//int lr = (opcode >> 24) & 0x1;
|
//int lr = (opcode >> 24) & 0x1;
|
||||||
int compute = opcode & 0x7fffff;
|
// int compute = opcode & 0x7fffff;
|
||||||
|
|
||||||
// TODO: loop re-entry
|
// TODO: loop re-entry
|
||||||
|
|
||||||
@ -2455,7 +2455,7 @@ int adsp21062_device::generate_opcode(drcuml_block *block, compiler_state *compi
|
|||||||
int cond = (opcode >> 33) & 0x1f;
|
int cond = (opcode >> 33) & 0x1f;
|
||||||
int j = (opcode >> 26) & 0x1;
|
int j = (opcode >> 26) & 0x1;
|
||||||
int e = (opcode >> 25) & 0x1;
|
int e = (opcode >> 25) & 0x1;
|
||||||
int compute = opcode & 0x7fffff;
|
// int compute = opcode & 0x7fffff;
|
||||||
|
|
||||||
|
|
||||||
code_label skip_pop = compiler->labelnum++;
|
code_label skip_pop = compiler->labelnum++;
|
||||||
|
Loading…
Reference in New Issue
Block a user