Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Tiny AES C
Commits
fc708ce6
Commit
fc708ce6
authored
May 30, 2014
by
kokke
Browse files
Update README.md
parent
f063d2a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
fc708ce6
...
@@ -15,9 +15,13 @@ GCC size output when compiled for ARM:
...
@@ -15,9 +15,13 @@ GCC size output when compiled for ARM:
$ size aes.o
$ size aes.o
text data bss dec hex filename
text data bss dec hex filename
1079 0 204 1283 503 aes.o
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 --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.3 20131129 (release) [ARM/embedded-4_8-branch revision 205641]
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.3 20131129 (release) [ARM/embedded-4_8-branch revision 205641]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment