Thread (10 messages) 10 messages, 4 authors, 2018-07-27

Re: [PATCH net-next] net: ethernet: ti: cpsw: replace unnecessarily macroses on functions

From: Joe Perches <joe@perches.com>
Date: 2018-07-27 20:29:58
Also in: linux-omap, lkml

On Fri, 2018-07-27 at 23:23 +0300, Ivan Khoronzhuk wrote:
For ARM, situation a little bit different:
$ arm-linux-gnueabihf-gcc -c -O2 -DSWITCH foo.c
$ size foo.o
   text	   data	    bss	    dec	    hex	filename
     32	      0	      0	     32	     20	foo.o
[]
$ arm-linux-gnueabihf-gcc -c -O2 foo.c
$ size foo.o
   text	   data	    bss	    dec	    hex	filename
     28	      0	      0	     28	     1c	foo.o
[]
So, it's shorter.
No worries.

I was kinda surprised the object code wasn't identical anyway.

cheers, Joe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help