Hello All. I've been looking for cache2d.c comes from polytex source. Besides source code itself and documentation comes within polytex, I couldn't understand its algorithm. For example what does xorline() do? Can anybody help?
Awesoken at
Re: about cache2d.c
I attached my original test code from 1995. I wrote it in QuickBasic so you may have difficulties getting it to run. To run it, you'll need: 1. To put a TILES000.ART file in the directory. Any version will do. 2. Microsoft QuickBasic 4.5. 3. WinXP or DosBox to run QuickBasic. Good luck!
Levent at
Thanks Ken, your help is appreciated. Issue is going deeper than I first thought.
This question may be stupid but I'll ask it anyway. Did you measure every single instruction timings or take them as reported (by intel..)?
Awesoken at
The Pentium was the last Intel processor where you could estimate clock cycles like this. I had Intel books, but I would also measure each instruction in a test program just to be sure. Measuring clock cycles became a lot more difficult with the Pentium Pro and beyond. These days, my favorite reference is http://www.agner.org/optimize/ when I need inspiration for assembly optimization.