From 9cb23294a4aedffac9b92d56c4cc5f34e5440ae4 Mon Sep 17 00:00:00 2001 From: Yongjie Sheng Date: Tue, 7 Oct 2025 14:35:45 +0800 Subject: [PATCH] fix a displacement offset calculation error for movddup --- include/disp8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/disp8.h b/include/disp8.h index a4b1597c..00fa3185 100644 --- a/include/disp8.h +++ b/include/disp8.h @@ -73,7 +73,7 @@ static inline unsigned int get_disp8_shift(const insn *ins) /* MOVDDUP */ case DUP: - return vectlen + 3; + return vectlen + 4; default: return 0;