From: Gareth H. <ga...@va...> - 2000-10-13 10:07:58
|
Gareth Hughes wrote: > > We'll need code like this in the future anyway, so here's a couple of > sample implementations. > > setup_elts() is the original code, and setup_elts_forward() is a > forward-counting loop as someone suggested. setup_elts_pII_mmx() is > regular MMX code, while setup_elts_pIII_mmx() uses prefetching and > streaming stores. > > elts/second > > setup_elts 26.4 M > setup_elts_forward 25.8 M > setup_elts_pII_mmx 41.2 M > setup_elts_pIII_mmx 71.7 M ^^^^^^ 77.8 M - oops System: 700MHz PIII, 256MB RAM (IBM ThinkPad A20) -- Gareth |