From ac618e3d372eaed038e4ca17b28993202bcfab1d Mon Sep 17 00:00:00 2001 From: forsyth Date: Tue, 27 Apr 2010 19:09:04 +0100 Subject: 20100427-1909 --- utils/6c/txt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'utils/6c/txt.c') 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 -- cgit v1.2.3