Skip to content

x86 inline assembly should provide an alternative for Intel syntax  #383

@lhmouse

Description

@lhmouse

Instead of

__asm__ __volatile__ ("movl %1, %0" : "=r" (res) : "m" (*x) : "memory");

we should have

 __asm__ __volatile__ ("{ movl %1, %0 | mov %0, %1 }" : "=r" (res) : "m" (*x) : "memory"); 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions