This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Vector modes under hppa64-hpu


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]