delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/25/14:38:21

Date: 25 May 1992 14:20:58 -0400 (EDT)
From: JMILLER AT CHESS DOT EISC DOT UTOLEDO DOT edu
Subject: How fast??
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Edison Industrial Systems Center
Status: O

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019