From 66bc9435b54495e24715939e119b059b06231e8b Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Jun 2019 01:07:47 -0700 Subject: initial support for xmm instructions --- test/test.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/test.rs') diff --git a/test/test.rs b/test/test.rs index ebfda5a..bc4660c 100644 --- a/test/test.rs +++ b/test/test.rs @@ -66,6 +66,14 @@ fn test_E_decode() { test_display(&[0xff, 0x75, 0x08], "push [rbp + 0x8]"); } +#[test] +fn test_sse() { + test_display(&[0xf2, 0x0f, 0x10, 0x0c, 0xc6], "movsd xmm1, [rsi + rax * 8]"); + test_display(&[0xf2, 0x0f, 0x59, 0xc8], "mulsd xmm1, xmm0"); + test_display(&[0xf2, 0x4f, 0x0f, 0x59, 0xc8], "mulsd xmm9, xmm8"); + test_display(&[0xf2, 0x0f, 0x11, 0x0c, 0xc7], "movsd [rdi + rax * 8], xmm1"); +} + // SETLE, SETNG, ... #[test] -- cgit v1.1