| 46 | static int ncalls_g, nhits_g; // only used if TRACE_CACHE |
| 47 | |
| 48 | static unsigned Key(int x, int y) // pack x,y into 32 bits for cache key |
| 49 | { |
| 50 | return ((y & 0xffff) << 16) | (x & 0xffff); |
| 51 | } |
| 52 | |
| 53 | static double GetHatFit( // args same as non CACHE version, see below |
| 54 | int x, // in |