[Bug target/50705] Wrong assembly generated in ppc 476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705 --- Comment #4 from SK santoshkumar.a at gmail dot com 2011-10-13 10:46:32 UTC --- Please download the full dump(14MB)from ftp0.lsil.com by following below commands login: user: ftp, password: anonymous, cd pub binary # get gcc_bug_ppc_476_mini.zip (NOTE:: ls/dir not supported) quit
[Bug target/50705] Wrong assembly generated in ppc 476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705 --- Comment #5 from SK santoshkumar.a at gmail dot com 2011-10-14 03:29:48 UTC --- Wrong assembly being is generated in most of the bitwise and's conditions that have pass are failing and those that have to fail are passing.
[Bug target/50705] Wrong assembly generated in ppc 476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705 --- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org 2011-10-14 03:36:01 UTC --- Little-Endian 32-bit. Is there a reason why you are using little-endian with PPC?
[Bug target/50705] Wrong assembly generated in ppc 476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705 --- Comment #7 from Andrew Pinski pinskia at gcc dot gnu.org 2011-10-14 03:36:38 UTC --- How did you configure GCC?
[Bug target/50705] Wrong assembly generated in ppc 476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705 --- Comment #8 from SK santoshkumar.a at gmail dot com 2011-10-14 04:48:13 UTC --- Yes the HW engine that is present on the controller works in Little endian therefore we need linux to work in LE on PPC. I changed Binutils GLIBC GCC GCC Changes:: Binutils gas/configure: case $endian in big) ;; little) ;; GLIBC GCC 1) gcc/config/rs6000/sysv4.h #defineTARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_LITTLE_ENDIAN) ASM_SPEC 2) mcall-gnu :-mlittle;\ ++ mcall-i960-old:-mlittle}\ ++-mlittle 3) #define CC1_ENDIAN_DEFAULT_SPEC %(cc1_endian_little) #defineMULTILIB_DEFAULTS { mlittle, mcall-sysv } 4) CC1_SPEC mcall-gnu : -mlittle %(cc1_endian_little); \ + mcall-i960-old: -mlittle %(cc1_endian_little); \ + : %(cc1_endian_default)} \ 5) LINK_SPEC: added -EL at the end LINK_TARGET_SPEC added --oformat elf32-powerpcle at end
[Bug target/50705] Wrong assembly generated in ppc 476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code Component|c |target Severity|blocker |normal --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2011-10-12 17:25:00 UTC --- Can you attach it to the bug rather than use another URL? Also can you use tar/gzip and not rar (rar is not fully free and such).
[Bug target/50705] Wrong assembly generated in ppc 476
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50705 --- Comment #3 from SK santoshkumar.a at gmail dot com 2011-10-13 05:41:20 UTC --- Created attachment 25481 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25481 system map, objdump, source code As the earlier file was 14MB with large objdump.I have copied the code around the area of problem. In the objdump search for page_alloc.c:5362 where this issue is seen. You can compare the same with the code in the attachment.