Re: [lwip-users] checksum routine in assembler

2009-11-17 Thread goldsi...@gmx.de
Martin Velek wrote: Which ARM architecture exactly? Ah, yeah, I forgot to mention that my version was for ARM7, farily old... Simon ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] checksum routine in assembler

2009-11-17 Thread Martin Velek
Which ARM architecture exactly? E.g. on Cortex M3 you can use REV16 or REV instruction (htonx). See CMSIS http://www.arm.com/products/CPUs/CMSIS.html. There is an interface to the special instructions for CortexM3 in many compiler (IAR, Keil, gcc,..). Martin 2009/11/17 Jan Wester : > Hi all > >

Re: [lwip-users] checksum routine in assembler

2009-11-17 Thread goldsi...@gmx.de
Jan Wester wrote: Hi all I’m trying to optimize my TCP/IP communication Is it anyone how have the checksum, htons and htonl routines in assembler for ARM I do have a checksum routine in (gcc) assembler. It's quite optimized, but I haven't used it for some years and don't remember if it can

[lwip-users] checksum routine in assembler

2009-11-17 Thread Jan Wester
Hi all I’m trying to optimize my TCP/IP communication Is it anyone how have the checksum, htons and htonl routines in assembler for ARM Med vänliga hälsningar/Best Regards Jan Wester WHI Konsult AB Scheelegatan 11, SE-112 28 Stockholm www.whi.se i...@whi.se +46 8 449 05 30 +46 705 3