public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/98996] New: mips64 ada ftbfs
@ 2021-02-08  2:42 syq at debian dot org
  2021-02-13 13:03 ` [Bug ada/98996] " syq at debian dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: syq at debian dot org @ 2021-02-08  2:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996

            Bug ID: 98996
           Summary: mips64 ada ftbfs
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: syq at debian dot org
  Target Milestone: ---

/usr/bin/mips64el-linux-gnuabi64-ld: a-nbnbin.o: in function
`ada__numerics__big_numbers__big_integers__from_string':
s-genbig.adb:(.text+0x6778): undefined reference to
`system__val_llli__impl__value_integer'
/usr/bin/mips64el-linux-gnuabi64-ld: s-genbig.adb:(.text+0x6780): undefined
reference to `system__val_llli__impl__value_integer'


https://buildd.debian.org/status/fetch.php?pkg=gcc-11&arch=mips64el&ver=11-20210130-1&stamp=1612321109&raw=0



With add $(GNATRTL_128BIT_PAIRS) and $(GNATRTL_128BIT_OBJS), the problem is
now:

s-pack96.adb: In function 'System.Pack_96.Getu_96':
s-pack96.adb:170:8: error: unrecognizable insn:
(insn 377 376 378 16 (set (reg:DI 499)
        (unspec:DI [
                (mem:BLK (plus:DI (reg/f:DI 216 [ _65 ])
                        (const_int 8 [0x8])) [0 +8 S4 A8])
                (mem:QI (plus:DI (reg/f:DI 216 [ _65 ])
                        (const_int 11 [0xb])) [0 +11 S1 A8])
            ] UNSPEC_LOAD_LEFT)) "s-pack96.adb":160:23 -1
     (nil))
during RTL pass: vregs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/98996] mips64 ada ftbfs
  2021-02-08  2:42 [Bug ada/98996] New: mips64 ada ftbfs syq at debian dot org
@ 2021-02-13 13:03 ` syq at debian dot org
  2021-02-14  0:32 ` syq at debian dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: syq at debian dot org @ 2021-02-13 13:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996

--- Comment #1 from YunQiang Su <syq at debian dot org> ---
96=64+32, so the rtl should be a ldl/ldr  + lwl/lwr


It should be:

(insn 377 376 378 16 (set (reg:SI 499)
        (unspec:SI [
                (mem:BLK (plus:DI (reg/f:DI 216 [ _65 ])
                        (const_int 8 [0x8])) [0 +8 S4 A8])
                (mem:QI (plus:DI (reg/f:DI 216 [ _65 ])
                        (const_int 11 [0xb])) [0 +11 S1 A8])
            ] UNSPEC_LOAD_LEFT)) "s-pack96.adb":160:23 -1
     (nil))

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/98996] mips64 ada ftbfs
  2021-02-08  2:42 [Bug ada/98996] New: mips64 ada ftbfs syq at debian dot org
  2021-02-13 13:03 ` [Bug ada/98996] " syq at debian dot org
@ 2021-02-14  0:32 ` syq at debian dot org
  2021-02-16  8:18 ` [Bug ada/98996] [11 Regression] " doko at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: syq at debian dot org @ 2021-02-14  0:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996

--- Comment #2 from YunQiang Su <syq at debian dot org> ---
Created attachment 50180
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50180&action=edit
it generates subreg instead of reg

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/98996] [11 Regression] mips64 ada ftbfs
  2021-02-08  2:42 [Bug ada/98996] New: mips64 ada ftbfs syq at debian dot org
  2021-02-13 13:03 ` [Bug ada/98996] " syq at debian dot org
  2021-02-14  0:32 ` syq at debian dot org
@ 2021-02-16  8:18 ` doko at gcc dot gnu.org
  2021-02-23 12:06 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: doko at gcc dot gnu.org @ 2021-02-16  8:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996

--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> ---
patches posted at
https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565312.html
https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565313.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/98996] [11 Regression] mips64 ada ftbfs
  2021-02-08  2:42 [Bug ada/98996] New: mips64 ada ftbfs syq at debian dot org
                   ` (2 preceding siblings ...)
  2021-02-16  8:18 ` [Bug ada/98996] [11 Regression] " doko at gcc dot gnu.org
@ 2021-02-23 12:06 ` rguenth at gcc dot gnu.org
  2021-02-26  2:56 ` cvs-commit at gcc dot gnu.org
  2021-02-26 12:53 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-23 12:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/98996] [11 Regression] mips64 ada ftbfs
  2021-02-08  2:42 [Bug ada/98996] New: mips64 ada ftbfs syq at debian dot org
                   ` (3 preceding siblings ...)
  2021-02-23 12:06 ` rguenth at gcc dot gnu.org
@ 2021-02-26  2:56 ` cvs-commit at gcc dot gnu.org
  2021-02-26 12:53 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-02-26  2:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <law@gcc.gnu.org>:

https://gcc.gnu.org/g:9967bbfceddce755b18bdbecc6d0c56e994a05cc

commit r11-7413-g9967bbfceddce755b18bdbecc6d0c56e994a05cc
Author: YunQiang Su <yunqiang.su@cipunited.com>
Date:   Thu Feb 25 19:55:10 2021 -0700

    [PATCH v4 1/2] MIPS: unaligned load: use SImode for SUBREG if OK (PR98996)
[PATCH v4 2/2] ada: add 128bit operation for MIPS N32 and N64

    gcc/ChangeLog:

            PR target/98996
            * config/mips/mips.c (mips_expand_ext_as_unaligned_load):
            If TARGET_64BIT and dest is SUBREG, we check the width, if it
            equal to SImode, we use SImode operation, just like what we are
            doing for REG one.

    gcc/ada/ChangeLog:

            PR ada/98996
            * Makefile.rtl: <mips*-*-linux*>
            add 128Bit operation file for MIPS N64 and N32 to
            LIBGNAT_TARGET_PAIRS and EXTRA_GNATRTL_NONTASKING_OBJS

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/98996] [11 Regression] mips64 ada ftbfs
  2021-02-08  2:42 [Bug ada/98996] New: mips64 ada ftbfs syq at debian dot org
                   ` (4 preceding siblings ...)
  2021-02-26  2:56 ` cvs-commit at gcc dot gnu.org
@ 2021-02-26 12:53 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-26 12:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed I hope.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-26 12:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08  2:42 [Bug ada/98996] New: mips64 ada ftbfs syq at debian dot org
2021-02-13 13:03 ` [Bug ada/98996] " syq at debian dot org
2021-02-14  0:32 ` syq at debian dot org
2021-02-16  8:18 ` [Bug ada/98996] [11 Regression] " doko at gcc dot gnu.org
2021-02-23 12:06 ` rguenth at gcc dot gnu.org
2021-02-26  2:56 ` cvs-commit at gcc dot gnu.org
2021-02-26 12:53 ` rguenth at gcc dot gnu.org

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).