Message95077
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. |
|
Date |
User |
Action |
Args |
2009-11-09 13:33:56 | mark.dickinson | set | recipients:
+ mark.dickinson, skrah |
2009-11-09 13:33:56 | mark.dickinson | set | messageid: <1257773636.83.0.495216329193.issue5792@psf.upfronthosting.co.za> |
2009-11-09 13:33:55 | mark.dickinson | link | issue5792 messages |
2009-11-09 13:33:55 | mark.dickinson | create | |
|