public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/100099] New: Compilation speed of #include<immintrin.h> is too slow. Just include the header takes 0.342 seconds
@ 2021-04-15 12:51 unlvsur at live dot com
  2021-04-15 13:03 ` [Bug preprocessor/100099] " jakub at gcc dot gnu.org
  2021-04-15 17:59 ` [Bug target/100099] " pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: unlvsur at live dot com @ 2021-04-15 12:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100099
           Summary: Compilation speed of #include<immintrin.h> is too
                    slow. Just include the header takes 0.342 seconds
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

Compilation speed of #include<immintrin.h> is too slow.

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

* [Bug preprocessor/100099] Compilation speed of #include<immintrin.h> is too slow. Just include the header takes 0.342 seconds
  2021-04-15 12:51 [Bug preprocessor/100099] New: Compilation speed of #include<immintrin.h> is too slow. Just include the header takes 0.342 seconds unlvsur at live dot com
@ 2021-04-15 13:03 ` jakub at gcc dot gnu.org
  2021-04-15 17:59 ` [Bug target/100099] " pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-15 13:03 UTC (permalink / raw)
  To: gcc-bugs

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

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> ---
And what do you expect?  That means including over 1.5MB of preprocessed
source, with over 5500 inline functions.

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

* [Bug target/100099] Compilation speed of #include<immintrin.h> is too slow. Just include the header takes 0.342 seconds
  2021-04-15 12:51 [Bug preprocessor/100099] New: Compilation speed of #include<immintrin.h> is too slow. Just include the header takes 0.342 seconds unlvsur at live dot com
  2021-04-15 13:03 ` [Bug preprocessor/100099] " jakub at gcc dot gnu.org
@ 2021-04-15 17:59 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-04-15 17:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|                            |compile-time-hog
          Component|preprocessor                |target
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-04-15
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
One thing which could be done is similar to what AARCH64 did for SVE/SVE2
builtins and just implement the majority of the intrinsics in the front-end.

The aarch64 target does this in the user include header:
#pragma GCC aarch64 "arm_sve.h"
Which just interjects the intrinsics as builtins at that point.

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

end of thread, other threads:[~2021-04-15 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 12:51 [Bug preprocessor/100099] New: Compilation speed of #include<immintrin.h> is too slow. Just include the header takes 0.342 seconds unlvsur at live dot com
2021-04-15 13:03 ` [Bug preprocessor/100099] " jakub at gcc dot gnu.org
2021-04-15 17:59 ` [Bug target/100099] " 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).