From owner-p4-projects Sun May 12 21: 4:29 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 941E137B404; Sun, 12 May 2002 21:04:23 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8E2BC37B405 for ; Sun, 12 May 2002 21:04:22 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4D44MM25696 for perforce@freebsd.org; Sun, 12 May 2002 21:04:22 -0700 (PDT) (envelope-from jake@freebsd.org) Date: Sun, 12 May 2002 21:04:22 -0700 (PDT) Message-Id: <200205130404.g4D44MM25696@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to jake@freebsd.org using -f From: Jake Burkholder Subject: PERFORCE change 11246 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11246 Change 11246 by jake@jake_sparc64 on 2002/05/12 21:03:32 Fix IF_SEXT(val, 32). The constants need to have type long to handle size > 16. Affected files ... ... //depot/projects/sparc64/sys/sparc64/include/instr.h#10 edit Differences ... ==== //depot/projects/sparc64/sys/sparc64/include/instr.h#10 (text+ko) ==== @@ -148,7 +148,8 @@ /* Sign-extend a field of width W */ #define IF_SEXT(x, w) \ - (((x) & (1 << ((w) - 1))) != 0 ? (-1L - ((x) ^ ((1 << (w)) - 1))) : (x)) + (((x) & (1L << ((w) - 1))) != 0 ? \ + (-1L - ((x) ^ ((1L << (w)) - 1))) : (x)) #if 0 /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message