On 06/ 9/10 08:53 PM, Sergey Bochkanov wrote:
Hello,

thanks to all who've replied to this discussion!

Taking into account what was said above, I've decided to  target
pure
ANSI C, i.e. C without newer  constructs like //  comments  and
other
stuff from newer standards. I don't want to use C99 because it
isn't
supported by MSVC (de facto standard under Windows).

I  think  that I'll make exception for static inlines because they can
be  easily  turned on/off with just one #define. Another exception - I
want to make use of SSE intrinsics (if they are provided by compiler),
but slower ANSI C equivalent will be provided so  one  #define  -  and
everything will be ANSI.


It would be great if you could check your code with the Sun Studio compiler, which you can get for free for Linux or Solaris.

Sage builds on Solaris systems with SPARC processors. These will never have SSE instructions, as the processor is completely different to Intel/AMD. You can check if the system has a sparc processor by detecting if __sparc__ is defined. In which case, you can immediately rule out there being SSE instructions of any sort.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to