qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 22/48] tcg: Split tcg_gen_callN


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 22/48] tcg: Split tcg_gen_callN
Date: Fri, 2 Jun 2023 23:19:49 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 31/5/23 06:03, Richard Henderson wrote:
Make tcg_gen_callN a static function.  Create tcg_gen_call[0-7]
functions for use by helper-gen.h.inc.

Removes a multiplicty of calls to __stack_chk_fail, saving up
to 143kiB of .text space as measured on an x86_64 host.

     Old     New Less    %Change
8888680 8741816 146864  1.65%   qemu-system-aarch64
5911832 5856152 55680   0.94%   qemu-system-riscv64
5816728 5767512 49216   0.85%   qemu-system-mips64
6707832 6659144 48688   0.73%   qemu-system-ppc64

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  include/exec/helper-gen.h | 40 ++++++++++++++---------------
  include/tcg/tcg.h         | 14 +++++++++-
  tcg/tcg.c                 | 54 ++++++++++++++++++++++++++++++++++++++-
  3 files changed, 86 insertions(+), 22 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]