[parisc-linux] ["CSA Test Drive" <TestDrive@compaq.com>] FW: Some issues

Bdale Garbee bdale@gag.com
Wed, 11 Dec 2002 14:13:06 -0700


--=-=-=

Forwarded from the testdrive.hp.com folks.

Bdale



--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

X-From-Line: TestDrive@compaq.com  Wed Dec 11 13:15:24 2002
Return-Path: <TestDrive@compaq.com>
Delivered-To: bdale@localhost
Received: from localhost (localhost [127.0.0.1])
	by rover.gag.com (Postfix) with ESMTP id 60AD043DF9
	for <bdale@localhost>; Wed, 11 Dec 2002 13:15:24 -0700 (MST)
Delivered-To: bdale@ldl.fc.hp.com
Received: from localhost [127.0.0.1]
	by localhost with POP3 (fetchmail-6.1.3)
	for bdale@localhost (single-drop); Wed, 11 Dec 2002 13:15:24 -0700 (MST)
Received: from smtp2.fc.hp.com (smtp2b.fc.hp.com [15.15.136.253])
	by ldl.fc.hp.com (Postfix) with ESMTP id 58DD04036
	for <bdale@ldl.fc.hp.com>; Wed, 11 Dec 2002 13:12:18 -0700 (MST)
Received: from tayexg11.americas.cpqcorp.net (tayexg11.americas.cpqcorp.net
 [16.103.130.96])
	by smtp2.fc.hp.com (Postfix) with ESMTP id 69DCB23D83
	for <bdale@fc.hp.com>; Wed, 11 Dec 2002 13:12:17 -0700 (MST)
Received: from tayexc13.americas.cpqcorp.net ([16.103.130.26]) by
 tayexg11.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966);
	 Wed, 11 Dec 2002 15:12:16 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
Subject: FW: Some issues
Date: Wed, 11 Dec 2002 15:12:15 -0500
Message-ID: <9C422444DE99BC46B3AD3C6EAFC9711B0194EA6E@tayexc13.americas.cpqcorp.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Some issues
Thread-Index: AcKfxnRGZniP9sAtTxmqGjoR7SrcmwBinCiQ
From: "CSA Test Drive" <TestDrive@compaq.com>
To: "Garbee, Bdale" <bdale.garbee@hp.com>
X-OriginalArrivalTime: 11 Dec 2002 20:12:16.0184 (UTC)
 FILETIME=[99A36380:01C2A151]
X-UIDL: oe+!!;$F!!lUp"!S/;"!
Lines: 53
Xref: rover.gag.com inbox:59993
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Here is some input on a Debian PA-RISC issue.

Thanks

Tim

-----Original Message-----
From: Torbjorn Granlund [mailto:tege@swox.com]
Sent: Monday, December 09, 2002 4:04 PM
To: CSA Test Drive
Subject: Some issues


1) Could you please set the clock of spe190?  It is 1.5h off.

2) The Debian HPPA box (spe170) seems to have alpha quality
software.  Specifically, the FCNV,UDW,DBL instruction is
apparently trapped, at least for certain input operand
values, and then incorrectly implemented.  (I base the
assupmtion that it is trapped not only on its incorrect
operation, but on its terrible performance and that kernel
time dominates any test program that contains the
instruction.)

Here is a test program that demonstrates the problems:

double ull2dbl (unsigned long long ull)
{
  return ull;
}
main ()
{
  int i;
  for (i =3D 500000; --i;)
    ull2dbl (0x8000000000000000ull);
  printf ("%f\n", ull2dbl (0x8000000000000000ull));
  return 0;
}

Compile using:
$ gcc -mpa-risc-2-0 ull2dbl.c -O
$ ./a.out=20
-9223372036854775808.000000

Correct output is 9223372036854775808, without the minus sign.
Without the -mpa-risc-2-0 switch, the program behaves correctly.
I have verified that the compiler output is indeed correct.

The program takes 2.7 seconds of kernel time!

--
Torbj=F6rn


--=-=-=--