mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2003-07-09 Michael Snyder <msnyder@redhat.com>
* gencode.c (pmuls): Expression is mis-parenthesized.
This commit is contained in:
@@ -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;",
|
||||
|
||||
Reference in New Issue
Block a user