|
From: | Fabrice Bellard |
Subject: | Re: [Tinycc-devel] What is size overhead of compiled code? |
Date: | Mon, 14 Apr 2003 14:47:11 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020828 |
So a fair comparison with GCC should be made only on the object files with the 'size' command.
Fabrice. Philippe Ribet wrote:
Looks like my last mail failed. Question was: What I was wondering, I am interested in knowing how much bigger the generated code is. I realise that all the optimisations are not there. Can anyone come up with a ballpark estimate, in percentage? Test with gcc 2.95.4 on a large code. Executable size in bytes tcc: 2128340 gcc -O0: 2210099 gcc -O1: 1699847 gcc -O2: 1692071 gcc -O3: 2931009 After strip: tcc: 2128212 gcc -O0: 1837488 gcc -O1: 1327304 gcc -O2: 1319528 gcc -O3: 2558664
[Prev in Thread] | Current Thread | [Next in Thread] |