An x86-64 instruction decoder and a corresponding instruction trace tool/library for (micro)architectural simulators.