Added the "rdmsr" and "rdpmc" instructions

This commit is contained in:
Pierre Pronchery 2011-04-18 22:18:04 +00:00
parent d3ac707bad
commit cd05aec823
2 changed files with 6 additions and 0 deletions

View File

@ -16,5 +16,9 @@
/* instructions */ /* instructions */
/* RDMSR 0x0f32 2 */
{ "rdmsr", 0x0f32, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
/* RDPMC 0x0f33 2 */
{ "rdpmc", 0x0f33, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
/* RDTSC 0x0f31 2 */ /* RDTSC 0x0f31 2 */
{ "rdtsc", 0x0f31, OP2F, AOT_NONE, AOT_NONE, AOT_NONE }, { "rdtsc", 0x0f31, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },

View File

@ -1,3 +1,5 @@
/* $Id$ */ /* $Id$ */
.text .text
rdmsr /* 0f 32 */
rdpmc /* 0f 33 */
rdtsc /* 0f 31 */ rdtsc /* 0f 31 */