??? 02/21/11 19:13 Modified: 02/21/11 19:42 Read: times |
#181221 - Snake, as a dubious benchmark |
I took a program I wrote last year for general amusement, Snake, http://www.8052.com/forum/thread/173380 , and tried to "port" it to an ARM - a Cortex-M3 (namely LPC1768), as a sort of a benchmark. (The game has already been "ported" to AVR back then by a friend of mine).
The results: 8051/SDCC AVR/gcc ARM/gcc FLASH 3566 3954 4584 RAM 85 70 132 Some remarks:
Now we all know very well what exactly is the value of benchmarks... :-) JW [EDIT] Sorry, I did not realize that the link to the AVR port above is subject to login to that site (a local Slovak/Czech mcu-related site) - however, this video (which I hope does not require registration) demonstrates its functionality in simulated environment [EDIT2] Another sorry, I ****ed the ARM code usage (including some debug info), incorrectly posting it as 5968 bytes |
Topic | Author | Date |
Snake, as a dubious benchmark | 01/01/70 00:00 | |
especially when --- | 01/01/70 00:00 | |
mentioned in the "header" of the table | 01/01/70 00:00 | |
more data | 01/01/70 00:00 | |
Bit banding? | 01/01/70 00:00 | |
no | 01/01/70 00:00 | |
Barrel shifter | 01/01/70 00:00 |