Author mark.dickinson
Recipients mark.dickinson, skrah
Date 2009-11-09.13:33:55
SpamBayes Score 3.17903e-06
Marked as misclassified No
Message-id <1257773636.83.0.495216329193.issue5792@psf.upfronthosting.co.za>
In-reply-to
Content
Excellent!  From a bit of searching, it looks as though this assembler
syntax works on icc as well, which is very good news.

Thanks for finding fesetprec as well.  It's a shame this isn't standard
C.  Oh well;  maybe for C201X.  I think I'd prefer to stick with the
inline assembly, since it seems that there's very little to do to make
this just work.

Next problem:  when compiling with suncc, how do I detect (in the
configure script)

(1) that I'm using suncc, and
(2) whether the hardware is x86 or not (preferably excluding the case of
x86-64).

For gcc, configure.in is using:

if test -n "`$CC -dM -E - </dev/null | grep i386`"

to detect whether we're on x86.  I guess it's too much to hope for that
this works for suncc as well.
History
Date User Action Args
2009-11-09 13:33:56mark.dickinsonsetrecipients: + mark.dickinson, skrah
2009-11-09 13:33:56mark.dickinsonsetmessageid: <1257773636.83.0.495216329193.issue5792@psf.upfronthosting.co.za>
2009-11-09 13:33:55mark.dickinsonlinkissue5792 messages
2009-11-09 13:33:55mark.dickinsoncreate