path: root/src/
diff options
authorCarsten Haitzler (Rasterman) <>2016-09-19 08:58:56 +0900
committerCarsten Haitzler (Rasterman) <>2016-09-20 14:53:05 +0900
commit41c332b7263a43132d5373760c88d09bc6e6dc80 (patch)
treeb6f0ded25f670cc70d6b25d9001850b8e5d0bb60 /src/
parent3efdd5df54b3fb26b5aaaf7252865d748411188f (diff)
eina - redo a lot of the static inlines to have better instr cache usage
this moves a lot of logic that is rare away from the linear/flat asm path of code so we et fewer l1 cache misses when executing chuncks of our code. this also reduces the code size and takes some funcs like in eina_inline_lock_posix.x and makes them real functions to reduce code size thus better l1 cache usage - only for new/free of locks. spinlocks, semaphores etc. as these will have no advantage being inlined but simply bloat out code size instead. overall this actually reduces efl lib binary sizes 0.4%, so that's a good sign. this passes make check and i think i got it right... let me know if i didn't. i'm also not sure i should just keep the static inlines and not make the formerly static inline funcs full EAPI ones now... good q.
Diffstat (limited to '')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ b/src/
index b442635ccd..96ff37657f 100644
--- a/src/
+++ b/src/
@@ -136,6 +136,7 @@ lib/eina/eina_inlist.c \
136lib/eina/eina_iterator.c \ 136lib/eina/eina_iterator.c \
137lib/eina/eina_lalloc.c \ 137lib/eina/eina_lalloc.c \
138lib/eina/eina_list.c \ 138lib/eina/eina_list.c \
139lib/eina/eina_lock.c \
139lib/eina/eina_log.c \ 140lib/eina/eina_log.c \
140lib/eina/eina_magic.c \ 141lib/eina/eina_magic.c \
141lib/eina/eina_main.c \ 142lib/eina/eina_main.c \