Displaying 5 results from an estimated 5 matches for "0x6c65746e".
2017 Feb 14
2
Flac build issue in debug win x32
...d the else is compiled if there
is no dead code stripping
if (FLAC__HAS_X86INTRIN) {
FLAC__cpu_info_x86(0, &flags_eax, &flags_ebx, &flags_ecx,
&flags_edx);
info->ia32.intel = (flags_ebx == 0x756E6547 && flags_edx ==
0x49656E69 && flags_ecx == 0x6C65746E) ? true : false; /* GenuineIntel */
FLAC__cpu_info_x86(1, &flags_eax, &flags_ebx, &flags_ecx,
&flags_edx);
}
else {
FLAC__cpu_info_asm_ia32(&flags_edx, &flags_ecx);
}
Maybe it should be an ifdef instead of an if ?
Thanks !
--
Olivier Tr...
2017 Feb 20
0
Flac build issue in debug win x32
...> is no dead code stripping
>
> if (FLAC__HAS_X86INTRIN) {
> FLAC__cpu_info_x86(0, &flags_eax, &flags_ebx, &flags_ecx,
> &flags_edx);
> info->ia32.intel = (flags_ebx == 0x756E6547 && flags_edx ==
> 0x49656E69 && flags_ecx == 0x6C65746E) ? true : false; /* GenuineIntel */
> FLAC__cpu_info_x86(1, &flags_eax, &flags_ebx, &flags_ecx,
> &flags_edx);
> }
> else {
> FLAC__cpu_info_asm_ia32(&flags_edx, &flags_ecx);
> }
>
>
> Maybe it should be an ifdef instea...
2005 Mar 23
3
[PATCH] promised MMX patches rc1
...=r" (eax),
+ "=r" (ebx)
+ :
+ : "cc");
+
+ if (eax == ebx) /* no cpuid */
+ return 0;
+
+ cpuid(0, eax, ebx, ecx, edx);
+
+ if (ebx == 0x756e6547 &&
+ edx == 0x49656e69 &&
+ ecx == 0x6c65746e) {
+ /* intel */
+
+ inteltest:
+ cpuid(1, eax, ebx, ecx, edx);
+ if ((edx & 0x00800000) == 0)
+ return 0;
+ flags = CPU_X86_MMX;
+ if (edx & 0x02000000)
+ flags |= CPU_X86_MMXEXT | CPU_X86_SSE;
+ if (edx & 0x04000000)
+ flags |= CPU_X86_SSE2;
+ retu...
2005 Mar 23
0
[PATCH]
...=r" (eax),
+ "=r" (ebx)
+ :
+ : "cc");
+
+ if (eax == ebx) /* no cpuid */
+ return 0;
+
+ cpuid(0, eax, ebx, ecx, edx);
+
+ if (ebx == 0x756e6547 &&
+ edx == 0x49656e69 &&
+ ecx == 0x6c65746e) {
+ /* intel */
+
+ inteltest:
+ cpuid(1, eax, ebx, ecx, edx);
+ if ((edx & 0x00800000) == 0)
+ return 0;
+ flags = CPU_X86_MMX;
+ if (edx & 0x02000000)
+ flags |= CPU_X86_MMXEXT | CPU_X86_SSE;
+ if (edx & 0x04000000)
+ flags |= CPU_X86_SSE2;
+ retu...
2004 Aug 24
5
MMX/mmxext optimisations
quite some speed improvement indeed.
attached the updated patch to apply to svn/trunk.
j
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theora-mmx.patch.gz
Type: application/x-gzip
Size: 8648 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20040824/5a5f2731/theora-mmx.patch-0001.bin