Download Pelles C here: http://www.pellesc.se
Quote from: Pelle on March 15, 2026, 06:39:56 PMSee https://www.pellesc.se/, Download and Changes.
Of course that neglects about 1 billion device in phones . . . .ModLoad: 00000001`3f7c0000 00000001`3fb5c000 poide.exe
...
ModLoad: 000007fe`e2bc0000 000007fe`e2bec000 C:\code\PellesC14rc1\Bin\Wizards64\wininst.dll
(8964.84dc): Illegal instruction - code c000001d (first chance)
(8964.84dc): Unknown exception - code c000041d (!!! second chance !!!)
*** WARNING: Unable to verify checksum for poide.exe
*** ERROR: Symbol file could not be found. Defaulted to export symbols for poide.exe -
poide!WizScanForDependenciesA+0xe2846:
00000001`3f293d46 660f38f1442430 movbe word ptr [rsp+30h],ax ss:00000000`009eebd0=0000
ModLoad: 00000001`3f8f0000 00000001`3f935000 image00000001`3f8f0000
...
(8958.8a30): Illegal instruction - code c000001d (first chance)
(8958.8a30): Illegal instruction - code c000001d (!!! second chance !!!)
*** WARNING: Unable to verify checksum for image00000001`3f8f0000
*** ERROR: Module load completed but symbols could not be loaded for image00000001`3f8f0000
image00000001_3f8f0000+0x1984:
00000001`3f8f1984 0f38f14608 movbe dword ptr [rsi+8],eax ds:00000000`00222220=baadf00d
polib failBuilding zlib.lib.
POLIB: fatal error: An internal error occurred.
#include <intrin.h>
void __cdecl exit(int status);
int printf(const char * restrict format, ...);
#pragma comment(lib, "msvcrt.lib")
//#pragma comment(linker,"/subsystem:console,5.1")
void __cdecl mainCRTStartup(void)
{
int __cdecl main(void);
void __cdecl exit(int status);
exit(main());
}
// CPUID.(EAX=01H, ECX=0H):ECX.MOVBE[bit 22]
// EAX, EBX, ECX and EDX
// 0, 1, 2, 3
int GetCPUFeature(void)
{
int r[4]; // EAX, EBX, ECX and EDX
int rc = 0;
_cpuid(r, 0); // Highest Function Parameter and Manufacturer ID
if (r[0] != 0x500) { //
_cpuid(r, 1); // Processor Info and Feature Bits
rc = _bittest((const long int *)&r[2], 22);
}
return rc;
}
int main(void)
{
printf("CPU options: %d\n", GetCPUFeature());
exit(0);
}
#include <stdio.h>
#include <stdbit.h>
int main() {
unsigned short a1 = 4;
unsigned int a2 = 4;
printf("a1 one:%u a1 zero:%u\n", stdc_first_leading_one(a1), stdc_first_leading_zero(a1));
printf("a2 one:%u a2 zero:%u\n", stdc_first_leading_one(a2), stdc_first_leading_zero(a2));
return 0;
}
gcc 11.4 -std=c23Page created in 0.041 seconds with 15 queries.