public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/95973] New: Add __cpuidex
@ 2020-06-29 16:31 hjl.tools at gmail dot com
  2020-07-18 11:53 ` [Bug target/95973] " hjl.tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2020-06-29 16:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95973
           Summary: Add __cpuidex
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com, wwwhhhyyy333 at gmail dot com
  Target Milestone: ---
            Target: i386, x86-64

GCC has

__cpuid_count(leaf,subleaf, a,b,c,d)

MSVS has

void __cpuidex(
   int cpuInfo[4],
   int function_id,
   int subfunction_id
);

MSVS's interface is a little more sensible, passing &  returning an array vs
modifying 4 arguments in an un-C-language-like way.  We should add __cpuidex.

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

end of thread, other threads:[~2020-07-19 12:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 16:31 [Bug target/95973] New: Add __cpuidex hjl.tools at gmail dot com
2020-07-18 11:53 ` [Bug target/95973] " hjl.tools at gmail dot com
2020-07-19 11:21 ` cvs-commit at gcc dot gnu.org
2020-07-19 12:26 ` hjl.tools at gmail dot com

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).