From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Wed, 21 Aug 2013 17:44:03 EDT." <1c77ed407dc1ed28544e2033df7088ce@brasstown.quanstro.net> References: <2332222c9f75f30c6395f16787280535@brasstown.quanstro.net> <20130821184909.51FA2B827@mail.bitblocks.com> <0A2E2FB2-B2F1-444E-AF62-85FAC05335EA@bitblocks.com> <1c77ed407dc1ed28544e2033df7088ce@brasstown.quanstro.net> Date: Thu, 22 Aug 2013 08:32:43 -0700 From: Bakul Shah Message-Id: <20130822153243.A567AB827@mail.bitblocks.com> Subject: Re: [9fans] more on why vc can't produce amd64 executables Topicbox-Message-UUID: 73fec4b0-ead8-11e9-9d60-3106f5b1d025 On Wed, 21 Aug 2013 17:44:03 EDT erik quanstrom wrote: > > i think a bug is setting inuxi8[i+4] = inuxi8[i] for 0<=i<4. > mikro; diffy -c *.c > diff -c /n/dump/2013/0821/sys/src/cmd/6l/obj.c obj.c > /n/dump/2013/0821/sys/src/cmd/6l/obj.c:1455,1471 - obj.c:1455,1471 > int i, c; > > for(i=0; i<4; i++) { > - c = find1(0x04030201L, i+1); > + c = find1(0x0807060504030201ULL, i+1); Why not for(i=0; i<8; i++) { Else what is the point of c = find1(0x0807060504030201ULL, i+1); Just eyeballing. I haven't looked at the actual code.