Mail Archives: djgpp/1992/05/25/14:38:21
I have been translating a two-dimensional convolution program from Turbo
Pascal to C and have obtained comparable performance using Microsoft C Ver
5.1 with maximum optimization. I then compiled the same code using Gnu C 2.01/
1.06 but it took almost twice as long to run. I have usually found that Gnu
C compilations run faster than Microsoft C compilations so this is a real
surprize. Before anyone asks why Turbo Pscal seems to be so fast, I used a
fair amount of in-line assembly code to reduce execution time. I would
appreciate feedback from anyone who has performed similar comparisons between
Gnu C and 16 bit compilers. Thanks.
- Raw text -