public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/102264] New: Macro Intrinsics fail to use all the registers on the machine
@ 2021-09-09 20:43 ntukanov at cmu dot edu
  2021-09-09 21:12 ` [Bug inline-asm/102264] " pinskia at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: ntukanov at cmu dot edu @ 2021-09-09 20:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102264
           Summary: Macro Intrinsics fail to use all the registers on the
                    machine
           Product: gcc
           Version: 9.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ntukanov at cmu dot edu
  Target Milestone: ---

I am trying to use custom intrinsics in order to have more control over the
assembly that the compiler is generating. The concept of these custom
intrinsics comes from http://users.ece.cmu.edu/~franzf/papers/wpmvp16.pdf.

For performance reasons, my code requires me to use all the available SIMD
registers on the machine, but when I use my custom intrinsics, I am only
getting half of the SIMD registers which leads to register spilling.

This is the code and generated assembly in question:
https://godbolt.org/z/fqn53G9qT

Any help would be greatly appericated.

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

end of thread, other threads:[~2024-03-22 14:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 20:43 [Bug inline-asm/102264] New: Macro Intrinsics fail to use all the registers on the machine ntukanov at cmu dot edu
2021-09-09 21:12 ` [Bug inline-asm/102264] " pinskia at gcc dot gnu.org
2021-09-10  3:27 ` ntukanov at cmu dot edu
2021-09-10  7:49 ` [Bug target/102264] " rguenth at gcc dot gnu.org
2021-09-10  8:24 ` pinskia at gcc dot gnu.org
2021-09-10  8:42 ` [Bug target/102264] [9/10/11/12 Regression] extra spilling when using inline-asm and all registers pinskia at gcc dot gnu.org
2021-09-19 23:17 ` pinskia at gcc dot gnu.org
2022-01-20 10:14 ` rguenth at gcc dot gnu.org
2022-03-23  8:42 ` rguenth at gcc dot gnu.org
2022-05-27  9:46 ` [Bug target/102264] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:46 ` jakub at gcc dot gnu.org
2023-07-07 10:40 ` [Bug target/102264] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-03-10  3:20 ` law at gcc dot gnu.org
2024-03-22 14:08 ` law 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).