Re: [hatari-devel] Issues with cache hits/misses? |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
looking at the code in newcpu.c / read_dcache030, my understanding is that when reading a long word, if the read is at a misaligned address, then each subsequent read of a long word will also be misaligned.
So, for a movem that would read 13 long words for example, you would get 13*2 hits (because each individual long is misaligned), not 13+1 hits (to read the misaligned word then to have subsequent aligned long words) (this is without burst mode)
Unfortunately, the MC68030 User Manual example is only about 1 misaligned long word read, not several.
Tony what do you think ?
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |