aboutsummaryrefslogtreecommitdiff
path: root/core/sys/info
Commit message (Collapse)AuthorAgeFilesLines
* [core:sys/info] doc: Remove duplicated lineYuriy Grynevych2025-09-251-1/+0
|
* Add missing `contextless`gingerBill2025-08-081-1/+1
|
* More contextless fixesgingerBill2025-08-081-4/+4
|
* Add more "contextless"gingerBill2025-08-082-4/+8
|
* Require `@(init)` and `@(fini)` to be `proc "contextless" ()`gingerBill2025-08-087-13/+31
|
* `for in string16`; Support `string16` across coregingerBill2025-08-021-6/+6
|
* Rename `iOS` subtarget to `iPhone` for consistency.Harold Brenes2025-07-141-1/+1
| | | | | Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to `true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
* add macOS Tahoe to `odin report` and `core:sys/info`Laytan Laats2025-06-141-0/+1
|
* Enable `odin check examples/all` for JS.Jeroen van Rijn2025-06-041-1/+1
|
* sys/info: populate cpu.physical_cores and cpu.logical_cores on DarwinLaytan Laats2025-05-261-0/+12
|
* Add core/hyperthread count for Windows and Linux (#5216)Jeroen van Rijn2025-05-259-31/+111
| | | | | Add core/hyperthread count to `core:sys/info` for Windows and Linux. TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
* Remove stray import.Jeroen van Rijn2025-04-051-1/+0
|
* Fix segfault in core:sys/info on WSL2Jeroen van Rijn2025-04-051-6/+14
|
* core/crypto/sha2: Use hardware SHA224/256 when available (AMD64)Yawning Angel2025-03-231-0/+2
|
* sys/info & odin report: rework macos version retrievalLaytan Laats2024-11-262-569/+72
|
* add macos 15.1.1 to odin report and sys/infoLaytan Laats2024-11-261-0/+2
|
* add missing macos versionLaytan Laats2024-11-161-0/+15
|
* Merge pull request #4376 from Barinzaya/sysinfo-avx512Laytan2024-10-161-1/+46
|\ | | | | core:sys/info AVX-512 CPU Features
| * Renamed and trimmed AVX-512 features in sys/info.Barinzaya2024-10-151-36/+32
| | | | | | | | Removed underscores from the AVX-512 names in `CPU_Feature` to make them match their equivalent LLVM target features. Removed 4FMAPs and 4VNNIW as there aren't matching LLVM target features.
| * Fixed a theoretical edge case in AVX512VL support detection.Barinzaya2024-10-141-1/+5
| |
| * Fixed formatting.Barinzaya2024-10-141-4/+4
| |
| * Added AVX-512 feature detection to core:sys/info.Barinzaya2024-10-141-1/+46
| |
* | add macos 15.0.1 to odin report and core/sys/infoLaytan Laats2024-10-141-0/+1
|/
* Merge branch 'master' into file-tags-without-commentsKarl Zylinski2024-09-171-0/+4
|\
| * add new macos releases to 'odin report' and sys/infoLaytan Laats2024-09-171-0/+4
| |
* | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-145-7/+7
|/ | | | file tag syntax.
* Merge pull request #4191 from laytan/improve-package-doc-commentsgingerBill2024-09-041-1/+8
|\ | | | | core: improve package doc comments for the documentation generator
| * core: improve package doc comments for the documentation generatorLaytan Laats2024-09-031-1/+8
| |
* | sys/info: more CPU feature detection for RISC-Vlaytan2024-09-022-34/+185
|/
* add support for linux_riscv64 and freestanding_riscv64Laytan2024-08-203-1/+63
|
* update MacOS releasesLaytan Laats2024-08-141-0/+2
|
* darwin: remove syscall usage (without -no-crt) to comply to Apple guidelinesLaytan Laats2024-07-081-1/+1
|
* Check for unneeded `transmute` with `-vet-cast`gingerBill2024-06-291-1/+1
|
* Fix `info.init_os_version` on FreeBSDFeoramund2024-06-121-1/+1
| | | | | | | It's possible for the return string to be longer than 128 characters these days, so I've increased it to 1024, same as the other BSDs. SYSCTL was otherwise erring out due to lack of buffer space.
* add MacOS 14.5 to 'core:sys/info' and 'odin report'Laytan Laats2024-06-071-0/+1
|
* Minor code cleanupAndreas T Jonsson2024-05-101-1/+1
|
* Merged with masterAndreas T Jonsson2024-05-0210-85/+310
|\
| * sys/info: add missing `@(private)`'sLaytan Laats2024-04-305-5/+5
| |
| * sys/info: update doc.odinLaytan Laats2024-04-301-12/+15
| |
| * sys/info: retrieve better CPU description on DarwinLaytan Laats2024-04-301-6/+21
| | | | | | | | | | Previously either `ARM` or `ARM64`, now you get something like `Apple M1`
| * sys/info: add feature detection for Darwin and Linux ARMLaytan Laats2024-04-303-14/+206
| |
| * sys/info: improve platform_linuxLaytan Laats2024-04-301-45/+57
| | | | | | | | | | | | | | | | | | 1. fix the `linux.open` call, passing `{ .RDONLY }` becomes `0x00000001` while `RDONLY` is supposed to be `0x00000000` 2. fix the case where `/etc/os-release` starts with `PRETTY_NAME` `strings.index` was used but was checking `> 0` while `0` is valid 3. remove unneccesary temporary allocations 4. simplify the logic
| * sys/info: remove unneccesary build tagsLaytan Laats2024-04-305-5/+0
| |
| * sys/info: add easy way of getting the MacOS versionLaytan Laats2024-04-302-4/+11
| |
* | Added missing core:sys/info package for NetBSDAndreas T Jonsson2024-04-261-4/+8
| |
* | Merge branch 'master' into netbsdAndreas T Jonsson2024-04-251-64/+64
|\|
| * Fix the format of some `doc.odin` files of the `core` library which did not ↵Maurizio M. Gavioli2024-04-141-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made into the documentation. `c/frontend/tokenizer`: add proper "Example:" header to demo example code, removed empty lines. `container/bit_array`: moved comment before package; aligned narrative lines to left margin; converted case lines into bulleted lines ("- "); converted individual examples to single-tab-indented preformatted text. `dynlib`: removed "//+build ignore" line; added newline at EOF. `image/netpmb`: converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists; "Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments; doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists); removed empy lines. `os/os2`: WIP, not modified `sys/info`: removed "//+build ignore" line; converted tab-indented initial description into regular left-margin comment; moved uncommented sample code within the doc comment as an "Example:"; moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings; removed now empty comments and blank lines after the package line. `text/i18n`: removed "//+build ignore" line; moved the pacakge line at the end; de-indented the tab-indented introductory narrative; moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading; removed "```" MD attempts at code formatting. `text/table`: unindented the comment lines of a descriptive kind; headlines of major subdivisions are marked as bold; kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting; removed in-between blank lines.
* | More std lib fixesAndreas T Jonsson2024-04-191-2/+2
|/ | | | Just selecting the same codepath as other BSD's for the most part.
* correct newly found vetsLaytan Laats2024-04-031-2/+2
|
* add MacOS 14.4.1 to sys/info and odin reportLaytan Laats2024-03-281-1/+2
|