From owner-p4-projects@FreeBSD.ORG Mon Mar 10 16:58:19 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8D6C21065720; Mon, 10 Mar 2008 16:58:19 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD89B1065670 for ; Mon, 10 Mar 2008 16:58:18 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A9AA88FC23 for ; Mon, 10 Mar 2008 16:58:18 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2AGwI8F019459 for ; Mon, 10 Mar 2008 16:58:18 GMT (envelope-from rrs@cisco.com) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2AGwIfl019457 for perforce@freebsd.org; Mon, 10 Mar 2008 16:58:18 GMT (envelope-from rrs@cisco.com) Date: Mon, 10 Mar 2008 16:58:18 GMT Message-Id: <200803101658.m2AGwIfl019457@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rrs@cisco.com using -f From: "Randall R. Stewart" To: Perforce Change Reviews Cc: Subject: PERFORCE change 137329 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 16:58:19 -0000 http://perforce.freebsd.org/chv.cgi?CH=137329 Change 137329 by rrs@rrs-mips2-jnpr on 2008/03/10 16:58:03 Fix math variables for mips (note still may have a problem with little endian versions). Affected files ... .. //depot/projects/mips2-jnpr/src/lib/libc/mips/arith.h#2 edit Differences ... ==== //depot/projects/mips2-jnpr/src/lib/libc/mips/arith.h#2 (text+ko) ==== @@ -10,7 +10,20 @@ * generated by running contrib/gdtoa/arithchk.c on the target * architecture. See contrib/gdtoa/gdtoaimp.h for details. */ -/* TODO: check these values */ +#include + +#if BYTE_ORDER == BIG_ENDIAN +#define IEEE_MC68k +#define Arith_Kind_ASL 2 +#define Double_Align +#else +/* TODO: Generate these values on a LE machine */ +/* Current values were stolen from ia64 except the + * Xpointer define. + */ #define IEEE_8087 #define Arith_Kind_ASL 1 -#define Sudden_Underflow +#define Long int +#define Intcast (int)(long) +#define Double_Align +#endif