Date: Sun, 12 May 2002 21:04:22 -0700 (PDT) From: Jake Burkholder <jake@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 11246 for review Message-ID: <200205130404.g4D44MM25696@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205130404.g4D44MM25696>