Date: Tue, 10 Jul 2001 02:26:33 +0900 (JST) From: kaz@kobe1995.net (NAKAMURA Kazushi) To: obrien@FreeBSD.ORG, Alexander@Leidinger.net, sobomax@FreeBSD.ORG, current@FreeBSD.ORG, djhill@novagate.net Cc: kaz@kobe1995.net Subject: Re: GNU ld(1) dumps core Message-ID: <200107091726.f69HQXp00571@beauty.kobe1995.net> In-Reply-To: Your message of "Sat, 30 Jun 2001 14:13:44 %2B0900 (JST)". <200106300513.OAA16161@ns.kobe1995.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is my self follow. In article <200106300513.OAA16161@ns.kobe1995.net> kaz@kobe1995.net writes: >>I just committed Binutils 2.11.2. Please let me know if this helps or >>not. > Thank you! But there remain a problem about gas+ld. Linking bug.C >(Message-Id: <200106261716.CAA02226@ns.kobe1995.net>) results error It was "asm()" error. The fix of bug.C is: --- bug.C- Wed Jun 27 01:52:42 2001 +++ bug.C Mon Jul 9 07:16:28 2001 @@ -34,16 +34,16 @@ for(i=0;i<4;i++) printf("%f,",B[i]); printf("\b)\n"); - asm("movaps (%0),%%xmm0" //SSE + asm("movaps %0,%%xmm0" //SSE : - :"g"(A)); - asm("movaps (%0),%%xmm1" //SSE + :"g"(*A)); + asm("movaps %0,%%xmm1" //SSE : - :"g"(B)); + :"g"(*B)); asm("addps %xmm1,%xmm0"); //SSE // asm("mulps %xmm1,%xmm0"); //SSE - asm("movaps %%xmm0,%0":"=g"(C)); //SSE + asm("movaps %%xmm0,%0":"=g"(*C)); //SSE printf("float C=("); for(i=0;i<4;i++) printf("%f,",C[i]); printf("\b)\n"); Thank you very much. > sa2c@and.or.jp -- <mailto:kaz@kobe1995.net> NAKAMURA Kazushi@KOBE <http://kobe1995.net/~kaz/index-e.html> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107091726.f69HQXp00571>