From 093781f2652416c28927c76b9ada05ba6450b330 Mon Sep 17 00:00:00 2001
From: iximeow <me@iximeow.net>
Date: Mon, 30 May 2022 09:32:40 -0700
Subject: pshufb annotations use incorrect register banks (for now?)

the correct bank is applied far after register numbers are read. a
correct annotation would need to know to defer emission until setting
register banks, but also would need to work backwards for the number of
bits between the current byte and modrm. not impossible, but substantial
refactoring.
---
 test/long_mode/descriptions.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/long_mode/descriptions.rs b/test/long_mode/descriptions.rs
index c319e0b..34db079 100644
--- a/test/long_mode/descriptions.rs
+++ b/test/long_mode/descriptions.rs
@@ -323,6 +323,7 @@ fn test_modrm_decode() {
             desc.to_string().contains("mod bits: 11")
         }),
         AnnotationCheck::exact(32, 34, InnerDescription::RegisterNumber("mmm", 1, RegSpec::ecx())),
+        AnnotationCheck::exact(35, 37, InnerDescription::RegisterNumber("rrr", 0, RegSpec::eax())),
         AnnotationCheck::no_extra(),
     ]);
 
-- 
cgit v1.1