Displaying 10 results from an estimated 10 matches for "__fds_bits".
2010 Feb 16
2
[LLVMdev] FD_ZERO unsupported inline asm on 64 bit
..."=c" (__d0), "=D" (__d1) \
: "a" (0), "0" (sizeof (fd_set) \
/ sizeof (__fd_mask)), \
"1" (&__FDS_BITS (fdsp)[0]) \
: "memory"); \
} while (0)
Thanks,
Cristi
2010 Feb 16
0
[LLVMdev] FD_ZERO unsupported inline asm on 64 bit
...(__d0), "=D" (__d1) \
> : "a" (0), "0" (sizeof (fd_set) \
> / sizeof (__fd_mask)), \
> "1" (&__FDS_BITS (fdsp)[0]) \
> : "memory"); \
> } while (0)
That said, this is an odd way to implement FD_ZERO. The crazy asm is equivalent
to a simple memset...
Ciao,
Duncan.
PS: The underlying problem he...
2009 Dec 29
0
aMSN segfaults at login after configuring my home network
...2430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7a9f981 in select () from /lib/tls/i686/cmov/libc.so.6
No locales.
#2 0xb7e63d92 in NotifierThreadProc (clientData=0x0)
at /build/buildd/tcl8.5-8.5.7/unix/../unix/tclUnixNotfy.c:984
tsdPtr = 0x0
readableMask = {__fds_bits = {32, 0 <repeats 31 times>}}
writableMask = {__fds_bits = {0 <repeats 32 times>}}
exceptionalMask = {__fds_bits = {0 <repeats 32 times>}}
fds = {5, 6}
i = <value optimized out>
numFdBits = 9
receivePipe = 5
found = 0...
2010 Feb 16
2
[LLVMdev] FD_ZERO unsupported inline asm on 64 bit
...quot;=D" (__d1) \
>> : "a" (0), "0" (sizeof (fd_set) \
>> / sizeof (__fd_mask)), \
>> "1" (&__FDS_BITS (fdsp)[0]) \
>> : "memory"); \
>> } while (0)
>
> That said, this is an odd way to implement FD_ZERO. The crazy asm is equivalent
> to a simple memset...
>
> Ciao,
>
&g...
2010 Jul 12
2
[LLVMdev] about llvm2.7's inline assembly
Hello,
Whenever I compile a C program containing "FD_SET" function using llvm-gcc
2.7 (with -emit-llvm option), I got the following inline assembly in my
llvm byte code:
%asmtmp = call %struct.__mbstate_t asm sideeffect "cld; rep; stosl",
"={cx},={di},{ax},0,1,~{dirflag},~{fpsr},~{flags},~{memory}"(i32 0, i32
32, i32* getelementptr inbounds (%struct.__sigset_t*
2010 Jul 12
0
[LLVMdev] about llvm2.7's inline assembly
...ot;=c" (__d0), "=D" (__d1) \
: "a" (0), "0" (sizeof (fd_set) \
/ sizeof (__fd_mask)), \
"1" (&__FDS_BITS (fdsp)[0]) \
: "memory"); \
} while (0)
#else /* ! GNU CC */
Maybe there's a good reason not to just use memset, but I don't know what it is.
Ciao,
Duncan.
2012 Oct 13
0
[ANNOUNCE] xscope 1.3.99.901
...cope.raw" to decode the data.
and a bunch of cleanups & bug fixes along the way.
Please test and let me know what needs fixing before a final 1.4 release.
Alan Coopersmith (29):
Add link to original xscope paper in README
Use __XFDS_BITS macros from Xpoll.h instead of direct __fds_bits access
Convert sources from ISO 8859-1 to UTF-8
Convert Keith's personal license notice to X.Org standard MIT license notice
Convert to X.Org standard indentation & cleanup whitespace
Use local variable for ioctl argument instead of a static
Combine usage messa...
2014 Mar 24
2
[Bug 910] New: Segmentation Fault
...x000000000041302b in ftfw_xmit () at sync-ftfw.c:545
No locals.
#7 0x0000000000411fe5 in tx_queue_cb (data=<optimized out>) at sync-mode.c:356
No locals.
#8 0x000000000040dcf4 in select_main_step (next_alarm=0x7fffffffd290) at
fds.c:126
ret = <optimized out>
readfds = {__fds_bits = {8192, 0 <repeats 15 times>}}
cur = <optimized out>
tmp = 0x658c20
#9 select_main_loop () at fds.c:147
next_alarm = {tv_sec = 0, tv_usec = 999556}
next = 0x7fffffffd290
#10 0x0000000000409094 in main (argc=<optimized out>, argv=<optimized out&...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...gned long int)))];
} __sigset_t;
typedef __sigset_t sigset_t;
struct timespec
{
__time_t tv_sec;
long int tv_nsec;
};
struct timeval
{
__time_t tv_sec;
__suseconds_t tv_usec;
};
typedef __suseconds_t suseconds_t;
typedef long int __fd_mask;
typedef struct
{
__fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
} fd_set;
typedef __fd_mask fd_mask;
extern int select (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
struct timeval *__restrict __timeout);
extern int pselect (int __nfds, fd_set *__restr...