<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/8db9770cc39ad1094351e814173f8987"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-01T13:23:24"
  subject="Re: [Caml-list] architecture optimisation at compile time for ocaml 3.06"
  prev="2003/07/7f9e7fcd6f9f523709199fb503e1b759"
  next="2003/07/17fd8703a229fabb92df42fcba4d10cf"
  prev-in-thread="2003/07/38ff918930b48285a5e4944329d2855d"
  next-in-thread="2003/07/4507fc0e2df3c31d3ba322eb9ac0ad48"
  prev-thread="2003/07/ab7f43fac15bf1a8c7a266580573ef09"
  next-thread="2003/07/cb5a4b17681aa3d47372f3e2b2c6ece0"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] architecture optimisation at compile time for ocaml 3.06">
<msg 
  url="2003/07/38ff918930b48285a5e4944329d2855d"
  from="Christophe Michel &lt;tofm2@y...&gt;"
  author="Christophe Michel"
  date="2003-07-01T09:07:04"
  subject="[Caml-list] architecture optimisation at compile time for ocaml 3.06">
<msg 
  url="2003/07/8db9770cc39ad1094351e814173f8987"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-01T13:23:24"
  subject="Re: [Caml-list] architecture optimisation at compile time for ocaml 3.06">
<msg 
  url="2003/07/4507fc0e2df3c31d3ba322eb9ac0ad48"
  from="Nickolay Kolchin-Semyonov &lt;snob@m...&gt;"
  author="Nickolay Kolchin-Semyonov"
  date="2003-07-01T15:12:38"
  subject="Re: [Caml-list] architecture optimisation at compile time for ocaml 3.06">
<msg 
  url="2003/07/df9282654273ab424718f1aad9ecb492"
  from="Michel Christophe &lt;tofm2@y...&gt;"
  author="Michel Christophe"
  date="2003-07-01T15:30:50"
  subject="Re: [Caml-list] architecture optimisation at compile time for ocaml 3.06">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
&gt; my system relies on an athlon XP2000+ and I would like to take
&gt; advantage of this architecture for speed purposes.
&gt; 
&gt; but at configure times, the logs seem to be a little erratic:
&gt; 
&gt; [root@msi ocaml]# ./configure -with-pthread
&gt; Configuring for a i686-pc-linux-gnu ...
&gt; 
&gt; # ok, that's what I want...
&gt; (...)
&gt; 
&gt; Configuration for the native-code compiler:
&gt;         hardware architecture..... i386
&gt;         OS variant................ linux_elf
&gt;         C compiler used........... gcc
&gt;         options for compiling..... -Wall -Wno-unused
&gt; -D_FILE_OFFSET_BITS=64 -D_REENTRANT
&gt; 
&gt; # so why now i386

The native-code OCaml compiler has only one code generator for the
whole IA32 family.  This code generator is called "i386" for
historical reasons, but it is not particulary optimized for the Intel
386 processor.  Actually, the generated code is targeted for efficient
execution on the PPro-PII-PIII family, and appears to fit the Athlon
quite well too.  The next release will include a few P4-specific
tricks that do not decrease performance on other processors.

&gt; can anyone help me in optimizing source for athlon ??

No :-)  Quite frankly, given the subset of the IA32 instruction set
that OCaml generates, I can't see any Athlon-specific optimizations
that would be worth doing.

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

