Has sympow been tested on Itanium Linux much?

Anyone that reads sage-solaris will know John Palmieri has got Sage building on fulvia (Solaris x86), but has some problems with sympow.

I decided to have a look at the sympow source code. It's not the easiest code to follow, for various reasons.

One thing that struck me as not only odd, but a bug, is something that would impact only Linux systems with Itanium CPUs.

This is from a patched "Configure" script of William's, but I don't think it changes the particular issue I see. (I noticed it before even looking at William's changes).

==================================================
MACH=`"$UNAME" -m`
for x in ix86 i386 i486 i586 i686 x86_64 ia64
do
  if [ "$MACH" = "$x" -a `uname` = "Linux" ]; then
     echo "You appear to have a $x based Linux system --- using fpu.c"
     DEFS="-Dx86"
  fi
done
if [ -z "$DEFS" ]; then
  echo "You do not appear to have an x86 based system --- not using fpu.c"
fi
============================================

If I'm not mistaken, that script will include x86 based code for the floating point processor (in the file fpu.c) if the system is linux running Itanium. Would you agree? (I think ia64 = Itanium).

But Itanium CPUs are not x86 compatible. I don't know if there are any similarities of the instruction sets

Unless I am mistaken, ia64 should be removed from that list.

I was thinking of adding Solaris x86 in, but that lacks the header file fpu_control.h, so I don't think its appropriate. I'll change the notice to indicate one does not have an x86 Linux system.

Dave

--
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