Dr-Noob
6e8cccde32
Reorganize attributes in printer
2025-10-29 21:54:38 +01:00
Dr-Noob
a0c08ccc0b
[v1.06][RISCV] Add support for SpacemiT K1-X SoC ( #286 )
2024-10-10 08:39:24 +01:00
Dr-Noob
7d786ca1b7
[v1.06][ARM] Implement automatic SoC inferring from device tree
...
This is a major change in the SoC detection methodology.
Previous to this commit, the SoC (model, vendor and manufacturing
process) would only appear if the exact model was found in the LUT.
In other words, every supported SoC must be added manually to the LUT.
This would allow to show the precise SoC model and the manufacturing
process, which can only be hardcoded (i.e., it cannot be dynamically
determined).
This commit introduces guess_raw_soc_from_devtree, a new way of
inferring the SoC. This simply reads from the compatible file in the
device tree and tries to find a matching vendor to that string. If
there is a match, then we simply copy the model also from the
compatible string and show it directly.
This new implementation will show a less "precise" SoC name and
no manufacturing process because there would be no hardcoded value for
that SoC. However, it improves the scalability of the SoC detection
significantly because there is no longer a need to hardcode every
single SoC.
Lastly, there are some SoC vendors intentionally left outside the
scope of this function: For now I prefer to keep updating manually
the LUT for those to ensure the highest quality detection (e.g.,
showing precise SoC name and manufacturing process).
2024-09-22 17:11:31 +01:00
Wunk
edbfc9722e
[v1.06][ARM] Add Windows on Arm support ( #273 )
2024-09-10 09:40:46 +02:00
Dr-Noob
278efb75c9
[v1.06][ARM] Add support for Marvell SoC ( #279 )
2024-09-10 07:41:11 +01:00
Dr-Noob
5bd507e4b6
[v1.06][ARM] Add support for Amlogic A311D ( #268 )
2024-08-31 09:37:50 +01:00
Dr-Noob
9f66a137c5
[v1.06][ARM] Add support for NXP i.MX 8M Plus ( #261 )
2024-08-25 17:44:29 +01:00
Dr-Noob
48c598cf3b
[v1.06][ARM] Add support for Ampere Altra ( #262 )
2024-08-19 08:46:07 +01:00
Dr-Noob
cb186a2f97
[v1.05][X86] Do not show empty SSE if not supported ( #260 )
2024-08-02 10:09:51 +01:00
Dr-Noob
59cd2dd128
[v1.05][X86] Add support for Hygon CPUs ( #244 )
2024-07-09 08:34:44 +01:00
Dr-Noob
b019256515
[v1.05] Continue merging measure-freq #220
...
- [v1.05][X86] Show SSE if AVX/FMA is not supported
- [v1.05][X86] Do not stop if cach is NULL and check for non-NULL cache in get_topology_info functions
- [v1.05][X86] Fix bug where the number of cpus were not set if NULL was returned inside the loop. Ensure topo is not NULL in get_peak_performance. Fallback to UNKNOWN_DATA when we have no information about topology
2024-07-05 08:37:54 +01:00
Dr-Noob
1b746bc67d
[v1.05][ARM] Add support to detect SoC from PCI ( #245 ) with initial support for NVIDIA Tegra
2024-07-03 08:01:53 +01:00
Dr-Noob
4a8a7567f0
[v1.05] Add support for NO_COLOR ( #227 )
2024-02-13 08:41:54 +00:00
Dr-Noob
c01f60fa6c
[v1.05] Implement new approach to infer SoC from the uarch. Add support for Kunpeng SoCs
2024-02-08 09:04:51 +00:00
Dr-Noob
8870a0ca0c
[v1.04][RISCV] Add Sipeed ASCII logo
2023-11-01 20:50:05 +00:00
Dr-Noob
530207aee0
[v1.04] Added Google ascii logo
2023-10-17 08:56:20 +02:00
Dr-Noob
6c69ab0a00
[v1.04][RISCV] Extend extension mask to 64 bit. Fix SET_ISA_EXT_MAP else condition. Fix print_ascii_riscv iters computation
2023-09-24 11:59:43 +01:00
Dr-Noob
0397db2fd8
[v1.03][PPC] Implement hypervisor detection in PowerPC
2023-05-04 18:56:31 +02:00
Dr-Noob
89aadeead8
[v1.03] Add common soc.c/.h for both ARM and RISC-V
2023-04-13 17:15:32 +02:00
Dr-Noob
f58d76ccac
[v1.03] Update help option and perform some formatting adjustments
2023-04-13 16:24:47 +02:00
Dr-Noob
05744f4e40
[v1.03][RISCV] Add support for RISCV extensions
2023-04-12 18:55:56 +02:00
Dr-Noob
4405a262ca
[v1.03][RISCV] Add some more uarchs
2023-04-12 16:23:23 +02:00
Dr-Noob
65bad8721e
[v1.03][RISCV] Add short/long variants for SiFive and StarFive ascii arts and fix StarFive long logo
2023-04-08 11:51:20 +02:00
Dr-Noob
0ef08ef53e
[v1.03][RISCV] Add basic Allwinner support
2023-04-07 10:37:59 +02:00
Dr-Noob
30a2493ad9
[v1.03][RISCV] Add basic StarFive support
2023-04-03 14:08:58 +02:00
Dr-Noob
a496f694a6
[v1.03][RISCV] Add SiFive ascii art
2023-04-03 13:25:51 +02:00
Dr-Noob
14819c350e
[v1.03][RISCV] Add basic SoC detection backend
2023-04-03 12:41:59 +02:00
Dr-Noob
9a69a7f58d
[v1.03][RISCV] Implementing basic skeleton for RISC-V backend
2023-04-01 16:46:54 +02:00
Dr-Noob
1f450b23a1
[v1.03][RISCV] Add support for compiling to RISC-V
2023-03-31 17:57:01 +02:00
Dr-Noob
522a1c6ddd
[v1.03][ARM] Add Rockchip logo and colors
2023-03-25 12:44:10 +01:00
Dr-Noob
6eb2357485
[v1.03] Add void to function declarations with no args. C99 Standard says in 6.7.5.3 that empty arguments are actually obsolescent - this commit fixes a warning in some compilers
2023-01-29 09:25:07 +01:00
Dr-Noob
2fc4896429
[v1.03] Remove useless comparaison
2023-01-06 15:17:39 +01:00
Dr-Noob
874f89051a
[v1.03] Fix build in PPC
2023-01-06 11:05:19 +01:00
Dr-Noob
b2aa8194c6
[v1.02][x86] Detect and print core type in ADL
2022-12-02 21:25:30 +00:00
Dr-Noob
d879b06d08
[v1.02][x86] Fix printer for non hybrid architectures
2022-12-02 20:53:40 +00:00
Dr-Noob
6cc18027db
[v1.02][x86] ADL has a shared L3, not one L3 per core type
2022-12-02 20:39:49 +00:00
Dr-Noob
cec91a1e4d
[v1.02][x86] Adding support printing Intel hybrid CPUs
2022-11-05 17:49:43 +00:00
Dr-Noob
40b13bc60c
[v1.01] Refactoring in printer to make code clearer. Remove usless check in PPC
2021-12-08 10:35:38 +01:00
Dr-Noob
84ee3107c6
[v1.01][X86] Merge bugfix2 branch
2021-12-08 10:22:02 +01:00
Dr-Noob
4229e2c63b
[v1.01][X86] Do not assume that cach and topo structures are non-NULL, which may easily happen in VMs. Add protection against NULL fields in cpu structure
2021-12-03 23:15:23 +01:00
Dr-Noob
a53fc41041
[v1.01] Added Allwinner SoCs (thanks #130!). Changed the match_soc algorithm; it should be more general now
2021-12-03 16:14:42 +01:00
Dr-Noob
6a9d30ee37
[v0.99][PPC] Fix printer in PPC to print using the whole terminal width
2021-08-23 09:08:16 +02:00
Dr-Noob
fbee621ca5
[v0.99] Simplify printer code that supports cutting text by adding a line buffer
2021-08-21 13:25:40 +02:00
Dr-Noob
2ab3f8eb40
[v0.99] Small refactoring (fix compilation issues)
2021-08-19 13:40:21 +02:00
Dr-Noob
a6420151ed
[v0.99] Refactoring logo selection in printer.c
2021-08-19 12:46:37 +02:00
Dr-Noob
39516e219a
[v0.99] Add support to use 3 colors in logo instead of 2. Add colors for new intel logo (which uses 3 colors)
2021-08-19 12:12:36 +02:00
Dr-Noob
c0935d1b4b
[v0.99] Add options: --logo-long --logo-short --logo-intel-new --logo-intel-old
2021-08-19 11:40:00 +02:00
Dr-Noob
a302a4508c
[v0.99] Show new Intel logo only when the CPU was released after Intel started using the new logo
2021-08-18 12:31:59 +02:00
Dr-Noob
58589cc121
[v0.99] Fix a bug that caused segfault when terminal size cannot be retrieved (e.g, redirection)
2021-08-17 22:39:53 +02:00
Dr-Noob
58160d1185
[v0.99][PPC] Rename "Name" field in ppc to "Part Number" (suggested by #85 ), since it is the standard way to refer to this info
2021-08-14 19:19:33 +02:00