[Bug c/36966] arm iwmmxt builtin problem

2008-07-29 Thread eliot at sonic dot net


--- Comment #1 from eliot at sonic dot net  2008-07-29 18:21 ---
Created an attachment (id=15976)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15976&action=view)
test case which crashes gcc

Here's the test case so you don't have to type it in.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36966



[Bug c/36966] New: arm iwmmxt builtin problem

2008-07-29 Thread eliot at sonic dot net
Compiler barfs on this code compiled -march=iwmmxt

typedef short vs __attribute__ ((vector_size (8)));

void foo (vs * a)
{
  a[0] = __builtin_arm_wsllhi (a[0], 1);
}

gcc -v output

Using built-in specs.
Target: arm-iwmmxt-elf
Configured with: /home/eliot/mu/build/../gcc/configure --target=arm-iwmmxt-elf
--libdir=/home/eliot/mu/build/tools/lib --prefix=/home/eliot/mu/build/tools
--disable-nls --disable-multilib --disable-libmudflap --disable-libssp
--disable-shared --enable-languages=c --enable-threads=single
--with-arch=iwmmxt --with-abi=iwmmxt
Thread model: single
gcc version 4.3.1 (GCC)


-- 
   Summary: arm iwmmxt builtin problem
   Product: gcc
   Version: 4.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eliot at sonic dot net
  GCC host triplet: x86_64-linux
GCC target triplet: arm-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36966



[Bug target/27287] loading 0 constant causes an ICE (freescale's messy targets)

2006-04-25 Thread eliot at sonic dot net


--- Comment #3 from eliot at sonic dot net  2006-04-25 16:44 ---
(In reply to comment #2)
> Can you try a snapshot of 4.1.1 and/or the mainline?
> 

i tried mainline.  same crash.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27287



[Bug c/27288] barfs

2006-04-24 Thread eliot at sonic dot net


--- Comment #1 from eliot at sonic dot net  2006-04-24 16:02 ---
Created an attachment (id=11328)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11328&action=view)
test case for crash


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27288



[Bug c/27288] New: barfs

2006-04-24 Thread eliot at sonic dot net
ppc-linux-gcc -O2 -mcpu=8548 -mfloat-gprs=double -c [xy].c
 crashes with unrecognizable insn


-- 
   Summary: barfs
   Product: gcc
   Version: 4.1.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eliot at sonic dot net
  GCC host triplet: x86_64-linux
GCC target triplet: ppc-linuxspe


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27288



[Bug c/27287] pukes

2006-04-24 Thread eliot at sonic dot net


--- Comment #1 from eliot at sonic dot net  2006-04-24 15:59 ---
Created an attachment (id=11327)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11327&action=view)
proposed patch

not sure if this is the right patch but it seems to
work for me


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27287



[Bug c/27287] New: pukes

2006-04-24 Thread eliot at sonic dot net
gcc -O2 -mcpu=8548 -mfloat-gprs=double -c x.c

double f (void) { return 0; }

gcc crashes with an inrecognizable insn.


-- 
   Summary: pukes
   Product: gcc
   Version: 4.1.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eliot at sonic dot net
  GCC host triplet: x86_64-linux
GCC target triplet: ppc-linuxspe


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27287