delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/28/13:49:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: Fixed point arithmetic compilation
From: "Timothy C Prince" <tprince AT myrealbox DOT com>
To: ibiris AT genius DOT org DOT br
CC: cygwin AT cygwin DOT com
Date: Mon, 28 Apr 2003 17:48:48 +0000
X-Sender: tprince
MIME-Version: 1.0
Message-ID: <1051552128.ab4456c0tprince@myrealbox.com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h3SHnCp21510

-----Original Message-----
From: ibiris AT genius DOT org DOT br
To: cygwin AT cygwin DOT com
Date: Mon, 28 Apr 2003 10:56:38 -0400
Subject: Fixed point arithmetic compilation

Greetings,

I would like to ask whether anyone knows of a way to impose fixed-point 
arithmetic instead of floating point when compiling with gcc under cygwin. 


My target is to profile an executable with and without floating point 
arithmetic. I noted that there is a soft-float option that can be passed 
targeting a 386 cpu, but during linking the linker cannot find the library 
that provides the floating point arithmetic functions needed. 

soft-float is not the same as fixed-point.  It's emulation of 386 floating point on a cpu without an fpu, far slower than fixed point, but far less user programming effort.

There's no built-in support for fixed point, and no point in doing so, since CPU's without floating point support aren't supported by any hardware which could run cygwin.

Tim Prince

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019