Browse thread
[Caml-list] 32 bit floats, SSE instructions
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Evan Martin <martine@d...> |
| Subject: | Re: [Caml-list] 32 bit floats, SSE instructions |
On Thu, Jun 10, 2004 at 05:23:33PM +0100, Keith Wansbrough wrote: > > Does that work with polymorphic functions? > > eg: cause the function to be specialised every call? > > No, but you can tell it to specialise a function to a particular type > (or any finite number of types), and it will automatically use the > specialised one if available. It would seem to me that a polymorphic function would only need to be specialized for a small set of, uh, "sizes" of data: bytes, ints, (and pointers, doubles, longs, depending on the architecture). Do these compilers really pass larger types by value? Or does specialization need more information than the sizes of the types? -- Evan Martin martine@danga.com http://neugierig.org ------------------- 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