lkml.org 
[lkml]   [2004]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: working with mmx
    Ankit Jain wrote:
    > actually the problem is i am not able to understand
    > why this is not functiuoning
    >
    > asm("mov %2,%0"
    > "mov %3,%1"
    > :"=r"(x),"=r"(y)
    > :"r"(a),"r"(b))
    >
    > it gives assembler error

    The two strings
    "mov %2,%0"
    "mov %3,%1"
    get concatenated, try to separate them, e.g.
    "mov %2,%0\n"
    "mov %3,%1"

    --
    Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:3.851 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site