Mercurial > hg > CbC > old > device
changeset 493:c85540f30297
mips float arg call fix
author | kono |
---|---|
date | Wed, 21 Dec 2005 14:20:58 +0900 |
parents | cc1a5f764782 |
children | 07fdc5bf5e96 |
files | mc-code-mips.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mc-code-mips.c Wed Dec 21 12:10:43 2005 +0900 +++ b/mc-code-mips.c Wed Dec 21 14:20:58 2005 +0900 @@ -1948,8 +1948,10 @@ printf("\tlw %s,",frn); lvar(cadr(e2)); default: g_expr(e2); + printf("\tmfc1 %s,%s\n",frn,fregister_name(freg)); + break; case FREGISTER: - printf("\tmfc1 %s,%s\n",frn,fregister_name(freg)); + printf("\tmfc1 %s,%s\n",frn,fregister_name(cadr(e2))); } #endif }