[LLVMdev] 64-bit add using 2 32-bit operations, guarantee of stuck together?
Francois Pichet
pichet2000 at gmail.com
Mon Apr 15 14:02:47 PDT 2013
Hi,
Let's say we have a 32-bit architecture where 64-bit additions are done
using 2 operations.
Instructions are defined as follow in TableGen:
defm ADD64 : ALU32<"add", 1, 1, addc>;
defm ADD64C : ALU32<"addrc", 1, 2, adde>;
Let's assume that the carry bit is implicit and that the 2 operations must
*always* be stuck together for the 64-bit add to work properly.
Is there a default guarantee that nothing will ever be inserted between
"add" and "addrc" or is there a flag/condition to set somewhere to have
that guarantee?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130415/1d049b68/attachment.html>
More information about the llvm-dev
mailing list