diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-04-27 19:09:04 +0100 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-04-27 19:09:04 +0100 |
| commit | ac618e3d372eaed038e4ca17b28993202bcfab1d (patch) | |
| tree | f8300ccf1fe9e28b16c4e53d0f34265cde6fa854 /utils/6c/txt.c | |
| parent | 647adfbc462388549008eda6af62f2e74b260d63 (diff) | |
20100427-1909
Diffstat (limited to 'utils/6c/txt.c')
| -rw-r--r-- | utils/6c/txt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/6c/txt.c b/utils/6c/txt.c index 32620534..9d9c86b1 100644 --- a/utils/6c/txt.c +++ b/utils/6c/txt.c @@ -22,6 +22,9 @@ ginit(void) lastp = P; tfield = types[TINT]; + typeword = typechlvp; + typecmplx = typesu; + /* TO DO */ memmove(typechlpv, typechlp, sizeof(typechlpv)); typechlpv[TVLONG] = 1; @@ -979,7 +982,7 @@ gmove(Node *f, Node *t) case CASE( TDOUBLE,TUVLONG): case CASE( TDOUBLE,TIND): regalloc(&nod, t, Z); - if(ewidth[tt] == SZ_VLONG){ + if(ewidth[tt] == SZ_VLONG || typeu[tt] && ewidth[tt] == SZ_INT){ if(ft == TFLOAT) a = ACVTTSS2SQ; else |
