public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/102230] ICE in classify_argument, at config/i386/i386.c:2474
Date: Tue, 28 Sep 2021 08:40:09 +0000	[thread overview]
Message-ID: <bug-102230-4-0OFiu2DRGV@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102230-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hongyu Wang <hongyuw@gcc.gnu.org>:

https://gcc.gnu.org/g:eea10afef71e1947e3a3fde2a44839054ab91967

commit r12-3914-geea10afef71e1947e3a3fde2a44839054ab91967
Author: Hongyu Wang <hongyu.wang@intel.com>
Date:   Thu Jul 15 13:31:24 2021 +0800

    AVX512FP16: Support basic 64/32bit vector type and operation.

    For 32bit target, V4HF vector is parsed same as __m64 type, V2HF
    is parsed by stack and returned from GPR since it is not specified
    by ABI.

    gcc/ChangeLog:

            PR target/102230
            * config/i386/i386.h (VALID_AVX512FP16_REG_MODE): Add
            V2HF mode check.
            (VALID_SSE2_REG_VHF_MODE): Add V4HFmode and V2HFmode.
            (VALID_MMX_REG_MODE): Add V4HFmode.
            (SSE_REG_MODE_P): Replace VALID_AVX512FP16_REG_MODE with
            vector mode condition.
            * config/i386/i386.c (classify_argument): Parse V4HF/V2HF
            via sse regs.
            (function_arg_32): Add V4HFmode.
            (function_arg_advance_32): Likewise.
            * config/i386/i386.md (mode): Add V4HF/V2HF.
            (MODE_SIZE): Likewise.
            * config/i386/mmx.md (MMXMODE): Add V4HF mode.
            (V_32): Add V2HF mode.
            (VHF_32_64): New mode iterator.
            (*mov<mode>_internal): Adjust sse alternatives to support
            V4HF mode move.
            (*mov<mode>_internal): Adjust sse alternatives to support
            V2HF mode move.
            (<insn><mode>3): New define_insn for add/sub/mul/div.

    gcc/testsuite/ChangeLog:

            PR target/102230
            * gcc.target/i386/avx512fp16-floatvnhf.c: Remove xfail.
            * gcc.target/i386/avx512fp16-trunc-extendvnhf.c: Ditto.
            * gcc.target/i386/avx512fp16-truncvnhf.c: Ditto.
            * gcc.target/i386/avx512fp16-64-32-vecop-1.c: New test.
            * gcc.target/i386/avx512fp16-64-32-vecop-2.c: Ditto.
            * gcc.target/i386/pr102230.c: Ditto.

  parent reply	other threads:[~2021-09-28  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07 14:58 [Bug target/102230] New: " asolokha at gmx dot com
2021-09-08  0:47 ` [Bug target/102230] " crazylht at gmail dot com
2021-09-08  2:47 ` crazylht at gmail dot com
2021-09-28  8:40 ` cvs-commit at gcc dot gnu.org [this message]
2021-10-07  1:15 ` hjl.tools at gmail dot com

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-102230-4-0OFiu2DRGV@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).