From cd05aec823d8be321a9259d735ff5ce4bc46a0a0 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 18 Apr 2011 22:18:04 +0000 Subject: [PATCH] Added the "rdmsr" and "rdpmc" instructions --- src/arch/i586.ins | 4 ++++ test/i586.S | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/arch/i586.ins b/src/arch/i586.ins index 8cdd63e..eb0a541 100644 --- a/src/arch/i586.ins +++ b/src/arch/i586.ins @@ -16,5 +16,9 @@ /* 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, OP2F, AOT_NONE, AOT_NONE, AOT_NONE }, diff --git a/test/i586.S b/test/i586.S index 5c1bf12..b353501 100644 --- a/test/i586.S +++ b/test/i586.S @@ -1,3 +1,5 @@ /* $Id$ */ .text + rdmsr /* 0f 32 */ + rdpmc /* 0f 33 */ rdtsc /* 0f 31 */