On Mon, Jun 25, 2012 at 2:53 PM, Mark Romer <romesterm...@gmail.com> wrote:
> Great question Ted
> Does anyone know the answer?

sure.

> Thanks Mark
> On Jun 22, 2012 12:58 PM, "Ted Unangst" <t...@tedunangst.com> wrote:
>
>> On Fri, Jun 22, 2012 at 12:52, Ryan McBride wrote:
>>
>> > 550Mb/s with aes-128-gcm (requires AES-NI and amd64) on
>> > hw.model=Intel(R) Xeon(R) CPU E5649 @ 2.53GHz
>> > hw.vendor=HP
>> > hw.product=ProLiant DL360 G7
>>
>> what's the reason aes-128-gcm requires amd64?

because the assembly is written for amd64.

>>  we can't add that code to i386?

that specific one? of course not. but the aes-ni and clmul instructions
are part of sse and can be executed by both 32-bit and 64-bit programs.

apart from that, it might be possible that binutils have to be adjusted
(i don't remember if they share the same code) and i386 has to grow
fpu_kernel_{enter,exit}.

Reply via email to