2004-02-02 Michael Snyder <msnyder@redhat.com>

* gencode.c (movua.l): Set thislock to 0, not n.
This commit is contained in:
Michael Snyder 2004-02-13 00:01:19 +00:00
parent fab9c64493
commit 915213a4d5
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2004-02-02 Michael Snyder <msnyder@redhat.com>
* gencode.c (movua.l): Set thislock to 0, not n.
2004-02-12 Michael Snyder <msnyder@redhat.com>
* gencode.c (table): Change from char to short.

View file

@ -869,7 +869,7 @@ op tab[] =
"MA (1);",
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
"L (n);",
"L (0);",
},
{ "0n", "n", "movua.l @<REG_N>+,R0", "0100nnnn11101001",
"int regn = R[n];",
@ -877,7 +877,7 @@ op tab[] =
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
"R[n] += 4;",
"L (n);",
"L (0);",
},
{ "", "mn", "mul.l <REG_M>,<REG_N>", "0000nnnnmmmm0111",
"MACL = ((int) R[n]) * ((int) R[m]);",