-
Notifications
You must be signed in to change notification settings - Fork 299
intrinsic-test
: Adding x86 behavioural testing.
#1894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
madhav-madhusoodanan
wants to merge
60
commits into
rust-lang:master
Choose a base branch
from
madhav-madhusoodanan:intrinsic-test-x86-addition
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
1eee9ed
feat: added the skeleton structure of the x86 module
madhav-madhusoodanan 07f20f4
feat: added the XML intrinsic parser for x86
madhav-madhusoodanan 191614a
feat: updated intrinsics creation
madhav-madhusoodanan a952d3b
feat: update building C code for x86 architecture.
madhav-madhusoodanan 417f729
fix: code cleanup
madhav-madhusoodanan 4c19bd2
chore: added Regex crate, updated the structure of X86IntrinsicType
madhav-madhusoodanan 3e3bf65
feat: implemented build_rust_file of `x86` module
madhav-madhusoodanan 3e95708
feat: implemented compare_outputs of `x86` module
madhav-madhusoodanan fbb8214
feat: implement `print_result_c` for `Intrinsic<X86IntrinsicType>`
madhav-madhusoodanan 6c69404
feat: Added x86 to CI pipeline
madhav-madhusoodanan 0d62fe4
fix: update arch flags being sent to the x86 compilation command
madhav-madhusoodanan bd48f59
fix: set default value for varname and type fields of the
madhav-madhusoodanan 8a69c61
fix: correcting semantical logic for setting vec_len
madhav-madhusoodanan 83bc235
fix: more support for Mask types
madhav-madhusoodanan 76359ef
fix: remove unused imports
madhav-madhusoodanan 0c803aa
feat: implemented print_result_c in the case the target type is
madhav-madhusoodanan a7dac63
feat: implemented get_lane_function for x86
madhav-madhusoodanan 68b2b2c
chore: update c_prefix for mask and print_result_c for vector type
madhav-madhusoodanan 1951ed0
feat: handled extraction for 64-bit vector elements
madhav-madhusoodanan 9726455
feat: add 8x8 case for get_lane_function for 64-bit vector
madhav-madhusoodanan 1a07650
debug: printing self incase print_result_c fails.
madhav-madhusoodanan e79129a
chore: update x86 module, removed intrinsicDefinition trait, formatting
madhav-madhusoodanan 8efed65
fixed errors that caused errors with cpp file generation (un-handled
madhav-madhusoodanan 33ead37
feat: correcting errors with generated C artifacts
madhav-madhusoodanan 30e0642
fix: vec_len -> simd_len (an error was present due to setting vec_len…
madhav-madhusoodanan 6f9e90e
feat: updating intrinsic-run execution bash script
madhav-madhusoodanan 6fbdf07
chore: revert default target
madhav-madhusoodanan d3dbbd6
chore: adding comments about memory alignment of variables and bash s…
madhav-madhusoodanan adb8124
chore: adding backtracing for better debugging
madhav-madhusoodanan 218c360
chore: add compilation flags
madhav-madhusoodanan e32b078
chore: add better error handling when writing and compiling mod_{i}.cpp,
madhav-madhusoodanan 07024e9
feat: Fixed FP16 errors, made the loading function generation more
madhav-madhusoodanan 5383867
chore: Ensuring "const" appears for constant arguments to intrinsics.
madhav-madhusoodanan 7454872
chore: allowing cast() function to allow implicity type conversion for
madhav-madhusoodanan b28fc7a
feat: matching the expected number of elements for array to load
madhav-madhusoodanan f7f0d4e
feat: updated with debug printing and ostream implementation for vector
madhav-madhusoodanan 2913908
chore: corrected the legal range of values for constrained arguments
madhav-madhusoodanan 1e56470
feat: filter for duplicates in the definition of intrinsics
madhav-madhusoodanan 39425f3
chore: vector types cannot be the type of an individual element in an
madhav-madhusoodanan 51c8750
chore: accomodate for `immwidth` field for constraints
madhav-madhusoodanan 52c0c08
feat: defined more load functions that are natively not defined (such as
madhav-madhusoodanan c5717c3
chore: corrected the imm-width correction location for _mm_mpsadbw_epu8
madhav-madhusoodanan 06f1b0c
feat: added exclusion list to intrinsic-test CI pipeline
madhav-madhusoodanan 9c1ec7d
chore: clean up unused variables
madhav-madhusoodanan c824690
feat: moved cast<T1, T2> to architecture-specific definitions
madhav-madhusoodanan 3a1aab8
fix: remove extra brackets for cast definition in arm/config.rs
madhav-madhusoodanan 3a4ae99
make `std::ostream& operator<<(std::ostream& os, float16_t value);`
madhav-madhusoodanan ab00695
feat: add missing_x86.txt to filter out intrinsics that cannot be tested
madhav-madhusoodanan 06bb848
feat: added custom helper functions (that helped load intrinsic
madhav-madhusoodanan 599b68f
chore: add more compiler flags for compiling x86 intrinsics in C++
madhav-madhusoodanan 3a0fef0
chore: add verbose cli option to C++ compiler
madhav-madhusoodanan f123a9b
feat: add clang to dockerfile and change clang++-19 to clang++
madhav-madhusoodanan ce16379
fix: add `libstdc++-dev` to fix `iostream not found` error
madhav-madhusoodanan 411fbcd
fix: making compilation step run one by one to prevent the process from
madhav-madhusoodanan ee2f1e7
feat: attempting compilation of smaller chunks for faster parallel
madhav-madhusoodanan 4b06d4b
feat: add c_programs to PATH and increase chunk size to 400
madhav-madhusoodanan 87e39a2
feat: display __mmask8 values so that non-utf8 values are not displayed
madhav-madhusoodanan 3b77dc5
feat: add formatting for __m128i, __m256i, __m512i types that is similar
madhav-madhusoodanan 9dbc078
feat: make the debug_i16 into a generic debug_as function that adapts to
madhav-madhusoodanan 8c19290
feat: casting the results of the lane function by preserving the bits
madhav-madhusoodanan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.