search for: dstep

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

Did you mean: step
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...tdint.h> +#include <signal.h> + +#if BITS == 64 +typedef uint64_t unum; +typedef int64_t snum; +#else +typedef uint32_t unum; +typedef int32_t snum; +#endif + +#ifdef SIGNED +typedef snum xnum; +#else +typedef unum xnum; +#endif + +#ifdef __cris__ +static inline unum __attribute__ ((const))dstep(unum rs, unum rd) +{ + asm("dstep %1,%0": "+r"(rd):"r"(rs)); + return rd; +} + +static inline unum __attribute__ ((const))lz(unum rs) +{ + unum rd; + asm("lz %1,%0": "=r"(rd):"r"(rs)); + return rd; +} + +#else +/* For testing */ +static in...
2020 Apr 30
0
[klibc:master] arch: Remove cris port
...tdint.h> -#include <signal.h> - -#if BITS == 64 -typedef uint64_t unum; -typedef int64_t snum; -#else -typedef uint32_t unum; -typedef int32_t snum; -#endif - -#ifdef SIGNED -typedef snum xnum; -#else -typedef unum xnum; -#endif - -#ifdef __cris__ -static inline unum __attribute__ ((const))dstep(unum rs, unum rd) -{ - asm("dstep %1,%0": "+r"(rd):"r"(rs)); - return rd; -} - -static inline unum __attribute__ ((const))lz(unum rs) -{ - unum rd; - asm("lz %1,%0": "=r"(rd):"r"(rs)); - return rd; -} - -#else -/* For testing */ -static in...
2006 Jun 23
1
How to use mle or similar with integrate?
Hi I have the following formula (I hope it is clear - if no, I can try to do better the next time) h(x, a, b) = integral(0 to pi/2) ( ( integral(D/sin(alpha) to Inf) ( ( f(x, a, b) ) dx ) dalpha ) and I want to do an mle with it. I know how to use mle() and I also know about integrate(). My problem is to give the parameter values a and b to the
2016 Aug 18
0
Liebert PSIXR 3000 intellislot web card support with NUT 2.6.0
...sn't so complicated and described in nut documentation. Regards, Dmitri Stepanov >?????, 17 ??????? 2016, 10:50 +03:00 ?? John Huong <jahuong at gmail.com>: > >So what should I do? It doesn't seem to work. > >On Aug 17, 2016 3:32 PM, "Dmitri Stepanov" < dstep at mail.ru > wrote: >>Hi John >>For me an old Liebert WEB SNMP card works fine with generic snmp driver, but new one Liebert IS UNITY DP card makes me to create my own snmp subdriver. >>Regards, >>Dmitri Stepanov >>-- >>?????????? ?? Mail.Ru ??? Android ?????,...
2015 Aug 18
1
Liebert IntelliSlot Unity Card IS-UNITY-DP snmp UPS-MIB.upsIdentManufacturer '1.3.6.1.2.1.33.1.1.1.0' problem
OpenBSD 5.6 nut-2.7.2 (bin package) Liebert IntelliSlot Unity Card IS-UNITY-DP ups.conf: ...... ? mibs = ietf ? snmp_version = v1 ...... The problem is that the card responds to other snmp (v1,2c,3) requests normally but not to the 1.3.6.1.2.1.33.1.1.1.0 (UPS-MIB.upsIdentManufacturer). # snmp-ups -a laes2ups -DDDDDDD Network UPS Tools - Generic SNMP UPS driver 0.72 (2.7.2) ?? 0.000000???? debug
2004 Jun 23
4
CRIS port of klibc
...e number of quotient digits will be one less, because + we just adjusted b. */ + quot_digits--; + } + + /* Now do the division part. */ + + /* Subtract b and add ones to the right when a >= b + i.e. "a - (b - 1) == (a - b) + 1". */ + b--; + +#define DS __asm__ ("dstep %2,%0" : "=r" (a) : "0" (a), "r" (b)) + + switch (quot_digits) + { + case 32: DS; case 31: DS; case 30: DS; case 29: DS; + case 28: DS; case 27: DS; case 26: DS; case 25: DS; + case 24: DS; case 23: DS; case 22: DS; case 21: DS; + case 20: DS; case...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at:
2016 Jul 13
0
Best practice to shutdown hosts which has not NUT via upssched
Hi ?? I need to shutdown a number of hosts which has not NUT from one which has it. ?? I tried to do it from upssched script (after upssched's timer) like this: case $1 in ??????? earlyshutdown) ??????????????? logger -t upssched-cmd "Early shutdown is started" ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh ??????????????? /usr/local/sbin/upsmon -c fsd
2016 Jul 13
0
Best practice to shutdown hosts which has not NUT via upssched
Thank you for answer Roger >?????, 13 ???? 2016, 11:49 +03:00 ?? Roger Price <roger at rogerprice.org>: > >On Wed, 13 Jul 2016, Dmitri Stepanov wrote: > >> Hi >> >> ?? I need to shutdown a number of hosts which has not NUT from one which has it. >> >> ?? I tried to do it from upssched script (after upssched's timer) like this: >> >>
2016 Jul 14
0
Best practice to shutdown hosts which has not NUT via upssched
Thank you Roger ?????, 13 ???? 2016, 15:22 +03:00 ?? Roger Price <roger at rogerprice.org>: > >On Wed, 13 Jul 2016, Dmitri Stepanov wrote: > >>>> ?? shutdown-all-hosts.sh contains: >>>> # Linux hosts >>>> HOSTLIST="sim iogate br" >>>> for host in $HOSTLIST >>>> do >>>> ... >>>> ???? ssh
2016 Jul 12
3
Best practice to shutdown hosts which has not NUT via upssched
Hi ?? I need to shutdown a number of hosts which has not NUT from one which has it. ?? I tried to do it from upssched script (after upssched's timer) like this: case $1 in ??????? earlyshutdown) ??????????????? logger -t upssched-cmd "Early shutdown is started" ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh ??????????????? /usr/local/sbin/upsmon -c fsd
2016 Jul 14
2
Best practice to shutdown hosts which has not NUT via upssched
Thank you for answer Stuart >?????, 13 ???? 2016, 17:54 +03:00 ?? Stuart Gathman <stuart at gathman.org>: > >On 07/13/2016 10:02 AM, Stuart Gathman wrote: >> On 07/13/2016 04:17 AM, Dmitri Stepanov wrote: >>> I need to shutdown a number of hosts which has not NUT from one which has it. >> Let's make sure you are not missing an obvious point. By