<?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/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"
  prev="2003/07/ffad81dd218cf6853f9aa8fb285ee831"
  next="2003/07/344b723b56e3139d35f2009777e68d31"
  prev-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; &gt; The native-code OCaml compiler has only one code generator for the
&gt; &gt; whole IA32 family.  This code generator is called "i386" for
&gt; &gt; historical reasons, but it is not particulary optimized for the Intel
&gt; &gt; 386 processor.  Actually, the generated code is targeted for efficient
&gt; &gt; execution on the PPro-PII-PIII family, and appears to fit the Athlon
&gt; &gt; quite well too.  

And it does fit, mine works fine, extremely fine. But... why not put
some cflags possibilities in it, so that one can enhance the performance
of his compiler on certain kinds of architecture..



&gt; &gt; No :-)  Quite frankly, given the subset of the IA32 instruction set
&gt; &gt; that OCaml generates, I can't see any Athlon-specific optimizations
&gt; &gt; that would be worth doing.
&gt; &gt;
&gt; 
&gt; 3DNow, cache control. This are just first thoughts.

yes, any processor specific optimization would be worth doing in my
opinion. I am not an ocaml expert, far from this...!! All I wanted was a
working compiler, I now have it, but every time I install a new soft on
my machine, i want it to run fast as a shark. 

Even Linux kernel is achitecture optimized, so why not ocaml ?

note: this is just a suggestion, don't take it badly.


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

