Skip to content

Commit 9c64314

Browse files
eigenformCensoredUsername
authored andcommitted
Add support for the RDPRU instruction
Adds the encoding for the RDPRU ("Read Processor Register") instruction which is supported on recent AMD processors (starting with Zen 2).
1 parent 92fc229 commit 9c64314

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugin/src/arch/x64/gen_opmap.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,6 +2296,9 @@ Ops!(
22962296
"rdpmc" = [
22972297
b"" , [0x0F, 0x33 ], X;
22982298
]
2299+
"rdpru" = [
2300+
b"" , [0x0F, 0x01, 0xFD ], X, AMD;
2301+
]
22992302
"rdrand" = [
23002303
b"rq" , [0x0F, 0xC7 ], 6, WITH_REXW;
23012304
]

0 commit comments

Comments
 (0)