AES-NI

Heinz thor587 at gmail.com
Sat Dec 8 12:14:07 PST 2012


On Saturday, 8 December 2012 at 17:11:37 UTC, Alex Rønne Petersen 
wrote:
> On 08-12-2012 18:08, Heinz wrote:
>> Hi,
>> Are AES-NI instruction set supported by the D inline assembler?
>> If not, can they be used by inserting raw data (the 
>> corresponding
>> opcodes)? Does anyone know the opcodes for the instruction set?
>> Thanks
>
> Yes, they are supported.
>
> And yes, you can insert raw machine code with the db, dw, dd, 
> and dq directives. The opcodes can be found in the Intel manual.

Thanks for your answer. By supported you mean i can use the 
mnemonic (AESENC, AESDEC, etc) inside an ASM statement or must i 
insert the raw machine code with db, dw, etc?

Just in case i've been looking for the corresponding machine 
codes and can not find them, i've searched even in Intel's AES 
whitepaper with no luck.


More information about the Digitalmars-d-learn mailing list