Hi Leif, I was hoping you'd chip in.

> Use
>
> #if defined(__SSE2__)
> ...
> #else
> ...
> #endif
>
> which tests a *compile-time*, rather than configure-time condition.

Just to emphasise: I am looking for a way to maintain consistency with
M4RI and not a way to figure out whether the machine supports SSE2.
This, we already check for in M4RI. If we are using SSE2 in M4RI
(which we for example don't do on Opterons even though they support it
for performance reasons) then some functions and some parts of the
matrix layout are changed. Thus, want Sage and PolyBoRi to agree with
M4RI.

> If the actual machine supports SSE2, gcc normally enables -msse2,
> unless it is "ill-configured" or you pass contrary options, like for
> example -march=i486.

It seems cicero is ill-configured.

Cheers,
Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [email protected]

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

Reply via email to