From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 31 Aug 2013 17:16:34 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Building Go/386 Topicbox-Message-UUID: 785ffbbe-ead8-11e9-9d60-3106f5b1d025 > /* > for(i=0, j=(stkptrsize-stkzerosize)/widthptr*2; i if(bvget(bv, j) || bvget(bv, j+1)) > p = appendp(p, AMOVL, D_CONST, 0, D_SP+D_INDIR, frame-stkzerosize+i); > */ > i = 0; > j = (stkptrsize-stkzerosize)/widthptr*2; > while (i < stkzerosize) { > int f = frame - stkzerosize + i; > if(bvget(bv, j) || bvget(bv, j+1)) { > p = appendp(p, AMOVL, D_CONST, 0, D_SP+D_INDIR, f); > } > i += widthptr; > j += 2; > } > > around line 40 in $GOROOT/src/cmd/8g/ggen.c. > > Thank you, Erik, for your invaluable input, it seems to work now. no problems. is this the minimum amount of reorginization necessary? - erik