Displaying 2 results from an estimated 2 matches for "edx3".
Did you mean:
edx
2013 Jun 28
3
[LLVMdev] Question regarding the x86 SBB instruction.
...this work accurately in LLVM IR ?
I could put an if round it:
if ((%eax1 == 0xffffffff)) && (%carry1 == 1)) {
%carry2 = 1
} else {
%eax2 = ADD i32 %eax1, %carry
[%edx2,%carry3] = llvm.ssub.with.overflow.i32 %edx1, %eax2
}
%carry4 = phi (%carry2, %carry3) (true branch, else branch)
%edx3 = phi (%edx1, %edx2)
branch cond %carry4 jump_destination
Any better ideas?
James
2013 Jun 28
0
[LLVMdev] Question regarding the x86 SBB instruction.
...ld put an if round it:
> if ((%eax1 == 0xffffffff)) && (%carry1 == 1)) {
> %carry2 = 1
> } else {
> %eax2 = ADD i32 %eax1, %carry
> [%edx2,%carry3] = llvm.ssub.with.overflow.i32 %edx1, %eax2
> }
> %carry4 = phi (%carry2, %carry3) (true branch, else branch)
> %edx3 = phi (%edx1, %edx2)
> branch cond %carry4 jump_destination
>
> Any better ideas?
>
> James
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/list...