Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ Challenge

Name: Anonymous 2011-09-26 14:42

Write a program which solves for and prints the first 30 titanic primes. The person who writes the most efficient program wins. Use any language you like.

Name: sage 2011-09-27 11:51

>>18
/usr/src/linux-2.6.39/arch/x86/include/asm/elf.h:

/* SVR4/i386 ABI (pages 3-31, 3-32) says that when the program starts %edx
   contains a pointer to a function which might be registered using `atexit'.
   This provides a mean for the dynamic linker to call DT_FINI functions for
   shared libraries that have been loaded before the code runs.

   A value of 0 tells we have no such handler.

   We might as well make sure everything else is cleared too (except for %esp),
   just to make things more deterministic.
 */
#define ELF_PLAT_INIT(_r, load_addr)            \
        do {                                    \
        _r->bx = 0; _r->cx = 0; _r->dx = 0;     \
        _r->si = 0; _r->di = 0; _r->bp = 0;     \
        _r->ax = 0;                             \
} while (0)

It happens to be. Sorry. You're a bad troll.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List