diff options
author | Michael Snyder <msnyder@vmware.com> | 2003-07-23 21:43:50 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2003-07-23 21:43:50 +0000 |
commit | fcfae95cf8fc73f1cd4d62a39e712e65f56990d1 (patch) | |
tree | 313879e78959c81c3277635a7078874a5811fc2f /sim/sh | |
parent | ac78c4ba99c9b884b68ccb9c3c6f88c923fc70b3 (diff) | |
download | gdb-fcfae95cf8fc73f1cd4d62a39e712e65f56990d1.zip gdb-fcfae95cf8fc73f1cd4d62a39e712e65f56990d1.tar.gz gdb-fcfae95cf8fc73f1cd4d62a39e712e65f56990d1.tar.bz2 |
2003-07-09 Michael Snyder <msnyder@redhat.com>
* gencode.c (pmuls): Expression is mis-parenthesized.
Diffstat (limited to 'sim/sh')
-rw-r--r-- | sim/sh/ChangeLog | 1 | ||||
-rw-r--r-- | sim/sh/gencode.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 50a0e50..6d449ba 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,5 +1,6 @@ 2003-07-09 Michael Snyder <msnyder@redhat.com> + * gencode.c (pmuls): Expression is mis-parenthesized. * 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 diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c index f0af175..9f5bcf0 100644 --- a/sim/sh/gencode.c +++ b/sim/sh/gencode.c @@ -1359,7 +1359,7 @@ op ppi_tab[] = "greater_equal = 0;", }, { "","", "pmuls Se,Sf,Dg", "0100eeffxxyygguu", - "res = (DSP_R (e)) >> 16 * (DSP_R (f) >> 16) * 2;", + "res = (DSP_R (e) >> 16) * (DSP_R (f) >> 16) * 2;", "if (res == 0x80000000)", " res = 0x7fffffff;", "DSP_R (g) = res;", @@ -1372,7 +1372,7 @@ op ppi_tab[] = "int Sy = DSP_R (y);", "int Sy_grd = SIGN32 (Sy);", "", - "res = (DSP_R (e)) >> 16 * (DSP_R (f) >> 16) * 2;", + "res = (DSP_R (e) >> 16) * (DSP_R (f) >> 16) * 2;", "if (res == 0x80000000)", " res = 0x7fffffff;", "DSP_R (g) = res;", @@ -1391,7 +1391,7 @@ op ppi_tab[] = "int Sy = DSP_R (y);", "int Sy_grd = SIGN32 (Sy);", "", - "res = (DSP_R (e)) >> 16 * (DSP_R (f) >> 16) * 2;", + "res = (DSP_R (e) >> 16) * (DSP_R (f) >> 16) * 2;", "if (res == 0x80000000)", " res = 0x7fffffff;", "DSP_R (g) = res;", |