summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-05-30 14:53:41 +0200
committerkokke <spam@rowdy.dk>2014-05-30 14:53:41 +0200
commitfc708ce6401db7b926f4ba7fb1e58ded02016cbf (patch)
tree56b32267e3dbc8a29d52efea42d9649b403a54b3
parentUpdate aes.c (diff)
downloadtiny-AES-c-fc708ce6401db7b926f4ba7fb1e58ded02016cbf.tar
tiny-AES-c-fc708ce6401db7b926f4ba7fb1e58ded02016cbf.tar.gz
tiny-AES-c-fc708ce6401db7b926f4ba7fb1e58ded02016cbf.tar.bz2
tiny-AES-c-fc708ce6401db7b926f4ba7fb1e58ded02016cbf.tar.lz
tiny-AES-c-fc708ce6401db7b926f4ba7fb1e58ded02016cbf.tar.xz
tiny-AES-c-fc708ce6401db7b926f4ba7fb1e58ded02016cbf.tar.zst
tiny-AES-c-fc708ce6401db7b926f4ba7fb1e58ded02016cbf.zip
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 51acc95..1a8a135 100644
--- a/README.md
+++ b/README.md
@@ -15,9 +15,13 @@ GCC size output when compiled for ARM:
$ size aes.o
text data bss dec hex filename
1079 0 204 1283 503 aes.o
+ $ arm-none-eabi-gcc -O2 -c aes.c -o aes.o
+ $ size aes.o
+ text data bss dec hex filename
+ 1024 0 204 1228 4cc aes.o
-This is using Mentor Graphics ARM GCC port:
+Somehow, -O2 is a bit smaller than -Os with this compiler. I am using Mentor Graphics ARM toolchain:
$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.3 20131129 (release) [ARM/embedded-4_8-branch revision 205641]