Have a basic cache test to fill all ways and sets.

This commit is contained in:
Ross Thompson 2022-12-18 17:20:30 -06:00
parent 376b01fcb8
commit b4229c01ca

View File

@ -1,10 +1,11 @@
#include "header.h" #include "header.h"
int main(){ int main(int argc, char *argv[]){
long int array [1024]; long int array [1024];
int index; int index;
for(index = 0; index < 1024; index++) { for(index = 0; index < 1024; index++) {
array[index] = index; array[index] = index;
} }
return 0; *argv = array;
return array[1023] + argc;
} }