Hello,
I am creating a very small language which needs inline assembly, with llvm as a compiler framework.
On x86, I am interested in the "out","in","mfence","lfence".. and other specific sse operations.
How may I tell llvm about them in my language?
-> I read that "module asm" should be my companion but I am not sure how it works (the doc about it, is only a few lines of not so complete information. What is the syntax when the final register the value comes from or goes in doesn't matter? so no explicit %%rax or %%rdx but rather something like %%r?x; here the question mark let the compiler to choose the best register for the value);
I need the same functionalities as "asm" in C but in my language basically.
Thanks
--е║
Alex