Displaying 2 results from an estimated 2 matches for "rax_low".
Did you mean:
rar_low
2014 Dec 05
2
[LLVMdev] Lowering x64bit LLVM IR to x86bit LLVM IR
Hi,
I need some help,
As per my requirement, I am trying to lower down the x86_64bit binary LLVM
IR to x86 LLVM IR.
Instruction of x86_64 binary are as follows,
mov rax, 1122334455667788
mov rax, 8877665544332211
To lower down the same in x86, I need to split 'rax' register into
'rax_lower' and 'rax_higher'.
Can anybody please give me some pointer to do the same or any tool with
option to generate the
same type of LLVM IR.
Any help will be highly appreciated.
Thanks and Regards,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <h...
2014 Dec 18
2
[LLVMdev] Lowering x64bit LLVM IR to x86bit LLVM IR
...o lower down the x86_64bit binary
> LLVM
> > IR to x86 LLVM IR.
> > Instruction of x86_64 binary are as follows,
> > mov rax, 1122334455667788
> > mov rax, 8877665544332211
> > To lower down the same in x86, I need to split 'rax' register into
> > 'rax_lower' and 'rax_higher'.
>
> If you just want *some* code, then LLVM can take care of this itself.
> You just have to compile the IR for a x86 target: "llc -mtriple=i686
> ..." or similar.
>
> For example if you compile
>
> define i64 @foo() {
>...