public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/49363] New: [feature request] multiple target attribute (and runtime dispatching based on cpuid)
@ 2011-06-10 12:13 vincenzo.innocente at cern dot ch
  2011-06-10 12:42 ` [Bug middle-end/49363] " rguenth at gcc dot gnu.org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-06-10 12:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49363

           Summary: [feature request] multiple target attribute (and
                    runtime dispatching based on cpuid)
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vincenzo.innocente@cern.ch


let me come back to the issue of supporting runtime dispatching based on cpuid
at compiler time:
would it be possible to implement a runtime dispatching based on a comma
separated list of targets. for instance something like
 ret_type __attribute__ ((__target__ ("sse2,"avx","fma"))) func(...) { ...}
?
I think many developers are by now using macros, templates and other "magic" to
implement their own dispatching schema. Support from the compiler would be more
than welcome!


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

end of thread, other threads:[~2021-09-18  2:08 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10 12:13 [Bug middle-end/49363] New: [feature request] multiple target attribute (and runtime dispatching based on cpuid) vincenzo.innocente at cern dot ch
2011-06-10 12:42 ` [Bug middle-end/49363] " rguenth at gcc dot gnu.org
2011-06-11  5:59 ` vincenzo.innocente at cern dot ch
2011-06-11  6:24 ` xinliangli at gmail dot com
2011-06-11  7:06 ` vincenzo.innocente at cern dot ch
2011-07-23 13:30 ` vincenzo.innocente at cern dot ch
2011-07-23 17:29 ` xinliangli at gmail dot com
2011-10-28  9:07 ` vincenzo.innocente at cern dot ch
2011-10-28  9:16 ` rguenther at suse dot de
2011-10-28 14:01 ` vincenzo.innocente at cern dot ch
2011-10-28 17:29 ` tmsriram at google dot com
2012-05-07 13:09 ` vincenzo.innocente at cern dot ch
2012-05-07 17:05 ` tmsriram at google dot com
2012-05-07 17:05 ` tmsriram at google dot com
2012-05-08  9:28 ` vincenzo.innocente at cern dot ch
2012-05-08 17:23 ` tmsriram at google dot com
2012-05-09 19:26 ` tmsriram at google dot com
2012-05-10 10:35 ` vincenzo.innocente at cern dot ch
2012-05-10 16:52 ` tmsriram at google dot com
2012-05-10 17:08 ` vincenzo.innocente at cern dot ch
2012-05-10 20:50 ` xinliangli at gmail dot com
2014-05-25 16:13 ` vincenzo.innocente at cern dot ch
2014-05-26  7:51 ` rguenther at suse dot de
2014-05-26  8:17 ` vincenzo.innocente at cern dot ch
2014-05-26  8:22 ` rguenther at suse dot de
2021-09-18  2:08 ` 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).