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/long_mode/uarch.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/long_mode/uarch.rs') diff --git a/src/long_mode/uarch.rs b/src/long_mode/uarch.rs index 9cfc9de..98c9de2 100644 --- a/src/long_mode/uarch.rs +++ b/src/long_mode/uarch.rs @@ -182,7 +182,7 @@ pub mod amd { .with_avx512_vl() .with_avx512_bw() .with_avx512_cd() - .with_avx512_cd() + .with_avx512_vl() .with_avx512_vbmi() .with_avx512_vbmi2() .with_avx512_vpopcntdq() @@ -195,6 +195,16 @@ pub mod amd { zen4() .with_movdir64b() .with_enqcmd() + .with_avx512_dq() + .with_avx512_fma() + .with_avx512_bw() + .with_avx512_vnni() + .with_avx512_bitalg() + /* + * one would imagine the following as well, but there are not features yet: + * .with_avx512_vpopcntdq() + * .with_avx512_bf16() + */ } } -- cgit v1.1