how to create a w64 structure in c++?
im want to try to implement a memory model for the a simulator.
so basically, the memory will be implemented as an 8 associative set array : meaning a two dimensional array where the first dimension is the 2^14 ( that is 16k) and the other is 8 ( which is the number of ways)
since this simulator is written in C++ with extensive use of x86 and x86-64 inline assembly code, i have to create a w64 structure and the array will be of that type.
each entry will have the cycle time of the simulator and the address of the instruction
can anybody help with the creation of the type and the array?
your help is highly appreciated