diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-08-19 10:46:13 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-08-19 10:46:13 +0200 |
| commit | aac6b3d02dce8a02669d58a1a3a68a38f9668f30 (patch) | |
| tree | 8ebb4e00548545ed153ac3b51e64f6304fdbfcbb /src | |
| parent | fda0e9a4cba9b71de60f974fadfa74c7fbff5b15 (diff) | |
| download | box64-aac6b3d02dce8a02669d58a1a3a68a38f9668f30.tar.gz box64-aac6b3d02dce8a02669d58a1a3a68a38f9668f30.zip | |
Forgot to expose f16c, xsave and randr extensions in cpuinfo virtual file
Diffstat (limited to 'src')
| -rw-r--r-- | src/wrapped/wrappedlibc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index d771818f..6f79109f 100644 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -1653,7 +1653,13 @@ void CreateCPUInfoFile(int fd) P; sprintf(buff, "bogomips\t: %g\n", getBogoMips()); P; - sprintf(buff, "flags\t\t: fpu cx8 sep ht cmov clflush mmx sse sse2 syscall tsc lahf_lm ssse3 ht tm lm fxsr cpuid pclmulqdq cx16 aes movbe pni sse4_1%s%s%s lzcnt popcnt%s%s%s%s%s\n", box64_sse42?" sse4_2":"", box64_avx?" avx":"", box64_shaext?"sha_ni":"", box64_avx?" bmi1":"", box64_avx2?" avx2":"", box64_avx?" bmi2":"", box64_avx2?" vaes":"", box64_avx2?" fma":""); + sprintf(buff, "flags\t\t: fpu cx8 sep ht cmov clflush mmx sse sse2 syscall tsc lahf_lm ssse3 ht tm lm fxsr cpuid pclmulqdq cx16 aes movbe pni "\ + "sse4_1%s%s%s lzcnt popcnt%s%s%s%s%s%s%s%s\n", + box64_sse42?" sse4_2":"", box64_avx?" avx":"", box64_shaext?"sha_ni":"", + box64_avx?" bmi1":"", box64_avx2?" avx2":"", box64_avx?" bmi2":"", + box64_avx2?" vaes":"", box64_avx2?" fma":"", + box64_avx?" xsave":"", box64_avx?" f16c":"", box64_avx2?" randr":"" + ); P; sprintf(buff, "address sizes\t: 48 bits physical, 48 bits virtual\n"); P; |