{"id":16064570,"url":"https://github.com/lokathor/safe_arch","last_synced_at":"2025-04-06T01:10:41.181Z","repository":{"id":44892673,"uuid":"259439601","full_name":"Lokathor/safe_arch","owner":"Lokathor","description":"Exposes arch-specific intrinsics as safe function (via cfg).","archived":false,"fork":false,"pushed_at":"2024-07-30T22:12:04.000Z","size":333,"stargazers_count":47,"open_issues_count":11,"forks_count":8,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-16T05:21:54.384Z","etag":null,"topics":["intrinsics","rust","zlib-license"],"latest_commit_sha":null,"homepage":"https://docs.rs/safe_arch","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lokathor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-27T20:06:52.000Z","updated_at":"2024-09-09T02:33:25.000Z","dependencies_parsed_at":"2024-06-21T04:20:55.683Z","dependency_job_id":"ac7f77cb-9a64-47c0-b1db-cecaa332deac","html_url":"https://github.com/Lokathor/safe_arch","commit_stats":{"total_commits":151,"total_committers":7,"mean_commits":"21.571428571428573","dds":0.09933774834437081,"last_synced_commit":"e39ea3164971ffa723ff29cc02c6eb5775839e2b"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Fsafe_arch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Fsafe_arch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Fsafe_arch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Fsafe_arch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lokathor","download_url":"https://codeload.github.com/Lokathor/safe_arch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419861,"owners_count":20936012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["intrinsics","rust","zlib-license"],"created_at":"2024-10-09T05:08:36.934Z","updated_at":"2025-04-06T01:10:41.161Z","avatar_url":"https://github.com/Lokathor.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Docs.rs](https://docs.rs/safe_arch)\n\n# safe_arch\n\nExposes arch-specific intrinsics as safe function.\n\n* SIMD types are newtype'd (with a `pub` field) and given appropriate trait\n  impls such as `From`, `Into`, `Default`, etc.\n* Each intrinsic gets either a function or macro so that you can safely use it\n  as directly as possible.\n  * Functions are used when all arguments are runtime arguments.\n  * Macros are used when one of the arguments must be a compile time constant,\n    because Rust doesn't let you \"pass through\" compile time constants.\n* There's hundreds and hundreds of intrinsics, so the names of functions and\n  macros tend to be very long and specific because there's often many similar\n  ways to do nearly the same thing.\n  * This crate isn't really intended for \"everyday users\". It is intended to be\n    an \"unopinionated\" middle layer crate that just provides the safety. Higher\n    level abstractions should mostly come from some other crate that wraps over\n    this crate.\n\nAll function and macro availability is done purely at compile time via\n`#[cfg()]` attributes on the various modules. If a CPU feature isn't enabled for\nthe build then those functions or macros won't be available. If you'd like to\ndetermine what CPU features are available at runtime and then call different\ncode accordingly, this crate is not for you.\n\nSee the [crate docs](https://docs.rs/safe_arch) for more details.\n\n## Additional Resources\n\n* [Intel Intrinsics Guide](https://software.intel.com/sites/landingpage/IntrinsicsGuide/)\n  * [Raw Xml v3.5.2](https://software.intel.com/sites/landingpage/IntrinsicsGuide/files/data-3.5.2.xml) and you can check their [release notes](https://software.intel.com/sites/landingpage/IntrinsicsGuide/files/ReleaseNotes.html) to see if a later version has been put out since this readme file was last updated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokathor%2Fsafe_arch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flokathor%2Fsafe_arch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokathor%2Fsafe_arch/lists"}