The cost of function call
Balogh Péter <[email protected]> Wed, 13 Jul 2005 14:24:42 +0200
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Hi I'm working on an improved math library. We are developing for linux and windows. I have a problem with inline assembly codes I can inline an assembly code, but I have to write all the codes 2 times to be able to compile with gcc and MSVC. I know about NASM, but with NASM I loose the inline functions. How do you guys do it? Writing every asm peace 2 or more times? Sacrifice the inline or add one more function call to the assembly function? How expensive is a function call today? Is there a way to convert Microsoft MASM code to GCC GAS? Best Regards Peter Balogh ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Gamedevlists-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=557