LibX86: Decode RDRAND instruction

I was looking at Kernel::get_good_random_bytes() and wondering where
the RDRAND instruction was. :^)
This commit is contained in:
Andreas Kling 2020-04-11 23:35:53 +02:00
parent dccfff8c19
commit 34d07e35bd
Notes: sideshowbarker 2024-07-19 07:41:48 +09:00

View file

@ -734,6 +734,8 @@ void build_opcode_tables_if_needed()
build0FSlash(0xBA, 6, "BTR", OP_RM16_imm8, OP_RM32_imm8, LockPrefixAllowed);
build0FSlash(0xBA, 7, "BTC", OP_RM16_imm8, OP_RM32_imm8, LockPrefixAllowed);
build0FSlash(0xC7, 6, "RDRAND", OP_RM16, OP_RM32);
build0F(0x02, "LAR", OP_reg16_RM16, OP_reg32_RM32);
build0F(0x03, "LSL", OP_reg16_RM16, OP_reg32_RM32);
build0F(0x06, "CLTS", OP);