public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: caiyinyu <caiyinyu@loongson.cn>
To: adhemerval.zanella@linaro.org, libc-alpha@sourceware.org,
	joseph_myers@mentor.com, carlos@redhat.com, i.swmail@xen0n.name,
	xry111@xry111.site
Cc: xuchenghua@loongson.cn, caiyinyu <caiyinyu@loongson.cn>
Subject: [PATCH 0/1] LoongArch: Add soft float support
Date: Tue, 30 Aug 2022 19:02:03 +0800	[thread overview]
Message-ID: <20220830110204.969133-1-caiyinyu@loongson.cn> (raw)

Tested on LoongArch machine: gcc 12.0.1, Linux kernel 5.19.0 rc5,
binutils 2.39[2] and all passed besides ifunc related tests.

UNSUPPORTED: assert/tst-assert-c++
UNSUPPORTED: assert/tst-assert-g++
UNSUPPORTED: crypt/cert
UNSUPPORTED: debug/tst-fortify-cc-default-1
UNSUPPORTED: debug/tst-fortify-cc-default-2
UNSUPPORTED: debug/tst-fortify-cc-default-3
UNSUPPORTED: debug/tst-fortify-cc-lfs-1
UNSUPPORTED: debug/tst-fortify-cc-lfs-2
UNSUPPORTED: debug/tst-fortify-cc-lfs-3
UNSUPPORTED: debug/tst-fortify-cc-nongnu-1
UNSUPPORTED: debug/tst-fortify-cc-nongnu-2
UNSUPPORTED: debug/tst-fortify-cc-nongnu-3
UNSUPPORTED: dlfcn/bug-atexit3
UNSUPPORTED: elf/tst-env-setuid
UNSUPPORTED: elf/tst-env-setuid-tunables
XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
UNSUPPORTED: elf/tst-valgrind-smoke
UNSUPPORTED: math/test-fesetexcept-traps
UNSUPPORTED: math/test-fexcept-traps
UNSUPPORTED: math/test-nearbyint-except
UNSUPPORTED: math/test-nearbyint-except-2
UNSUPPORTED: misc/tst-adjtimex
UNSUPPORTED: misc/tst-clock_adjtime
UNSUPPORTED: misc/tst-ntp_adjtime
UNSUPPORTED: misc/tst-pkey
UNSUPPORTED: misc/tst-rseq
UNSUPPORTED: misc/tst-rseq-disable
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
UNSUPPORTED: nptl/tst-cancel24
UNSUPPORTED: nptl/tst-cancel24-static
UNSUPPORTED: nptl/tst-minstack-throw
UNSUPPORTED: nptl/tst-once5
UNSUPPORTED: nptl/tst-rseq-nptl
UNSUPPORTED: nptl/tst-thread-exit-clobber
UNSUPPORTED: nptl/tst-thread_local1
UNSUPPORTED: resolv/tst-resolv-ai_idn
UNSUPPORTED: resolv/tst-resolv-ai_idn-latin1
UNSUPPORTED: stdlib/tst-quick_exit
UNSUPPORTED: stdlib/tst-secure-getenv
UNSUPPORTED: stdlib/tst-thread-quick_exit
UNSUPPORTED: time/tst-clock_settime
UNSUPPORTED: time/tst-settimeofday
Summary of test results:
   4466 PASS
     46 UNSUPPORTED
     16 XFAIL
      2 XPASS

caiyinyu (1):
  LoongArch: Add soft float support.

 scripts/build-many-glibcs.py                  |  4 ++
 sysdeps/loongarch/Makefile                    |  8 ---
 sysdeps/loongarch/__longjmp.S                 |  2 +
 sysdeps/loongarch/bits/setjmp.h               |  3 ++
 sysdeps/loongarch/dl-trampoline.S             | 11 +++-
 sysdeps/loongarch/fpu_control.h               | 13 +++++
 sysdeps/loongarch/nofpu/Implies               |  1 +
 .../loongarch/nofpu/math-tests-exceptions.h   | 28 ++++++++++
 sysdeps/loongarch/nofpu/math-tests-rounding.h | 27 ++++++++++
 sysdeps/loongarch/preconfigure                |  1 -
 sysdeps/loongarch/preconfigure.ac             |  1 -
 sysdeps/loongarch/setjmp.S                    |  2 +
 sysdeps/unix/sysv/linux/loongarch/Makefile    |  9 ++++
 sysdeps/unix/sysv/linux/loongarch/configure   | 51 +++++++++++++++++--
 .../unix/sysv/linux/loongarch/configure.ac    | 22 ++++++--
 .../unix/sysv/linux/loongarch/ldd-rewrite.sed |  2 +-
 .../unix/sysv/linux/loongarch/shlib-versions  |  2 +
 17 files changed, 168 insertions(+), 19 deletions(-)
 create mode 100644 sysdeps/loongarch/nofpu/Implies
 create mode 100644 sysdeps/loongarch/nofpu/math-tests-exceptions.h
 create mode 100644 sysdeps/loongarch/nofpu/math-tests-rounding.h

-- 
2.31.1


             reply	other threads:[~2022-08-30 11:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 11:02 caiyinyu [this message]
2022-08-30 11:02 ` [PATCH 1/1] " caiyinyu
2022-08-30 13:00   ` Adhemerval Zanella Netto
2022-08-31 12:00     ` caiyinyu
2022-08-31 12:28       ` Adhemerval Zanella Netto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220830110204.969133-1-caiyinyu@loongson.cn \
    --to=caiyinyu@loongson.cn \
    --cc=adhemerval.zanella@linaro.org \
    --cc=carlos@redhat.com \
    --cc=i.swmail@xen0n.name \
    --cc=joseph_myers@mentor.com \
    --cc=libc-alpha@sourceware.org \
    --cc=xry111@xry111.site \
    --cc=xuchenghua@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).