bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SPARC v8 udiv_qrnnd


From: Mark Mentovai
Subject: SPARC v8 udiv_qrnnd
Date: Tue, 16 Oct 2001 11:16:53 -0400
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022

On SPARC, running Solaris at least, gcc defines __sparcv8 if the target CPU
is a SPARC v8.  This includes the the v9 target when the 32-bit environment
is selected.  longlong.h assumes that __sparc_v8__ will be defined for this
CPU, which is not the case with gcc.  I don't think it's the case with Sun's
compiler, either.

This is a quick patch to adjust longlong.h to check for __sparcv8 in
addition to __sparc_v8__.

Mark

Attachment: gmp-3.1.1-sparc-qrnnd.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]