[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMP 4.1 on Solaris, HP-UX
From: |
Albert Chin |
Subject: |
Re: GMP 4.1 on Solaris, HP-UX |
Date: |
Mon, 3 Jun 2002 09:32:07 -0500 |
User-agent: |
Mutt/1.2.5i |
On Mon, Jun 03, 2002 at 03:26:12PM +0200, Torbjorn Granlund wrote:
> Albert Chin <address@hidden> writes:
>
> > =====================
> > 14 of 52 tests failed
> > =====================
>
> I am unable to reproduce these errors on a PA8500 system
> running HPUX 11.11, except the t-sizeinbase one.
>
> The t-sizeinbase.c test case is really bogus, and cannot be
> expected to work on a segmented system like HP-UX. ANSI C
> allows a pointer to point within an object and just after
> it. Here we create a pointer point far under the object.
>
> ...
>
> I will not install your patch since part of it is
> undesirable (disabling pa7100 optimized code) and part of it
> seems dubious (.level stuff). Older assembler did not
> understand the .level directive. Only if someone can
> explain to me how .level can avoid a mis-assembly, and tell
> me which assembly version has the problem, I am likely to be
> convinced. Still, your patch isn't right for older
> assemblers; something more sophisticated is needed.
Yeah, I screwd up. I tried to duplicate my 14 failures today and I
could not (my other email hasn't made it to the list yet). Anyway, the
".level 1.1" in the ASM code gets rid of some warnings I get:
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" cc
-c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_`echo mul_1 | sed 's/_$//'` +O2 -Ae -z +ESlit
+Onofltacc +DAportable +Oentrysched +Odataprefetch +Onolimit `test -f
mul_1.asm || echo './'`mul_1.asm
../mpn/m4-ccas --m4=m4 cc -c -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_mul_1 +O2 -Ae -z +ESlit +Onofltacc
+DAportable +Oentrysched +Odataprefetch +Onolimit mul_1.asm +Z -DPIC
-o .libs/mul_1.o
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_mul_1 -DPIC
mul_1.asm >tmp-mul_1.s
cc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_mul_1 +O2 -Ae -z +ESlit +Onofltacc +DAportable
+Oentrysched +Odataprefetch +Onolimit tmp-mul_1.s +Z -DPIC -o
.libs/mul_1.o
as: "tmp-mul_1.s", line 72: warning 36: Use of XMPYU is incorrect for
the current LEVEL of 1.0
as: "tmp-mul_1.s", line 75: warning 36: Use of XMPYU is incorrect for
the current LEVEL of 1.0
as: "tmp-mul_1.s", line 88: warning 36: Use of XMPYU is incorrect for
the current LEVEL of 1.0
--
albert chin (address@hidden)