2003-07-09 Michael Snyder <msnyder@redhat.com>
* gencode.c (ppi_gensim): For a conditional ppi insn, if the condition is false, we want to return (not break). A break will take us to the end of the function where registers will be updated, whereas the desired outcome is for nothing to change.
This commit is contained in:
parent
b939d772c1
commit
c13a4caaf8
@ -1,3 +1,10 @@
|
||||
2003-07-09 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* gencode.c (ppi_gensim): For a conditional ppi insn, if the
|
||||
condition is false, we want to return (not break). A break
|
||||
will take us to the end of the function where registers will
|
||||
be updated, whereas the desired outcome is for nothing to change.
|
||||
|
||||
2003-07-03 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* gencode.c (movs): Fix a couple of text transpositions.
|
||||
|
@ -2469,7 +2469,7 @@ ppi_gensim ()
|
||||
break;
|
||||
case 'c':
|
||||
printf (" if ((((iword >> 8) ^ DSR) & 1) == 0)\n");
|
||||
printf ("\tbreak;\n");
|
||||
printf ("\treturn;\n");
|
||||
printf (" }\n");
|
||||
printf (" case %d: \n", p->index + 1);
|
||||
printf (" {\n");
|
||||
|
Loading…
Reference in New Issue
Block a user