public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64
@ 2021-08-27  3:19 syq at debian dot org
  2021-08-27  3:29 ` [Bug target/102089] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: syq at debian dot org @ 2021-08-27  3:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102089
           Summary: MIPS: use N64 ABI by default if the triple end with
                    -gnuabi64
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: syq at debian dot org
  Target Milestone: ---

We use mips64el-linux-gnuabi64 as the triplet for mips64el port on Debian since
2013.

--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2553,16 +2553,30 @@ mips*-*-linux*)                         # Linux MIPS,
either endian.
                        target_cpu_default=MASK_SOFT_FLOAT_ABI
                        enable_mips_multilibs="yes"
                        ;;
+               mipsisa64r6*-*-linux-gnuabi64)
+                       default_mips_abi=64
+                       default_mips_arch=mips64r6
+                       enable_mips_multilibs="yes"
+                       ;;
                mipsisa64r6*-*-linux*)
                        default_mips_abi=n32
                        default_mips_arch=mips64r6
                        enable_mips_multilibs="yes"
                        ;;
+               mipsisa64r2*-*-linux-gnuabi64)
+                       default_mips_abi=64
+                       default_mips_arch=mips64r2
+                       enable_mips_multilibs="yes"
+                       ;;
                mipsisa64r2*-*-linux*)
                        default_mips_abi=n32
                        default_mips_arch=mips64r2
                        enable_mips_multilibs="yes"
                        ;;
+               mips64*-*-linux-gnuabi64 | mipsisa64*-*-linux-gnuabi64)
+                       default_mips_abi=64
+                       enable_mips_multilibs="yes"
+                       ;;
                mips64*-*-linux* | mipsisa64*-*-linux*)
                        default_mips_abi=n32
                        enable_mips_multilibs="yes"

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

* [Bug target/102089] MIPS: use N64 ABI by default if the triple end with -gnuabi64
  2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
@ 2021-08-27  3:29 ` pinskia at gcc dot gnu.org
  2021-08-27  3:34 ` syq at debian dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-27  3:29 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |mips*-*-linux-gnuabi64

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Patches should be sent to gcc-patches@ after reading
https://gcc.gnu.org/contribute.html

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

* [Bug target/102089] MIPS: use N64 ABI by default if the triple end with -gnuabi64
  2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
  2021-08-27  3:29 ` [Bug target/102089] " pinskia at gcc dot gnu.org
@ 2021-08-27  3:34 ` syq at debian dot org
  2021-08-27  4:01 ` syq at debian dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: syq at debian dot org @ 2021-08-27  3:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from YunQiang Su <syq at debian dot org> ---
(In reply to Andrew Pinski from comment #1)
> Patches should be sent to gcc-patches@ after reading
> https://gcc.gnu.org/contribute.html

Yes. the patch will be send just now.

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

* [Bug target/102089] MIPS: use N64 ABI by default if the triple end with -gnuabi64
  2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
  2021-08-27  3:29 ` [Bug target/102089] " pinskia at gcc dot gnu.org
  2021-08-27  3:34 ` syq at debian dot org
@ 2021-08-27  4:01 ` syq at debian dot org
  2021-08-28  7:12 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: syq at debian dot org @ 2021-08-27  4:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from YunQiang Su <syq at debian dot org> ---
https://gcc.gnu.org/pipermail/gcc-patches/2021-August/578240.html

Patch has been sent to gcc-patches.

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

* [Bug target/102089] MIPS: use N64 ABI by default if the triple end with -gnuabi64
  2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
                   ` (2 preceding siblings ...)
  2021-08-27  4:01 ` syq at debian dot org
@ 2021-08-28  7:12 ` cvs-commit at gcc dot gnu.org
  2021-12-15  1:54 ` pinskia at gcc dot gnu.org
  2021-12-15  1:54 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-08-28  7:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:91f78b673b1f8d5bca52b1947206f71c2ffa4f60

commit r12-3196-g91f78b673b1f8d5bca52b1947206f71c2ffa4f60
Author: YunQiang Su <yunqiang.su@cipunited.com>
Date:   Thu Aug 26 23:56:58 2021 -0400

    MIPS: use N64 ABI by default if the triple end with -gnuabi64

    gcc/ChangeLog:

            PR target/102089
            * config.gcc: MIPS: use N64 ABI by default if the triple end
              with -gnuabi64, which is used by Debian since 2013.

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

* [Bug target/102089] MIPS: use N64 ABI by default if the triple end with -gnuabi64
  2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
                   ` (3 preceding siblings ...)
  2021-08-28  7:12 ` cvs-commit at gcc dot gnu.org
@ 2021-12-15  1:54 ` pinskia at gcc dot gnu.org
  2021-12-15  1:54 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-15  1:54 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

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

* [Bug target/102089] MIPS: use N64 ABI by default if the triple end with -gnuabi64
  2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
                   ` (4 preceding siblings ...)
  2021-12-15  1:54 ` pinskia at gcc dot gnu.org
@ 2021-12-15  1:54 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-15  1:54 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |12.0
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2021-12-15  1:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27  3:19 [Bug target/102089] New: MIPS: use N64 ABI by default if the triple end with -gnuabi64 syq at debian dot org
2021-08-27  3:29 ` [Bug target/102089] " pinskia at gcc dot gnu.org
2021-08-27  3:34 ` syq at debian dot org
2021-08-27  4:01 ` syq at debian dot org
2021-08-28  7:12 ` cvs-commit at gcc dot gnu.org
2021-12-15  1:54 ` pinskia at gcc dot gnu.org
2021-12-15  1:54 ` pinskia 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).