On Fri, Oct 21, 2022 at 05:30:04PM +1000, Richard Henderson wrote: > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > tests/tcg/s390x/long-double.c | 24 ++++++++++++++++++++++++ > tests/tcg/s390x/Makefile.target | 1 + > 2 files changed, 25 insertions(+) > create mode 100644 tests/tcg/s390x/long-double.c
It might be better to do this in asm in order to be sure that a compiler doesn't perform any magic. But at least as of today gcc generates all the "interesting" instructions from this code. Acked-by: Ilya Leoshkevich <i...@linux.ibm.com>