public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106095] New: Some AVX builtins produce invalid asm with -masm=intel
@ 2022-06-26 22:18 bouanto at zoho dot com
  2022-06-28  1:28 ` [Bug target/106095] " bouanto at zoho dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bouanto at zoho dot com @ 2022-06-26 22:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106095
           Summary: Some AVX builtins produce invalid asm with -masm=intel
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bouanto at zoho dot com
  Target Milestone: ---

Some builtins don't produce valid asm when using the flag `-masm=intel`:

 * __builtin_ia32_pmovdw128mem_mask
 * __builtin_ia32_cvtss2sd_mask_round
 * __builtin_ia32_cvtsd2ss_mask_round
 * __builtin_ia32_pmovqw256mem_mask
 * __builtin_ia32_pmovqw128mem_mask

I'll soon post a patch fixing this issue.

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

* [Bug target/106095] Some AVX builtins produce invalid asm with -masm=intel
  2022-06-26 22:18 [Bug target/106095] New: Some AVX builtins produce invalid asm with -masm=intel bouanto at zoho dot com
@ 2022-06-28  1:28 ` bouanto at zoho dot com
  2022-06-30  0:34 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bouanto at zoho dot com @ 2022-06-28  1:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Antoni <bouanto at zoho dot com> ---
Created attachment 53212
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53212&action=edit
patch fixing the bug

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

* [Bug target/106095] Some AVX builtins produce invalid asm with -masm=intel
  2022-06-26 22:18 [Bug target/106095] New: Some AVX builtins produce invalid asm with -masm=intel bouanto at zoho dot com
  2022-06-28  1:28 ` [Bug target/106095] " bouanto at zoho dot com
@ 2022-06-30  0:34 ` cvs-commit at gcc dot gnu.org
  2022-06-30  0:42 ` bouanto at zoho dot com
  2022-10-23  0:17 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-06-30  0:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Antoni Boucher <antoyo@gcc.gnu.org>:

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

commit r13-1355-ge484755aecd543b4c9e2adb4f348118c1e43cfd0
Author: Antoni Boucher <bouanto@zoho.com>
Date:   Sun Jun 26 18:49:15 2022 -0400

    target: Fix asm generation for AVX builtins when using -masm=intel
[PR106095]

    gcc/ChangeLog:
            PR target/106095
            * config/i386/sse.md: Fix asm generation.

    gcc/testsuite/ChangeLog:
            PR target/106095
            * gcc.target/i386/pr106095.c: Add test using those AVX builtins.

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

* [Bug target/106095] Some AVX builtins produce invalid asm with -masm=intel
  2022-06-26 22:18 [Bug target/106095] New: Some AVX builtins produce invalid asm with -masm=intel bouanto at zoho dot com
  2022-06-28  1:28 ` [Bug target/106095] " bouanto at zoho dot com
  2022-06-30  0:34 ` cvs-commit at gcc dot gnu.org
@ 2022-06-30  0:42 ` bouanto at zoho dot com
  2022-10-23  0:17 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: bouanto at zoho dot com @ 2022-06-30  0:42 UTC (permalink / raw)
  To: gcc-bugs

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

Antoni <bouanto at zoho dot com> changed:

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

--- Comment #3 from Antoni <bouanto at zoho dot com> ---
Fixed in master.

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

* [Bug target/106095] Some AVX builtins produce invalid asm with -masm=intel
  2022-06-26 22:18 [Bug target/106095] New: Some AVX builtins produce invalid asm with -masm=intel bouanto at zoho dot com
                   ` (2 preceding siblings ...)
  2022-06-30  0:42 ` bouanto at zoho dot com
@ 2022-10-23  0:17 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-23  0:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0

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

end of thread, other threads:[~2022-10-23  0:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26 22:18 [Bug target/106095] New: Some AVX builtins produce invalid asm with -masm=intel bouanto at zoho dot com
2022-06-28  1:28 ` [Bug target/106095] " bouanto at zoho dot com
2022-06-30  0:34 ` cvs-commit at gcc dot gnu.org
2022-06-30  0:42 ` bouanto at zoho dot com
2022-10-23  0:17 ` 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).