Friday, November 12, 2010

SBR600: To Thumb? or Not to Thumb? (v0.1) continued.. 2

To add some version control for my project, I've started using git.
Will be creating at least one branch in every day that I work on the project.
Today's branch is nov-12.

[thlee3@fedora-arm nled]$ git status
# On branch nov-12
nothing to commit (working directory clean)

So, I've continued with my benchmarking. Today I was mainly compiling using Makefile. Tried experimenting with different -O# option with/without -g.



NLED-2.52 (size of nled file in bytes compiled with different options)

-O -c 
48920
-O -c -mthumb 
40351

-O -c -mthumb -mthumb-interwork
40351

-O2 -c 
48576

-O2 -c -mthumb 
40563

-O2 -c -mthumb -mthumb-interwork
40563

-O -c -g 
95752

-O -c -g -mthumb 
88859

-O -c -g -mthumb -mthumb-interwork
88867

-O2 -c -g 
98128

-O2 -c -g -mthumb 
93115

-O2 -c -g -mthumb -mthumb-interwork
93127



Ended today's work by adding new nled directory and committing to git.

[thlee3@fedora-arm ~]$ git add nled
[thlee3@fedora-arm ~]$ git commit -a -m "Experiments with NLED with different -O switches from Makefile"
[nov-12 66821f4] Experiments with NLED with different -O switches from Makefile
 301 files changed, 69168 insertions(+), 0 deletions(-)
 create mode 100644 nled/O2_c/nled-2.52-mthumb-interwork/Makefile
 create mode 100755 nled/O2_c/nled-2.52-mthumb-interwork/nled
 create mode 100644 nled/O2_c/nled-2.52-mthumb-interwork/nled.c
 create mode 100644 nled/O2_c/nled-2.52-mthumb-interwork/nled.h
 create mode 100644 nled/O2_c/nled-2.52-mthumb-interwork/nled.ico
 create mode 100644 nled/O2_c/nled-2.52-mthumb-interwork/nled.mak
 create mode 100644 nled/O2_c/nled-2.52-mthumb-interwork/nled.nmak
 create mode 100644 nled/O2_c/nled-2.52-mthumb-interwork/nled.o
..
..
.

No comments:

Post a Comment