On Tue, 2005-04-26 at 17:08 -0600, Tres Melton wrote:
> The reply to the top half of the email (deleted) is in another email to
> the list.
> 
> On Tue, 2005-04-26 at 12:00 -0400, Michael Jennings wrote:
> > > Another issue that needs to get resolved in the ./configure script
> > > is that it enables MMX on my AMD64.  That's fine, I have MMX, but
> > > the code in mmx_cmod.S is not compatible with a 64 bit chip.  The
> > > proper thing to do at the moment is to disable MMX on AMD64.  Eterm
> > > won't compile without doing that via "./configure --disable-mmx".
> > > That should be automatic.  There is also a HAVE_MMX macro that
> > > enables/disables certain things.  I propose adding a HAVE_MMX_64
> > > macro for using the MMX extensions on AMD64 (and EM64T).
> > 
> > I agree.  Do you have any suggestions for detecting x86_64 as opposed
> > to i386?
> 
> The only way that I know of detecting x86_64 is the way I did for the
> WMHints on AMD64: "#ifdef LONG64".  That won't work while we are
> configuring though.  As I said, I'm new to some of these tools and
> configure is one of them.  Any ideas here people?  Please chime in.
> 
Check out the imlib2 configure:
case $target_cpu in
  i*86)
    ;
  x64_64)
    ;
esac

> > > I'm working on other things for Eterm right now including an MMX
> > > port to AMD64.  I have been in touch with, Willem-Jan Monsuwe
> > > <[EMAIL PROTECTED]>, the original author of the code and it sounds
> > > like he did it just for fun when MMX first came out and is no longer
> > > interested in it.  I sent a preliminary mmx_64_cmod.S file and hope
> > > he looks it over.  If I don't hear back from him or he doesn't want
> > > to get involved I'll try and finish the port myself.  It has been a
> > > while since I've coded in Asm so it might take some time for me to
> > > complete the port.
> > 
> > No hurry, though I'm sure the folks on Opteron systems would love MMX
> > support. :)
> > 
> > I've received the patches you've sent so far.  I'm going to get
> > through them as quickly as I can, but my Real Job(tm) is keeping me
> > pretty busy too, so please be patient. :)  But keep the patches
> > coming!
> 
> Great!  No problem.
Again, check out the imlib2 stuff in cvs - from cursory inspection, it
does much the same thing as the eterm code, but with improvements over
the old mmx imlib code that are specific to amd64.

-- 
John Slaten <[EMAIL PROTECTED]>



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to