]> xenbits.xensource.com Git - qemu-xen.git/commit
target/ppc: Merge fsqrt and fsqrts helpers
authorVíctor Colombo <victor.colombo@eldorado.org.br>
Mon, 5 Sep 2022 12:37:46 +0000 (09:37 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 20 Sep 2022 13:54:06 +0000 (10:54 -0300)
commit74177ec661cc3d8553cc645632a9b6fdfe1b85e5
treece48cd746a2d3998fd8a57728f6e2062bd08d2c5
parent4896c15bc36591436f02c3bfc4c828099be2b1f8
target/ppc: Merge fsqrt and fsqrts helpers

These two helpers are almost identical, differing only by the softfloat
operation it calls. Merge them into one using a macro.
Also, take this opportunity to capitalize the helper name as we moved
the instruction to decodetree in a previous patch.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220905123746.54659-4-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/fpu_helper.c
target/ppc/helper.h
target/ppc/translate/fp-impl.c.inc