Merge pull request #1418 from ryandesign/cpuid-i386

Fix i386 build failure "Junk character 13"
dev
Nick Terrell 2018-11-16 11:01:46 -08:00 committed by GitHub
commit 787532b91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ MEM_STATIC ZSTD_cpuid_t ZSTD_cpuid(void) {
__asm__( __asm__(
"pushl %%ebx\n\t" "pushl %%ebx\n\t"
"cpuid\n\t" "cpuid\n\t"
"movl %%ebx, %%eax\n\r" "movl %%ebx, %%eax\n\t"
"popl %%ebx" "popl %%ebx"
: "=a"(f7b), "=c"(f7c) : "=a"(f7b), "=c"(f7c)
: "a"(7), "c"(0) : "a"(7), "c"(0)