2004-02-02 Michael Snyder <msnyder@redhat.com>
* gencode.c (movua.l): Set thislock to 0, not n.
This commit is contained in:
parent
fab9c64493
commit
915213a4d5
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
2004-02-12 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
* gencode.c (table): Change from char to short.
|
* gencode.c (table): Change from char to short.
|
||||||
|
|
|
@ -869,7 +869,7 @@ op tab[] =
|
||||||
"MA (1);",
|
"MA (1);",
|
||||||
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
|
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
|
||||||
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
|
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
|
||||||
"L (n);",
|
"L (0);",
|
||||||
},
|
},
|
||||||
{ "0n", "n", "movua.l @<REG_N>+,R0", "0100nnnn11101001",
|
{ "0n", "n", "movua.l @<REG_N>+,R0", "0100nnnn11101001",
|
||||||
"int regn = R[n];",
|
"int regn = R[n];",
|
||||||
|
@ -877,7 +877,7 @@ op tab[] =
|
||||||
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
|
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
|
||||||
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
|
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
|
||||||
"R[n] += 4;",
|
"R[n] += 4;",
|
||||||
"L (n);",
|
"L (0);",
|
||||||
},
|
},
|
||||||
{ "", "mn", "mul.l <REG_M>,<REG_N>", "0000nnnnmmmm0111",
|
{ "", "mn", "mul.l <REG_M>,<REG_N>", "0000nnnnmmmm0111",
|
||||||
"MACL = ((int) R[n]) * ((int) R[m]);",
|
"MACL = ((int) R[n]) * ((int) R[m]);",
|
||||||
|
|
Loading…
Reference in a new issue