Optimised mul, added asm string functions
[fw/sdcc] / device / include / asm / z80 / features.h
index 616eb02a914cf2e06479f0b4a4da90a6fa04ab0e..28866ec106a089d9ec4c815da1fd9a1f53a0b899 100644 (file)
@@ -9,4 +9,11 @@
 #define _SDCC_MANGLES_SUPPORT_FUNS     1
 #define _SDCC_Z80_STYLE_LIB_OPT                1
 
+/* The following are disabled to make the dhrystone test more authentic.
+ */
+#define _SDCC_PORT_PROVIDES_MEMCPY     1
+#define _SDCC_PORT_PROVIDES_STRCMP     1
+/* Register allocator is as good as hand coded asm.  Cool. */
+#define _SDCC_PORT_PROVIDES_STRCPY     0
+
 #endif