public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/114513] [11/12/13/14 Regression]  [aarch64] floating-point registers are used when GPRs are preferred
Date: Thu, 28 Mar 2024 21:55:36 +0000	[thread overview]
Message-ID: <bug-114513-4-A1FUVOyvv0@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-114513-4@http.gcc.gnu.org/bugzilla/>

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.5.0
             Status|UNCONFIRMED                 |NEW
      Known to fail|                            |9.3.0
   Target Milestone|---                         |11.5
     Ever confirmed|0                           |1
            Summary|[aarch64] floating-point    |[11/12/13/14 Regression]
                   |registers are used when     |[aarch64] floating-point
                   |GPRs are preferred          |registers are used when
                   |                            |GPRs are preferred
   Last reconfirmed|                            |2024-03-28

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So we have:
```
;; Equal width integer to fp conversion.
(define_insn "<optab><fcvt_target><GPF:mode>2"
  [(set (match_operand:GPF 0 "register_operand")
        (FLOATUORS:GPF (match_operand:<FCVT_TARGET> 1 "register_operand")))]
  "TARGET_FLOAT"
  {@ [ cons: =0 , 1  ; attrs: type             , arch  ]
     [ w        , w  ; neon_int_to_fp_<Vetype> , simd  ]
<su_optab>cvtf\t%<GPF:s>0, %<s>1
     [ w        , ?r ; f_cvti2f                , fp    ]
<su_optab>cvtf\t%<GPF:s>0, %<w1>1
  }
)

```

Notice the ? in there for r.

Reading https://gcc.gnu.org/onlinedocs/gccint/Multi-Alternative.html maybe this
should be ^ instead of ?.

^ is new as of GCC 5

  parent reply	other threads:[~2024-03-28 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28  9:10 [Bug rtl-optimization/114513] New: " dizhao at os dot amperecomputing.com
2024-03-28  9:17 ` [Bug rtl-optimization/114513] " dizhao at os dot amperecomputing.com
2024-03-28 21:55 ` pinskia at gcc dot gnu.org [this message]
2024-03-28 22:01 ` [Bug target/114513] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
2024-03-29 23:47 ` law at gcc dot gnu.org
2024-04-18 10:51 ` tnfchris at gcc dot gnu.org

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-114513-4-A1FUVOyvv0@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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: 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).