Mercurial > hg > CbC > old > device
diff mc-code-powerpc.c @ 498:574856cee9da
printf double/int mix
cond operator fix
author | kono |
---|---|
date | Thu, 22 Dec 2005 11:50:32 +0900 |
parents | 5640fb7a270d |
children | 4c2607e72ab5 |
line wrap: on
line diff
--- a/mc-code-powerpc.c Thu Dec 22 00:21:01 2005 +0900 +++ b/mc-code-powerpc.c Thu Dec 22 11:50:32 2005 +0900 @@ -2121,7 +2121,7 @@ INT,INT), arg_assign); } } - if (dots && freg_arg>=3 && freg_arg<MAX_INPUT_DREGISTER_VAR) { + if (dots && (freg_arg*8+reg_arg*4)>=32 && freg_arg<MAX_INPUT_DREGISTER_VAR) { /* it requires integer register and floating register and stack value.