57 Commits
Author SHA1 Message Date
Dr-Noob 3046e84b4b [v1.01] Fix dummy compilation issue 2021-12-28 16:03:16 +01:00
Dr-Noob 874a856e34 [v1.01] Run multiple independent instructions in the pipeline for AVX freq too. Fixes incorrect frequency measures under certain CPUs 2021-12-27 12:42:36 +01:00
Dr-Noob 0db9f1f5c2 [v1.01] Add more x86 archs to Makefile 2021-12-06 22:36:12 +01:00
Dr-Noob fe3bc6163c [v1.01] Do not use FMA for frequency measurement. It is sufficient to run any other AVX instructions, and some CPUs support AVX but not FMA. 2021-11-20 10:25:36 +01:00
Dr-Noob 4b50740516 [v1.01] Remove useless frequency measurement (SSE and novector should report the same frequency!). Increase iterations to improve precision 2021-11-20 10:13:35 +01:00
Dr-Noob 7226adb04d [v1.00] Skeleton for future support for other vector instructions in --accurate-pp 2021-11-19 21:36:55 +01:00
Dr-Noob 2cdc31392a [v1.00] Add --accurate-pp option (Linux x86_64) only. Needs more work to make it stable (add support for non-AVX, AVX512, etc) 2021-09-16 15:13:26 +02:00
Dr-Noob 4af1651306 [v0.99] Remove -fstack-protector-all from Windows compilation to fix segfault with mingw64, found in issue #109 2021-08-22 13:30:47 +02:00
Dr-Noob e3aeb5c705 [v0.99] Add arm64 to ARM supported architectures in the Makefile 2021-08-13 10:05:53 +02:00
Dr-Noob b6603040fc [v0.99] Merge and integrate M1 branch, which adds support for Apple M1 CPU 2021-08-12 18:52:01 +02:00
Dr-Noob 8c3e7cdd60 [v0.99] Do not assume ARM in the Makefile and print error message when unsupported arch is found. Closes #71 2021-08-08 18:15:36 +02:00
Dr-Noob 6b6f8f504f [v0.98][PPC] Improve ppc detection arch in Makefile as suggested by a macrumors user 2021-08-05 09:17:41 +02:00
Dr-Noob 051a37862c [v0.98] Add compiler flags (in a different target, "strict") to detect programming errors, as suggested by #90 and #76 2021-08-04 23:17:12 +02:00
Dr-Noob e350f1759f [v0.98][ARM] Add simple topology detection using sysctlbyname in macOS 2021-08-02 12:31:19 +01:00
Dr-Noob 53fa2511b9 [v0.98][PPC] Obtain microarchitecture using pvr (better!) 2021-07-31 15:58:57 +02:00
Dr-Noob 135cc9d504 [v0.98][PPC] Basic support for topology detection 2021-07-27 21:34:08 +02:00
Dr-Noob f4aa335af1 [v0.98][PPC] Start PowerPC port. It just compiles but nothing is displayed 2021-07-27 20:26:17 +02:00
Dr-Noob 5c3f49c580 [v0.98] Patch to fix the compilation error reported by #93 2021-06-19 00:03:13 +02:00
Dr-Noob 0faad4858e [v0.97] Little changes to Makefile as suggested by #79 2021-06-05 09:53:57 +02:00
Dr-Noob 5a5406925c [v0.97] Add optimization flags to Makefile. Rename man page from 8 to 1 2021-04-14 14:54:24 +02:00
Dr-Noob 4023afb95f [v0.97] Use DESTDIR and PREFIX in Makefile 2021-04-13 19:56:46 +02:00
Dr-Noob 9fa7b4ce7f [v0.97] Use DESTDIR instead of PREFIX in Makefile 2021-04-12 15:47:59 +02:00
Dr-Noob 812ee0acc6 [v0.96] Add PREFIX to Makefile and uninstall target, as requested by many users 2021-04-08 09:36:21 +02:00
Dr-Noob b3ed3e9240 [v0.96] Add 32bit support in Makefile 2021-04-07 14:52:52 +02:00
Dr-Noob 654d2e27e1 [v0.96] Replace Makefile var names (use C names instead of C++) 2021-04-07 10:14:20 +02:00
Dr-Noob 5b9a9e90d0 [v0.94] Fix compilation issues 2020-12-05 11:56:40 +01:00
Dr-Noob c111eb9a41 [v0.94] SoC detection stores the exact SoC model 2020-12-04 10:11:07 +01:00
Dr-Noob 01e22b8090 [v0.94] Fix compilation issues 2020-12-01 16:13:38 +01:00
Dr-Noob fbea497740 [v0.89] Change freq from int64 to int32, which fixes a compilation issue. Fix Makefile in Windows 2020-11-24 12:52:42 +01:00
Dr-Noob 8645b54b58 [v0.89][ARM] Separate udev for ARM in a different file, since there are many functions that are ARM only. Refactoring of file reading code 2020-11-24 12:32:38 +01:00
Dr-Noob eaa86522a4 [v0.88][ARM] Add very basic SoC detection (Android only) 2020-11-23 18:30:00 +01:00
Dr-Noob c44a646cd1 [v0.85][ARM] Add SoC field in ARM and remove CPU Name field, which is only valid in x86. Fix Makefile for some strict compilers 2020-11-18 23:22:26 +01:00
Dr-Noob cb78f18de1 [v0.84][BUGFIX] Fix more compilation issues 2020-11-10 22:46:39 +01:00
Dr-Noob 07f3f26ff6 [v0.84][BUGFIX] Fix more compilation issues 2020-11-10 22:45:14 +01:00
Dr-Noob 4f1722ead6 [v0.81][ARM][Refactoring] Refactoring and very basic ARM support 2020-11-05 13:44:46 +01:00
Dr-Noob f4f68287aa [v0.8][Refactoring] Refactoring ARM code and source code tree 2020-11-05 11:01:46 +01:00
Dr-Noob 1fad4fd10b [v0.8][ARM] Building support in ARM 2020-11-05 09:28:41 +01:00
Dr-Noob aa5f0a8b88 Add install option in Makefile 2020-09-21 13:07:18 +02:00
Dr-Noob 5148962fa3 Add code to detect CPU microarchitecture (Intel only, at the moment) 2020-08-31 13:18:25 +02:00
Dr-Noob ad6c3c88ce Small corrections in code and Makefile 2020-07-12 15:39:34 +02:00
Dr-Noob 08f79bb914 Fix compilation in Windows and add support for bind to specific cores. Separate APIC code in other file 2020-07-06 01:16:59 +02:00
Dr-Noob 941bf35d03 Big refactoring. Move ascii managment to printer. Mix extended and standart cpuid functions in cpuid file. Old cpuid renamed to cpuid_asm. Store cpu name in cpuInfo struct 2020-06-28 15:51:30 +02:00
Dr-Noob a2dab8129c Use standart types instead of int/long in specific files. This fixes a problem in Windows, were PP was not computed correctly. Compiling with C99 2020-06-22 12:47:14 +02:00
Dr-Noob 08ce1de122 Add fallback in Linux in case we cant get the freq from cpuid, using udev (welcome back, udev...) 2020-06-22 12:05:04 +02:00
Dr-Noob 1435978b37 Add release and debug targets in Makefile. Improve robustness by checking cache sizes and snprintf returns 2020-06-21 13:37:44 +02:00
Dr-Noob b81d611282 Fetch freq from cpuid, instead of asking Linux (using /proc). This finally removes udev dependency. However, the support of cpuid 0x16 is limited, so this may break cpufetch on some systems 2020-06-20 13:24:50 +02:00
Dr-Noob 9f55672aa2 Divide source code from other stuff 2018-06-23 13:04:42 +02:00
Dr-Noob e9b5fe5f0a Add gcc flags to improve reliability 2018-06-22 21:01:16 +02:00
Dr-Noob 3199ac739a Function to notify errors 2018-06-22 20:36:56 +02:00
Dr-Noob 7b059c046a Support for simple args options(currently, help and style). New feature to switch colors of logo, to improve visibility in bright terminals 2018-06-21 15:30:29 +02:00