From: Philipp K. K. <pk...@sp...> - 2010-01-11 10:35:58
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sébastien Lorquet schrieb: > Why do we need device specific versions? Device-specific versions of library functions exist for two reasons: - - Compiler bugs: Some ports are not yet able to compile the library function, so it's not used for that port (typically disabled by an #ifdef), a device-specific version may be provided instead. This is typically done for new ports, and goes away once the port becomes more mature. - - Performance: Some library functions are so important that we really want to make them as fast as possible. Thus some ports have device-specific implementations of the library, some of them even coded in assembler. Again, these are sometimes removed as the port gets better, and the sdcc-generated code approaches the hand-written asm in quality. Philipp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktK/wUACgkQbtUV+xsoLpqRPQCfdqUT2+/DZ0kBnB7RhmLeyQG3 5NcAnj2ZEeYMcdtw//fUZvFLjuL0x+ST =H56j -----END PGP SIGNATURE----- |