Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/image/test/reftest/bmp/bmpsuite/g/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 24 kB image not shown  

Quellcode-Bibliothek cpuid.h

  Sprache: C
 

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef PERF_CPUID_H
#define PERF_CPUID_H 1


static inline void
cpuid(unsigned int op, unsigned int op2, unsigned int *a, unsigned int *b,
 unsigned int *c, unsigned int *d)
{
 /*
 * Preserve %ebx/%rbx register by either placing it in %rdi or saving it
 * on the stack - x86-64 needs to avoid the stack red zone. In PIC
 * compilations %ebx contains the address of the global offset
 * table. %rbx is occasionally used to address stack variables in
 * presence of dynamic allocas.
 */

 asm(
#if defined(__x86_64__)
  "mov %%rbx, %%rdi\n"
  "cpuid\n"
  "xchg %%rdi, %%rbx\n"
#else
  "pushl %%ebx\n"
  "cpuid\n"
  "movl %%ebx, %%edi\n"
  "popl %%ebx\n"
#endif
  : "=a"(*a), "=D"(*b), "=c"(*c), "=d"(*d)
  : "a"(op), "2"(op2));
}

void get_cpuid_0(char *vendor, unsigned int *lvl);

#endif

Messung V0.5 in Prozent
C=93 H=93 G=92

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.15Bemerkung:  (vorverarbeitet am  2026-04-25) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.