Hi, On Thu, Mar 17, 2005 at 01:35:29PM +0000, Joern RENNECKE wrote: > I.e. you could have libgcc provide one with a size that works most of the > time
Some applications have recursions which go into a depth of 1000 and more. Some architectures have only a few k ram. Which "a size that works most of the time" would you suggest? It's ugly to have a static pool size. But it's intolerable to not allow the user to change that pool size easily using an option. > The mmapped trampoline can be an absolute function call to some helper > code that does the I am pretty sure that all processor architectures with such a strict haward design that it is impossible to generate dynamic code are MMU-less. yours, - clifford -- bash -c "gcc -o mysdldemo -Wall -O2 -lSDL -lm -pthread -x c <( echo -e ' #include <SDL/SDL.h>\n#include <complex.h>\nint main(){SDL_Surface*s;SDL_Event e;int x,y,n;SDL_Init(SDL_INIT_VIDEO);s=SDL_SetVideoMode(640,480,32,0);for(x=0; x<640;x++)for(y=0;y<480;y++){float _Complex z=0, c=((x-400)/200.0) + ((y-240)/ 200.0)*1.0fi;for(n=1;n<64;n++){z=z*z+c;if(cabsf(z)>2){((Uint32*)s->pixels)[x+y *640]=n<<3;n=99;}}}SDL_UpdateRect(s,0,0,s->w,s->h);do SDL_WaitEvent(&e); while (e.type!=SDL_QUIT&&e.type!=SDL_KEYDOWN);SDL_Quit();return 0;}' ); ./mysdldemo" M$ is not the answer. M$ is the question. No is the answer!
pgpUWbp1VmpeO.pgp
Description: PGP signature