diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.rs | 8 | 
1 files changed, 8 insertions, 0 deletions
| 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] | 
