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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -