From 87dc48adcce4e80aa98a2867edacc023579fc4c4 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 19 Feb 2026 02:14:57 +0000 Subject: add behavior information for x86_64 instructions this is a squash of a few months' hacking, including but not limited to what eventually got extracted into https://git.iximeow.net/asmlinator/about/ the path here is generally not historically interesting, and the vast majority of this diff is very particular static data tables (BehaviorDigests and implicit operand lists) `src/long_mode/behavior.rs` will more or less be directly adapted into versions for x86-32 and x86-16, similar to the instruction decoders. --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index aea4c91..6850234 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -128,6 +128,11 @@ extern crate serde; #[cfg(feature="std")] extern crate alloc; +#[cfg(feature="behavior")] +mod behavior; +#[cfg(feature="behavior")] +pub use behavior::{Access, Exception, ExceptionInfo, PrivilegeLevel}; + #[macro_use] mod isa_settings; -- cgit v1.1