mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:32:44 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									dccfff8c19
								
							
						
					
					
						commit
						34d07e35bd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -734,6 +734,8 @@ void build_opcode_tables_if_needed() | ||||||
|     build0FSlash(0xBA, 6, "BTR", OP_RM16_imm8, OP_RM32_imm8, LockPrefixAllowed); |     build0FSlash(0xBA, 6, "BTR", OP_RM16_imm8, OP_RM32_imm8, LockPrefixAllowed); | ||||||
|     build0FSlash(0xBA, 7, "BTC", 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(0x02, "LAR", OP_reg16_RM16, OP_reg32_RM32); | ||||||
|     build0F(0x03, "LSL", OP_reg16_RM16, OP_reg32_RM32); |     build0F(0x03, "LSL", OP_reg16_RM16, OP_reg32_RM32); | ||||||
|     build0F(0x06, "CLTS", OP); |     build0F(0x06, "CLTS", OP); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling