public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "archicharmer at mail dot ru" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug ports/28872] Building glibc for MIPSel single float targets Date: Fri, 11 Feb 2022 03:54:46 +0000 [thread overview] Message-ID: <bug-28872-131-VFpaDHRPRQ@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-28872-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=28872 --- Comment #12 from Den <archicharmer at mail dot ru> --- (In reply to Adhemerval Zanella from comment #11) > I am not really proposing it, I am in fact trying to understand what gcc > emits in such case. For instance, > [...] > > So I am trying to understand how/when gcc does the double emulation that > replaces > s.d by a two sdc1. I'll write the part of the additions to configures for how binutils and gcc were built. binutils-2.34 . --target=mipsel-unknown-linux-gnu --with-arch=r6000 --with-cpu=r6000 gcc-9.2.0 . --target=mipsel-unknown-linux-gnu --with-arch=r6000 --with-float=hard --with-fpu=single It is not actually gcc emulates s.d as a two sdc1 (swc1 attentionly) (gcc only "rumbles" when it meets an unsupported opcode in asm volatile), I got that conception from this: echo 's.d $f0,($0)' >test.s mipsel-unknown-linux-gnu-as test.s mipsel-unknown-linux-gnu-objdump -d a.out 00000000 <.text>: 0: e4000000 swc1 $f0,0(zero) 4: e4010004 swc1 $f1,4(zero) > Is the segfault due the patch or is it another issue in fact? Well, I could not determine that exactly because I can not build it without the patch. If to build a compiler without fp then everything is working fine and there is no such SegFaults in those places. Actually, no one existing libc can not be built for MIPSel target when there are the single floats only, because there are the same files with same includings to compile. Same structure of files for FPU. > Patch is not acceptable *as-is* I mean the patch itself, the conception in it, is doing wrong. > I think it still possible to fix the > context functions to correctly work on the chip you are using. Well, that is already behind my abilities. The patch was everything I got. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2022-02-11 3:54 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-08 11:27 [Bug ports/28872] New: " archicharmer at mail dot ru 2022-02-08 17:55 ` [Bug ports/28872] " joseph at codesourcery dot com 2022-02-08 19:19 ` archicharmer at mail dot ru 2022-02-08 19:34 ` joseph at codesourcery dot com 2022-02-09 3:41 ` archicharmer at mail dot ru 2022-02-09 14:16 ` adhemerval.zanella at linaro dot org 2022-02-09 17:03 ` archicharmer at mail dot ru 2022-02-09 17:33 ` adhemerval.zanella at linaro dot org 2022-02-10 2:43 ` archicharmer at mail dot ru 2022-02-10 11:25 ` adhemerval.zanella at linaro dot org 2022-02-10 19:45 ` archicharmer at mail dot ru 2022-02-10 20:57 ` adhemerval.zanella at linaro dot org 2022-02-11 3:54 ` archicharmer at mail dot ru [this message] 2022-02-17 17:09 ` archicharmer at mail dot ru 2022-02-18 12:39 ` adhemerval.zanella at linaro dot org 2022-02-19 8:27 ` archicharmer at mail dot ru 2022-02-22 20:05 ` adhemerval.zanella at linaro dot org 2022-02-23 8:06 ` archicharmer at mail dot ru 2022-02-23 11:57 ` adhemerval.zanella at linaro dot org 2022-02-23 11:57 ` adhemerval.zanella at linaro dot org 2022-03-05 17:43 ` archicharmer at mail dot ru 2022-03-07 11:07 ` adhemerval.zanella at linaro dot org 2022-03-07 16:17 ` archicharmer at mail dot ru 2022-03-07 16:59 ` adhemerval.zanella at linaro dot org 2022-03-18 15:01 ` archicharmer at mail dot ru
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=bug-28872-131-VFpaDHRPRQ@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /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: linkBe 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).