From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 3/5] sh_eth: call sh_eth_tsu_get_offset() from TSU register accessors Date: Tue, 24 Jul 2018 08:49:00 +0200 Message-ID: References: <24093fd0-1b9b-a211-f988-0272483185d6@cogentembedded.com> <6a15eddc-a30d-a4e8-aa0d-05ee2091e32a@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: netdev , "David S. Miller" , Linux-Renesas To: Sergei Shtylyov Return-path: Received: from mail-vk0-f66.google.com ([209.85.213.66]:42978 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388319AbeGXHyI (ORCPT ); Tue, 24 Jul 2018 03:54:08 -0400 In-Reply-To: <6a15eddc-a30d-a4e8-aa0d-05ee2091e32a@cogentembedded.com> Sender: netdev-owner@vger.kernel.org List-ID: Hi Sergei, On Mon, Jul 23, 2018 at 8:13 PM Sergei Shtylyov wrote: > With sh_eth_tsu_get_offset() now actually returning TSU register's offset, > we can at last use it in sh_eth_tsu_{read|write}(). Somehow this saves 248 > bytes of object code with AArch64 gcc 4.8.5... :-) Adding two more users may be the trigger for gcc not to inline the function anymore? > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds