clang - How to write the result of an inline assembly instruction to LLVM register? -


suppose i've instruction following:

%2 = call i32 asm sideeffect "addl %ebx,%eax;\0a", "={ax},{ax},{bx},~{dirflag},~{fpsr},~{flags}"(i32 %0, i32 %1) #2, !srcloc !1 

now, i'd result of addl being moved to, e.g., llvm register called %foo.

how that?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -