search for: l89

Displaying 12 results from an estimated 12 matches for "l89".

Did you mean: 189
2020 Jun 09
2
Implementing a VTable in LLVM
...@_VtableFoo = common global %_VtableFoo { void (%Foo*, i32)* @_Foo__setgi } The code for instantiating the table seems to generate the correct IR (create an object, store a pointer to its vtable) - https://github.com/mukul-rathi/bolt/blob/vtable/src/llvm-backend/llvm_ir_codegen/expr_codegen.cc#L66:L89 <https://github.com/mukul-rathi/bolt/blob/vtable/src/llvm-backend/llvm_ir_codegen/expr_codegen.cc#L66:L89> entry: %_var_y0 = alloca %Foo* %0 = call i8* @malloc(i64 ptrtoint (%Foo* getelementptr (%Foo, %Foo* null, i64 1) to i64)) %1 = bitcast i8* %0 to %Foo* %2 = getelementptr inbound...
2018 Dec 29
2
Portable multiplication 64 x 64 -> 128 for int128 reimplementation
Hi, For some maybe dumb reasons I try to write a portable version of int128. What is very valuable for this implementation is access to MUL instruction on x86 which provides full 64 x 64 -> 128 bit multiplication. An equally useful on ARM would be UMULH instruction. Well, the way you can access this on clang / GCC is to use __int128 type or use inline assembly. MSVC provides an intrinsic for
2018 Dec 30
3
[cfe-dev] Portable multiplication 64 x 64 -> 128 for int128 reimplementation
...8 at 4:44 PM Arthur O'Dwyer via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi Pawel, > > There is the _mulx_u64 intrinsic, but it currently requires the hardware > flag "-mbmi2". > > https://github.com/Quuxplusone/WideIntProofOfConcept/blob/master/wider.h#L89-L99 > > On Clang 3.8.1 and earlier, the _addcarry_u64 and _subborrow_u64 > intrinsics required the hardware flag `-madx`, even though they didn't use > the hardware ADX/ADOX instructions. Modern GCC and Clang permit the use of > these intrinsics (to generate ADC) even in the abse...
2016 Apr 17
0
IBM 5396-1Kx ups nearly recognised.
...back to this, but maybe one of the other NUT developers can help. One thing I did not do is try to map this to an equivalent Eaton model[*]. There might be additional features or fixes if someone knows the exact equivalent. [*]: https://github.com/networkupstools/nut/blob/master/drivers/mge-hid.c#L89 This part looks weird, but maybe I am not used to seeing the status of a larger UPS: "ups.status: OL CHRG OFF" (maybe "battery.charger.status: floating" means float charging, rather than resting.) If it really is off, then ups.load, ups.power and output.voltage seem reasonable...
2007 Dec 13
0
constants_rewrite branch, Merb.root and Dir.pwd?
Hello Guys, Doing some svn up and some looking at the code in the repo, found that MERB_ROOT and the replacement Merb.root constant based heavily on Dir.pwd (on trunk: http://merb.devjavu.com/browser/trunk/lib/merb.rb#L89) Dir.pwd present a problem when you try to run something "outside" the root of your app, let say inside app directory it will wrongly assing MERB_ROOT to Dir.pwd and will not be able to locate any of the other files that depend on it. Also found other issues when running specs with it,...
2016 Apr 17
2
IBM 5396-1Kx ups nearly recognised.
On 17/04/2016 00:50, Charles Lepple wrote: > [as this list does not set or alter the Reply-To header, please use "reply all". Thanks!] > >> On Apr 16, 2016, at 5:14 PM, Andy R - (NUT-List) wrote: >> >> I'm currently using the usbhid-ups driver but as the ups usb-ID isn't recognised in the udev rules I run it as root. Running usbhid-ups gives a "device
2017 Mar 12
2
How rc-local.service works?
Hi, Let me cite the service file here: [Unit] Description=/etc/rc.d/rc.local Compatibility ConditionFileIsExecutable=/etc/rc.d/rc.local After=network.target [Service] Type=forking ExecStart=/etc/rc.d/rc.local start TimeoutSec=0 RemainAfterExit=yes I basically don't understand two things here: 1. What makes it run? Sure, when I make /etc/rc.d/rc.local executable, it runs. But for all I
2016 Apr 24
2
IBM 5396-1Kx ups nearly recognised.
...one of the other NUT developers can help. One thing I did not > do is try to map this to an equivalent Eaton model[*]. There might be > additional features or fixes if someone knows the exact equivalent. > > [*]: > https://github.com/networkupstools/nut/blob/master/drivers/mge-hid.c#L89 > > This part looks weird, but maybe I am not used to seeing the status > of a larger UPS: "ups.status: OL CHRG OFF" (maybe > "battery.charger.status: floating" means float charging, rather than > resting.) > > If it really is off, then ups.load, ups.power...
2020 Apr 04
2
Permitted success/failure orderings for atomic compare_exchange
A question has come up on how to interpret the wording of LLVM's documentation regarding the possible memory ordering for success and failure of atomic compare_exchange operations. >From the LLVM reference: "The success and failure ordering <https://llvm.org/docs/LangRef.html#ordering> arguments specify how this cmpxchg synchronizes with other atomic operations. Both ordering
2016 Jun 08
0
IBM 5396-1Kx ups nearly recognised.
...T developers can help. One thing I did not >> do is try to map this to an equivalent Eaton model[*]. There might be >> additional features or fixes if someone knows the exact equivalent. >> >> [*]: >> https://github.com/networkupstools/nut/blob/master/drivers/mge-hid.c#L89 >> >> This part looks weird, but maybe I am not used to seeing the status >> of a larger UPS: "ups.status: OL CHRG OFF" (maybe >> "battery.charger.status: floating" means float charging, rather than >> resting.) >> > yup, nothing but norma...
2012 Jun 08
7
filter children with acts_as_tree
Hello Experts, I have a tree of categories in this category object there is a property called type. the root categories have no type but the children have. so how I can get all the roots with filled in children that have category type = ''B'' for instance. I tried to run Category.roots then delete children With a category not equal to ''B'' but this causes a major
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...{i{2tW|IEb>39=+-2 zn{K%Y>Uj7AFD(c?_Dwh5eB<#OPuz0juRox&KA%(e(PPJNId;p9H=nrq0Touxsq7n$ z9J%r48*aMsh6nLg+2W%&9y at yDi6bYD-}Jx=`}|$m$8Wgd=9`Y3xZ#H1d=Q1b4&QXc zky~!Q<><|~L|LZ*CUnBT3|0JShZqq;{XyX2_7*0e(y_!e83jUx1|bJa%2gifcAyVg z^QYc6pwRFDm!I_LW#j5Oar}mxkKFV>sta9!aa~7lIeOEL89_M4B)SV6?7KwuB?l2J zU-+LifE|t5M{l|DrsFpsyZOfdS$EJg8FlBD6GxBUd{cVW69vG@?VFUo)U+llvv+Qp zDsroP<j~wIbzEqGXxBi9?YjdE&66xK)wk2dP~RQEmqu44yq)1KX95ExAl2F?n<FBg z9XFtT>HZxc<6|{!G+*HrB at q+$4Jjbg(z at Qs;Ar%vBFel%_rhQAQ*qg2u60*)_OatP zABW9+^9?bt#(`5sCd8yfHzNgoV%~rhF!s7o+ltxhHKREE;*yoB2>E7...