From: Andrew Cooper Date: Fri, 9 Aug 2019 17:46:02 +0000 (+0100) Subject: TSX: Fix the encoding of XEND X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9060b0d1d4a32e7a06b5ea5c7093a042fc536580;p=xtf.git TSX: Fix the encoding of XEND 0xd6 is XTEST, not XEND. Signed-off-by: Andrew Cooper --- diff --git a/arch/x86/include/arch/tsx.h b/arch/x86/include/arch/tsx.h index d99ef16..503f4a3 100644 --- a/arch/x86/include/arch/tsx.h +++ b/arch/x86/include/arch/tsx.h @@ -65,7 +65,7 @@ static inline int _xtest(void) static inline void _xend(void) { - asm volatile (".byte 0x0f, 0x01, 0xd6" /* xend */ + asm volatile (".byte 0x0f, 0x01, 0xd5" /* xend */ ::: "memory"); }