Add 128-bit integer plugin (nautilus-int128) with MLIR intrinsics, runtime, docs, and tests - #414
Open
PhilippGrulich wants to merge 1 commit into
Open
Add 128-bit integer plugin (nautilus-int128) with MLIR intrinsics, runtime, docs, and tests#414PhilippGrulich wants to merge 1 commit into
PhilippGrulich wants to merge 1 commit into
Conversation
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.
Motivation
__int128support.i128operations for better performance.Description
ENABLE_INT128_PLUGINCMake option and wireplugins/int128into the top-level build when enabled.plugins/int128library implementing runtime helpers (int128.cpp) and a public headerinclude/nautilus/int128.hppexposingnautilus::int128with constructors, operators, loads/stores, and accessors.MLIRInt128Intrinsics.cpp/.hpp) to replace runtime calls with nativei128LLVM/MLIR operations when the MLIR backend is enabled.nautilus::nautilus-int128in the plugin CMakeLists.docs/int128-plugin.mddescribing semantics, memory behavior, MLIR interaction, and the fuzz target behavior.plugins/int128/test/Int128ExecutionTest.cpp) using Catch2 and an optional differential fuzz target (plugins/int128/test/fuzz/Int128Fuzz.cpp) built whenENABLE_FUZZING=ON.Testing
nautilus-int128-tests) throughctestand all tests passed.MLIRInt128Intrinsicsregistration and the build completed successfully in that configuration.nautilus-int128-fuzzis conditionally added whenENABLE_FUZZING=ON; the fuzz target builds with libFuzzer sanitizer flags when enabled.Codex Task