public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "djp at volny dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/16111] generates invalid SSE movdqa instruction (instead of movaps) Date: Mon, 21 Jun 2004 17:18:00 -0000 [thread overview] Message-ID: <20040621171812.14852.qmail@sourceware.org> (raw) In-Reply-To: <20040621114206.16111.djp@volny.cz> ------- Additional Comments From djp at volny dot cz 2004-06-21 17:18 ------- did you run the test on amd or intel? my results and more info: GCC 3.4.0 (mainline) /opt/gcc-3.4.0/bin/g++-3.4 -v -save-temps -O3 -msse -mfpmath=sse -fomit-frame-pointer -finline-limit=2000 "test.cxx" -o "test" -L/opt/gcc-3.4.0/lib ==> LD_LIBRARY_PATH="/opt/gcc-3.3.3/lib:$LD_LIBRARY_PATH" ./test extents (-27.500000 -27.500000 -0.000000 nan) GCC 3.3.3 (mainline) /opt/gcc-3.3.3/bin/g++-3.3 -v -save-temps -O3 -msse -mfpmath=sse -fomit-frame-pointer -finline-limit=2000 "test.cxx" -o "test" -L/opt/gcc-3.3.3/lib ==> LD_LIBRARY_PATH="/opt/gcc-3.4.0/lib:$LD_LIBRARY_PATH" ./test extents (-27.500000 -27.500000 -0.000000 -0.000000) root@vox:/proc# cat cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) XP 2100+ stepping : 2 cpu MHz : 1737.340 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3432.44 test.s from 3.4.0 ----------------- .type _Z3fooPfS_, @function _Z3fooPfS_: .LFB312: subl $4, %esp .LCFI0: movl 8(%esp), %eax movl $0x80000000, (%esp) movl 12(%esp), %edx movss (%esp), %xmm1 movups (%eax), %xmm6 movups (%edx), %xmm5 shufps $0, %xmm1, %xmm1 movdqa %xmm1, %xmm4 andnps %xmm6, %xmm4 xorps %xmm5, %xmm1 movaps %xmm4, %xmm0 mulps %xmm1, %xmm0 movhlps %xmm0, %xmm3 addps %xmm3, %xmm0 movaps %xmm0, %xmm2 shufps $1, %xmm0, %xmm2 addss %xmm2, %xmm0 movups %xmm0, (%eax) movups %xmm1, (%edx) popl %eax ret test.s from 3.3.3 ----------------- .type _Z3fooPfS_, @function _Z3fooPfS_: .LFB314: subl $4, %esp .LCFI0: movl 8(%esp), %edx movl $0x80000000, (%esp) movl 12(%esp), %ecx movss (%esp), %xmm5 movups (%edx), %xmm4 movups (%ecx), %xmm6 shufps $0, %xmm5, %xmm5 movaps %xmm5, %xmm2 andnps %xmm4, %xmm2 xorps %xmm6, %xmm5 movaps %xmm2, %xmm1 mulps %xmm5, %xmm1 movhlps %xmm1, %xmm3 addps %xmm3, %xmm1 movaps %xmm1, %xmm0 shufps $1, %xmm1, %xmm0 addss %xmm0, %xmm1 movups %xmm1, (%edx) movups %xmm5, (%ecx) popl %eax ret As you can see, the ONLY difference is movdqa %xmm1, %xmm4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16111
next prev parent reply other threads:[~2004-06-21 17:18 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-06-21 11:42 [Bug translation/16111] New: " djp at volny dot cz 2004-06-21 15:09 ` [Bug target/16111] " bangerth at dealii dot org 2004-06-21 16:34 ` pinskia at gcc dot gnu dot org 2004-06-21 17:18 ` djp at volny dot cz [this message] 2004-06-21 17:40 ` pinskia at gcc dot gnu dot org 2004-07-25 17:35 ` drober32 at fau dot edu 2004-09-21 12:53 ` coyote at coyotegulch dot com 2004-12-21 3:41 ` pinskia at gcc dot gnu dot org 2004-12-21 6:42 ` uros at kss-loka dot si 2004-12-21 15:25 ` uros at kss-loka dot si 2004-12-28 6:33 ` uros at kss-loka dot si 2004-12-29 0:32 ` rth at gcc dot gnu dot org 2004-12-29 0:35 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040621171812.14852.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).