From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 9815E2F7C9 for ; Tue, 2 Jan 2001 10:52:16 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f02FqGX24495 for axp-list@listman.redhat.com; Tue, 2 Jan 2001 10:52:16 -0500 Received: from zcamail02.zca.compaq.com (zcamail02.zca.compaq.com [161.114.32.102]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f02FqFD24491 for ; Tue, 2 Jan 2001 10:52:15 -0500 Received: by zcamail02.zca.compaq.com (Postfix, from userid 12345) id BF8C376FE; Tue, 2 Jan 2001 07:52:20 -0800 (PST) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by zcamail02.zca.compaq.com (Postfix) with ESMTP id 5D14B7544 for ; Tue, 2 Jan 2001 07:52:20 -0800 (PST) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.9.3/8.9.3) id KAA01309 for axp-list@redhat.com; Tue, 2 Jan 2001 10:57:19 -0500 Date: Tue, 2 Jan 2001 10:57:19 -0500 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: AGP 2X Test Message-ID: <20010102105719.D1281@linux04.mro.cpqcorp.net> Mail-Followup-To: axp-list@redhat.com References: <60FD2E552331D41198B10000F8061C2D014F2FFC@KH_ZEUS> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2" X-Mailer: Mutt 1.0.1i In-Reply-To: <60FD2E552331D41198B10000F8061C2D014F2FFC@KH_ZEUS>; from HMSEO@sec.samsung.com on Tue, Jan 02, 2001 at 03:32:39PM +0900 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii On Tue, Jan 02, 2001 at 03:32:39PM +0900, Hyung Min SEO wrote: > > I'd like to test the agp 2x under alpha linux. > I think, the QuakeIII is good for it, but it is not converted to alpha > linux. > > Can anybody suggests any application for agp 2x test? Two games come to mind: 1. tuxracer (using attached patches) 2. glheretic Others may be able to give you some more serious apps... ;-} Good luck. --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com ----------------------------------------------------------------------------- --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tuxracer.diffs" --- configure.in.orig Mon Nov 20 21:36:12 2000 +++ configure.in Mon Nov 20 21:38:53 2000 @@ -50,6 +50,7 @@ case "$host" in i*86-*-*) TR_CFLAGS="$TR_CFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2"; TR_CXXFLAGS="$TR_CXXFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2";; +alpha*-*-linux-*) TR_CFLAGS="$TR_CFLAGS -mieee";; esac AC_ARG_ENABLE(debug, [ --enable-debug Produce an executable with debugging symbols], [TR_CFLAGS="-g -Wall"; TR_CXXFLAGS="-g -Wall"]) --- src/image.c.orig Mon Nov 20 19:54:02 2000 +++ src/image.c Mon Nov 20 19:55:59 2000 @@ -46,15 +46,15 @@ FILE *file; unsigned char *tmp[5]; unsigned long rleEnd; - unsigned long *rowStart; - unsigned long *rowSize; + unsigned int *rowStart; + unsigned int *rowSize; } Image; static Image *ImageOpen(char *fileName) { Image *image; - unsigned long *rowStart, *rowSize, ulTmp; + unsigned int *rowStart, *rowSize, ulTmp; int x, i; image = (Image *)malloc(sizeof(Image)); @@ -96,9 +96,9 @@ if ((image->type & 0xFF00) == 0x0100) /* RLE image */ { - x = image->sizeY * image->sizeZ * sizeof(long); - image->rowStart = (unsigned long *)malloc(x); - image->rowSize = (unsigned long *)malloc(x); + x = image->sizeY * image->sizeZ * sizeof(int); + image->rowStart = (unsigned int *)malloc(x); + image->rowSize = (unsigned int *)malloc(x); if (image->rowStart == NULL || image->rowSize == NULL) { fprintf(stderr, "Out of memory!\n"); @@ -110,7 +110,7 @@ fread(image->rowSize, 1, x, image->file); if (image->imagic == IMAGIC_SWAP) { - x /= sizeof(long); + x /= sizeof(int); rowStart = image->rowStart; rowSize = image->rowSize; while (x--) --UlVJffcvxoiEqYs2--