This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Vector modes under hppa64-hpu
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc at gcc dot gnu dot org, dave at hiauly1 dot hia dot nrc dot ca
- Date: Wed, 24 Jul 2002 15:26:19 -0700
- Subject: Re: Vector modes under hppa64-hpu
- References: <200207242125.OAA17485@hpsje.cup.hp.com>
> I don't know if building a cross ia64-hpux will work or not, but a pa64
> version should at least build cc1. These two platforms are behaving
> slightly differently for me. I can make IA64 work at all optimization
> levels with the change that I included in my earlier mail
> (http://gcc.gnu.org/ml/gcc/2002-07/msg01148.html) but PA64 will only
> work at -O0 with that change, -O1/-O2/etc still fail with the
> simplify_gen_subreg message.
flamingo:~/build/pa64/gcc$ cat a.c
typedef int v2si __attribute__ ((mode(V2SI)));
typedef unsigned di __attribute__ ((mode(DI)));
void foo(unsigned long);
void bar() {
v2si x = { 1, 2 };
foo((di) x);
}
flamingo:~/build/pa64/gcc$ ./cc1 a.c -O0 -quiet
flamingo:~/build/pa64/gcc$ ./cc1 a.c -O -quiet
flamingo:~/build/pa64/gcc$ ./cc1 a.c -O2 -quiet
no problem here. --target=hppa64-linux
I tried --target=hppa64-hpux but configure dies with
*** Configuration hppa64-hp-hpux not supported
Configure in /home/aldyh/build/pa64/gcc failed, exiting.
If you can get me a cross target triplet combo that'll build me a
cross ./cc1... I'll [try to] fix your problem ;-).
Aldy