From fc708ce6401db7b926f4ba7fb1e58ded02016cbf Mon Sep 17 00:00:00 2001 From: kokke Date: Fri, 30 May 2014 14:53:41 +0200 Subject: Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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] -- cgit v1.2.3