[Bug target/41989] Code optimized for AMD Geode is slower than generic

2023-01-09 Thread pokox38850 at tohup dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989 Samantha Keen changed: What|Removed |Added CC||pokox38850 at tohup dot com --- Comment

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2010-08-31 Thread rootkit85 at yahoo dot it
--- Comment #27 from rootkit85 at yahoo dot it 2010-08-31 18:02 --- you could try but i'm not sure that NOPL is mandatory for the i686 arch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2010-08-31 Thread andrew at atrens dot ca
--- Comment #26 from andrew at atrens dot ca 2010-08-31 17:14 --- (In reply to comment #25) > try -march=i686 it should be the best > What about the fact that Geode LX does not have a NOPL instruction, while i686 does. Couldn't that result in binaries that crash? --Andrew -- http

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2010-08-22 Thread rootkit85 at yahoo dot it
--- Comment #25 from rootkit85 at yahoo dot it 2010-08-22 13:34 --- try -march=i686 it should be the best -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2010-08-19 Thread eren at pardus dot org dot tr
--- Comment #24 from eren at pardus dot org dot tr 2010-08-19 09:13 --- What's the situation right now, is there any progress? I have Geode LX 800MHz, and the code compiled for generic x86 architectures runs really slow . I'm thinking of producing optimized packages for Geode LX, howeve

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-16 Thread rootkit85 at yahoo dot it
--- Comment #23 from rootkit85 at yahoo dot it 2009-11-16 10:02 --- Despite its name Geode GX, LX and NX are very different, I guess that we should split them to geode-gx and geode-lx, and alias geode-nx to k7 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #22 from ubizjak at gmail dot com 2009-11-10 07:45 --- (In reply to comment #20) > Yes K6 is the best fallback for geode-lx, while pentium-mmx is the best one > for > geode. BTW, recommended fallback is K6-2. > I need to know if this new -march argument will be added so I

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread rootkit85 at yahoo dot it
--- Comment #21 from rootkit85 at yahoo dot it 2009-11-09 21:59 --- Created an attachment (id=19001) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19001&action=view) A patch which adds Geode LX support to GCC -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread rootkit85 at yahoo dot it
--- Comment #20 from rootkit85 at yahoo dot it 2009-11-09 20:25 --- Yes K6 is the best fallback for geode-lx, while pentium-mmx is the best one for geode. I need to know if this new -march argument will be added so I edit the kernel patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2009-11-09 18:16 --- (In reply to comment #18) > As I did here? > > http://patchwork.kernel.org/patch/51410/ Yes, but I don't know if perhaps -march=k6-2 should be used as a fallback, as suggested in [1]. BTW: You can change optimization b

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread rootkit85 at yahoo dot it
--- Comment #18 from rootkit85 at yahoo dot it 2009-11-09 15:26 --- As I did here? http://patchwork.kernel.org/patch/51410/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #17 from ubizjak at gmail dot com 2009-11-09 15:10 --- (In reply to comment #16) > Yes, it seems that even old Geode has such instructions: So, I guess they should be listed under in linux-2.6/arch/x86/Kconfig.cpu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread rootkit85 at yahoo dot it
--- Comment #16 from rootkit85 at yahoo dot it 2009-11-09 13:17 --- Yes, it seems that even old Geode has such instructions: # cat /proc/cpuinfo processor : 0 vendor_id : Geode by NSC cpu family : 5 model : 9 model name : Unknown stepping: 1 cpu

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #15 from ubizjak at gmail dot com 2009-11-09 11:48 --- (In reply to comment #7) > -march=geode disables cmov because the real geode does not have cmov :). No, all geodes have cmov. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2009-11-09 10:47 --- (In reply to comment #11) > There is also geode NX, IIRC it represents itself as Athlon, but someone > should > confirm this. According to [1], cpuid for Geode NX returns "AMD Geode NX 1750", and this string doesn't tr

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2009-11-09 10:34 --- Created an attachment (id=18997) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18997&action=view) Patch that introduces geode-lx CPU option Can you patch the compiler with attached patch? "gcc -march=native -### h

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #12 from ubizjak at gmail dot com 2009-11-09 10:28 --- Reopened to clear this geode mess. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2009-11-09 10:28 --- OK, according to your benchmarks and documentation qoute, it looks we have to split "geode-lx" out of generic "geode" option. So, can you confirm, that the difference between generic geode and geode-lx is presence of CMO

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2009-11-09 09:34 --- (In reply to comment #8) > 1) define "real geode" > 2) what CPU do I have? http://en.wikipedia.org/wiki/Geode_%28processor%29#AMD_Geode -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread rootkit85 at yahoo dot it
--- Comment #9 from rootkit85 at yahoo dot it 2009-11-09 09:01 --- Read here pag. 15: http://www.amd.com/files/connectivitysolutions/geode/geode_lx/33234F_LX_databook.pdf "The instruction set supported by the core is a combination of Intel Pentium® processor, AMD Athlon™ processor, and

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-09 Thread rootkit85 at yahoo dot it
--- Comment #8 from rootkit85 at yahoo dot it 2009-11-09 08:55 --- 1) define "real geode" 2) what CPU do I have? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-08 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-11-09 03:31 --- -march=geode disables cmov because the real geode does not have cmov :). This is why it is much slower. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-08 Thread rootkit85 at yahoo dot it
--- Comment #6 from rootkit85 at yahoo dot it 2009-11-08 22:34 --- (In reply to comment #5) > Subject: Re: Code optimized for AMD Geode is slower than generic > > > > Sent from my iPhone > > On Nov 8, 2009, at 11:52 AM, "rootkit85 at yahoo dot it" > > wrote: > > > > > > > ---

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-08 Thread pinskia at gmail dot com
--- Comment #5 from pinskia at gmail dot com 2009-11-08 19:57 --- Subject: Re: Code optimized for AMD Geode is slower than generic Sent from my iPhone On Nov 8, 2009, at 11:52 AM, "rootkit85 at yahoo dot it" wrote: > > > --- Comment #4 from rootkit85 at yahoo dot it 2009-11-0

Re: [Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-08 Thread Andrew Pinski
Sent from my iPhone On Nov 8, 2009, at 11:52 AM, "rootkit85 at yahoo dot it" > wrote: --- Comment #4 from rootkit85 at yahoo dot it 2009-11-08 19:52 --- # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 10 model name

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-08 Thread rootkit85 at yahoo dot it
--- Comment #4 from rootkit85 at yahoo dot it 2009-11-08 19:52 --- # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 10 model name : Geode(TM) Integrated Processor by AMD PCS stepping: 2 cpu MHz : 498.060 cac

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-08 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-11-08 19:00 --- Try -march=native instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41989

[Bug target/41989] Code optimized for AMD Geode is slower than generic

2009-11-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-08 18:55 --- On which Geode is this on? Is this with the first generation Geode or the one AMD made? Because if it is the latter, it is not really a Geode but a k6/k7 based processor. -- http://gcc.gnu.org/bugzilla/show_