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

From: Joe Perches
Date: Fri Jul 27 2018 - 16:29:58 EST


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