fp-hw-survey: add cross-hardware FP behavior survey crate (capture/me…#171
Open
EmJayGee wants to merge 1 commit into
Open
fp-hw-survey: add cross-hardware FP behavior survey crate (capture/me…#171EmJayGee wants to merge 1 commit into
EmJayGee wants to merge 1 commit into
Conversation
…rge), workspace wiring, and rpres/afp feature detection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new Rust crate,
fp-hw-survey, to the workspace. The crate is a dependency-free tool for surveying native floating-point hardware behavior across different architectures, capturing and merging results to identify hardware divergences. The main changes include adding the crate to the workspace, providing documentation, setting up architecture-specific backends, and handling unsupported architectures.New crate addition and documentation:
fp-hw-surveycrate to the workspace, with a new entry in the rootCargo.tomland its ownCargo.tomlspecifying a dependency-free, cross-platform Rust binary for floating-point hardware surveys. [1] [2]README.mdincrates/fp-hw-survey/detailing the tool's purpose, usage, supported architectures, record formats, and contribution process..gitignorefor the crate to exclude build artifacts, NDJSON files, and scratch directories.Architecture backend setup:
src/arch/mod.rs, selecting the appropriate backend (aarch64,x86_64, or a fallback) at compile time and exposing a uniform interface for the rest of the tool.unsupportedbackend insrc/arch/unsupported.rsthat disables capture functionality on architectures without hand-written assembly, ensuring graceful fallback.