* Performance
@ 2000-07-09 13:00 Vitaly Lugovsky
2000-07-18 20:32 ` Performance Xavier Leroy
0 siblings, 1 reply; 2+ messages in thread
From: Vitaly Lugovsky @ 2000-07-09 13:00 UTC (permalink / raw)
To: caml-list
What about some special platform-dependent tuning in native compilers?
There is a great difference for 386/586/686/686MMX, and the same for
sparc/ssparc/usparc...
And, can anybody do a benchmark for bytecode performance on Itanium
and Alpha? I think, it'll be a good test for a new architecture...
--
V.S.Lugovsky aka Mauhuur (http://ontil.ihep.su/~vsl) (UIN=45482254)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Performance
2000-07-09 13:00 Performance Vitaly Lugovsky
@ 2000-07-18 20:32 ` Xavier Leroy
0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2000-07-18 20:32 UTC (permalink / raw)
To: Vitaly Lugovsky, caml-list
> What about some special platform-dependent tuning in native compilers?
> There is a great difference for 386/586/686/686MMX, and the same for
> sparc/ssparc/usparc...
The ocaml native compiler is a bit too simple-minded to schedule
optimally for e.g. the 586 or the latest Sparcs, which requires quite
a lot of processor-specific knowledge indeed.
Concerning the x86 family, I modified some of the compiler idioms over
time to adapt to the "dominant" processor of the time. (E.g. avoid
AGI stalls for the 486; avoid movzbl for the Pentium; etc.) The 686
family (Pentium Pro/II/III), which is dominant nowadays, does so much
work "behind the scene" that those tweaks are no longer needed and
ocamlopt generates pretty much the most straightforward instruction
sequences.
As for the Sparc code generator, it is maintained but not actively
developed. The Sparc is a dying platform, at least here at INRIA
(the last we bought in our group was in 1993...), so we're not
investing big efforts in it.
> And, can anybody do a benchmark for bytecode performance on Itanium
> and Alpha? I think, it'll be a good test for a new architecture...
I could do it, but then Intel would have to kill me :-) Like all
happy fews that have access to a prototype Itanium machine, I had to
agree not to do any benchmarking on this machine. Apparently, the
prototype Itaniums don't implement all the performance tricks of the final
Itanium processor, and Intel doesn't want to get bad press because of
this.
- Xavier Leroy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-19 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-09 13:00 Performance Vitaly Lugovsky
2000-07-18 20:32 ` Performance Xavier Leroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox