diff options
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 |
