search for: i257

Displaying 6 results from an estimated 6 matches for "i257".

Did you mean: 257
2013 Nov 15
2
[LLVMdev] Modular arithmetic processors
...ng function, b + c mod N, corresponds to only one instruction on my target machine, given the modulus N set by another instruction to an auxiliary register. # this should translate to one instruction like: r3 = add r1, r2 # n is extended to 257-bit for simplicity define i256 @add(i256 %b, i256 %c, i257 %n) { %1 = zext i256 %b to i257 %2 = zext i256 %c to i257 %3 = add i257 %2, %1 %4 = icmp uge i257 %3, %n %5 = select i1 %4, i257 %n, i257 0 %6 = sub i257 %3, %5 %7 = trunc i257 %6 to i256 ret i256 %7 } The ultimate goal is to use LLVM to optimize and emit machine code for programs...
2013 Nov 15
0
[LLVMdev] Modular arithmetic processors
...responds to only > one instruction on my target machine, given the modulus N set by another > instruction to an auxiliary register. > > # this should translate to one instruction like: r3 = add r1, r2 > # n is extended to 257-bit for simplicity > define i256 @add(i256 %b, i256 %c, i257 %n) { > %1 = zext i256 %b to i257 > %2 = zext i256 %c to i257 > %3 = add i257 %2, %1 > %4 = icmp uge i257 %3, %n > %5 = select i1 %4, i257 %n, i257 0 > %6 = sub i257 %3, %5 > %7 = trunc i257 %6 to i256 > ret i256 %7 > } > > The ultimate goal is to us...
2013 Nov 18
1
[LLVMdev] Modular arithmetic processors
...; one instruction on my target machine, given the modulus N set by another >> instruction to an auxiliary register. >> >> # this should translate to one instruction like: r3 = add r1, r2 >> # n is extended to 257-bit for simplicity >> define i256 @add(i256 %b, i256 %c, i257 %n) { >> %1 = zext i256 %b to i257 >> %2 = zext i256 %c to i257 >> %3 = add i257 %2, %1 >> %4 = icmp uge i257 %3, %n >> %5 = select i1 %4, i257 %n, i257 0 >> %6 = sub i257 %3, %5 >> %7 = trunc i257 %6 to i256 >> ret i256 %7 >> }...
2010 Apr 29
3
Winecfg crashes with audio tab.
...elected for you. You can use this driver or select another driver if available. You must click Apply for the selection to take effect. When I hit OK on that message, winecfg briefly stays up with no menu options in the open tab, and then crashes. It then gives me this error message: [img]http://i257.photobucket.com/albums/hh239/Stephenlarkin/Picture5.png?t=1272581601[/img] I also get this output in terminal: Code: fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x8090809, 0000: semi-stub! fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x8090809, 0000: semi-stub! 2010-04-29 23:50:28.043 wine[3716...
2019 Oct 24
4
RFC: On non 8-bit bytes and the target for it
On 24/10/2019 14:21, JF Bastien via llvm-dev wrote: > I’d like to understand what programming model you see programmers using. > You don’t need 257 bits per byte if you only offer 257 bit integers. > Rather, bytes aren’t really a thing at that point. LLVM kinda handles iN > already, and your backend would legalize everything to exactly this type > and nothing else, right? Would
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...6]* %e, i32 0, i32 7 %.pre1002.i = load i16* %incdec.ptr.6.i501.phi.trans.insert.i, align 2, !tbaa !5 %incdec.ptr.7.i502.phi.trans.insert.i = getelementptr inbounds [13 x i16]* %e, i32 0, i32 8 %.pre1003.i = load i16* %incdec.ptr.7.i502.phi.trans.insert.i, align 2, !tbaa !5 br label %if.end.i257 for.cond.preheader.i.i231: ; preds = %eisneg.exit %cmp5.i.i230 = icmp eq i16 %13, 0 br i1 %cmp5.i.i230, label %for.inc.i.i234, label %if.then.i for.inc.i.i234: ; preds = %for.cond.preheader.i.i231 %incdec.ptr.i.i232 = getelementptr in...