Am 18.10.2011 um 18:20 schrieb Oswald Buddenhagen <[email protected]>:
> On Tue, Oct 18, 2011 at 03:25:12PM +0200, ext Thiago Macieira wrote: >> x86 is the only remaining major architecture to pass arguments on the stack >> exclusively. That's to change with x32, see >> http://sites.google.com/site/x32abi/ >> > well, that doesn't actually change the existing architecture. Good to know that there are still people concerned about bits and bytes under the hood ;) That reminds me of "university classics" such as "Computer Architecture: a Quantitative Approach" (read "quantitative" as in "How much kilograms of paper do you get for your money!") or "SPARC Architecture". It's interesting to read that the x86 architecture apparently still passes arguments on the stack only. If I remember correctly the SPARC architecture could pass up to 8 arguments ("trivial" values I guess - 64 bit already?) in registers, and this to a call stack depth of 7 or 8 or so (after that arguments were put on the stack as well). That was early or mid 90ies IIRC. Oh and my! My infamous "copyblk" assembler routine (on a Ceres 3 computer designed by N. Wirth) homework which contrary to its name didn't even work at home! It was supposed to copy a "graphics memory block" into another block. Off course source and target could overlap. To make it even more fun the Ceres had a black and white display, "highly optimised" - that means one byte (8 bits) per 8 pixels ;) in linear display memory. Sorry, just rambling. Where was I? Oh yeah, allocating that 40 MBytes for my data cache... ;) Thanks for making Qt rock below the surface! Oliver _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
