lkml.org 
[lkml]   [2009]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/2] x86, crypto, Generate .byte code for some new instructions via gas macro
    On 11/05/2009 06:23 AM, Herbert Xu wrote:
    > On Thu, Nov 05, 2009 at 02:44:15PM +0800, Huang Ying wrote:
    >> It will take some time for binutils (gas) to support some newly added
    >> instructions, such as SSE4.1 instructions or the AES-NI instructions
    >> found in upcoming Intel CPU.
    >>
    >> To make the source code can be compiled by old binutils, .byte code is
    >> used instead of the assembly instruction. But the readability and
    >> flexibility of raw .byte code is not good.
    >>
    >> This patch solves the issue of raw .byte code via generating it via
    >> assembly instruction like gas macro. The syntax is as close as
    >> possible to real assembly instruction.
    >>
    >> Some helper macros such as MODRM is not a full feature
    >> implementation. It can be extended when necessary.
    >>
    >> Signed-off-by: Huang Ying <ying.huang@intel.com>
    >
    > Once Ingo acks this I'll throw it into cryptodev.
    >

    I'm not Ingo, but:

    Acked-by: H. Peter Anvin <hpa@zytor.com>

    --
    H. Peter Anvin, Intel Open Source Technology Center
    I work for Intel. I don't speak on their behalf.



    \
     
     \ /
      Last update: 2009-11-05 18:01    [W:2.527 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site