Re: [Xenomai-core] [rfc] Jumpless *llimd.

2009-07-19 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > The approach is generally fine, but you have to take measures to avoid > using cmove on CPUs that don't support it. They may be still around > (older VIA C3 e.g.). The kernel has a #define and in user-space, we would have to add a configure option, and we can test in /proc/cpui

Re: [Xenomai-core] [rfc] Jumpless *llimd.

2009-07-19 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Hi, > > we discussed this issue several times already I believe: it would be > fine if llimd (and nodiv_llimd) could work without jumps. 32 bits > compiler are unable to generate code without jumps for the following > sequence: > > union u64 { > long long ll