public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/95216] New: Extra space in __builtin_ia32_vec_pack_sfix256 definition
@ 2020-05-19 16:46 andrey.vihrov at gmail dot com
  2020-05-19 17:11 ` [Bug target/95216] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: andrey.vihrov at gmail dot com @ 2020-05-19 16:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95216
           Summary: Extra space in __builtin_ia32_vec_pack_sfix256
                    definition
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andrey.vihrov at gmail dot com
  Target Milestone: ---

See
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/i386/i386-builtin.def;h=fa123788a8e49a023ea17c69f7cd56ecd3acca47#l1105:

  BDESC (OPTION_MASK_ISA_AVX, 0, CODE_FOR_vec_pack_sfix_v4df,
"__builtin_ia32_vec_pack_sfix256 ", IX86_BUILTIN_VEC_PACK_SFIX256, UNKNOWN,
(int) V8SI_FTYPE_V4DF_V4DF)

There is an extraneous space in the builtin name. Indeed,

  echo '__has_builtin(__builtin_ia32_vec_pack_sfix256)' | cpp -mavx

prints "0".


gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl
--with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit
--enable-cet=auto --enable-checking=release --enable-clocale=gnu
--enable-default-pie --enable-default-ssp --enable-gnu-indirect-function
--enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id
--enable-lto --enable-multilib --enable-plugin --enable-shared
--enable-threads=posix --disable-libssp --disable-libstdcxx-pch
--disable-libunwind-exceptions --disable-werror
gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.1.0 (GCC)

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

* [Bug target/95216] Extra space in __builtin_ia32_vec_pack_sfix256 definition
  2020-05-19 16:46 [Bug target/95216] New: Extra space in __builtin_ia32_vec_pack_sfix256 definition andrey.vihrov at gmail dot com
@ 2020-05-19 17:11 ` jakub at gcc dot gnu.org
  2020-05-19 17:19 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-05-19 17:11 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I believe that may be intentional, we use spaces or similar chars to avoid them
user accessible.  More recently we use internal functions, but internal
functions aren't target specific.

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

* [Bug target/95216] Extra space in __builtin_ia32_vec_pack_sfix256 definition
  2020-05-19 16:46 [Bug target/95216] New: Extra space in __builtin_ia32_vec_pack_sfix256 definition andrey.vihrov at gmail dot com
  2020-05-19 17:11 ` [Bug target/95216] " jakub at gcc dot gnu.org
@ 2020-05-19 17:19 ` jakub at gcc dot gnu.org
  2020-05-19 17:21 ` pinskia at gcc dot gnu.org
  2020-05-19 17:50 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-05-19 17:19 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah, it is intentional.
https://gcc.gnu.org/legacy-ml/gcc-patches/2011-11/msg01027.html

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

* [Bug target/95216] Extra space in __builtin_ia32_vec_pack_sfix256 definition
  2020-05-19 16:46 [Bug target/95216] New: Extra space in __builtin_ia32_vec_pack_sfix256 definition andrey.vihrov at gmail dot com
  2020-05-19 17:11 ` [Bug target/95216] " jakub at gcc dot gnu.org
  2020-05-19 17:19 ` jakub at gcc dot gnu.org
@ 2020-05-19 17:21 ` pinskia at gcc dot gnu.org
  2020-05-19 17:50 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-05-19 17:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is an internal only builtin which is created only via the vectorizer.

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

* [Bug target/95216] Extra space in __builtin_ia32_vec_pack_sfix256 definition
  2020-05-19 16:46 [Bug target/95216] New: Extra space in __builtin_ia32_vec_pack_sfix256 definition andrey.vihrov at gmail dot com
                   ` (2 preceding siblings ...)
  2020-05-19 17:21 ` pinskia at gcc dot gnu.org
@ 2020-05-19 17:50 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-05-19 17:50 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

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

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

end of thread, other threads:[~2020-05-19 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 16:46 [Bug target/95216] New: Extra space in __builtin_ia32_vec_pack_sfix256 definition andrey.vihrov at gmail dot com
2020-05-19 17:11 ` [Bug target/95216] " jakub at gcc dot gnu.org
2020-05-19 17:19 ` jakub at gcc dot gnu.org
2020-05-19 17:21 ` pinskia at gcc dot gnu.org
2020-05-19 17:50 ` 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).