diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/long_mode/mod.rs | 2 | ||||
| -rw-r--r-- | test/protected_mode/mod.rs | 2 | ||||
| -rw-r--r-- | test/real_mode/mod.rs | 3 | 
3 files changed, 3 insertions, 4 deletions
| diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index 6c2cdc9..1573580 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -1194,7 +1194,7 @@ fn test_prefixes() {      test_display(&[0xf0, 0x31, 0x00], "lock xor dword [rax], eax");      test_display(&[0xf0, 0x80, 0x30, 0x00], "lock xor byte [rax], 0x0");      test_display(&[0xf0, 0x0f, 0xbb, 0x17], "lock btc dword [rdi], edx"); -    test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "lock btc word [rbx], dx"); +    test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "xacquire lock btc word [rbx], dx");      test_invalid(&[0xf0, 0xc7, 0x00, 0x00, 0x00, 0x00]);      test_display(&[0x0f, 0xc1, 0xcc], "xadd esp, ecx");      test_display(&[0x66, 0x0f, 0xc1, 0xcc], "xadd sp, cx"); diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index dd52cfe..65e112f 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -1080,7 +1080,7 @@ fn test_prefixes() {      test_display(&[0xf0, 0x31, 0x00], "lock xor dword [eax], eax");      test_display(&[0xf0, 0x80, 0x30, 0x00], "lock xor byte [eax], 0x0");      test_display(&[0xf0, 0x0f, 0xbb, 0x17], "lock btc dword [edi], edx"); -    test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "lock btc word cs:[ebx], dx"); +    test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "xacquire lock btc word cs:[ebx], dx");      test_invalid(&[0xf0, 0xc7, 0x00, 0x00, 0x00, 0x00]);      test_display(&[0x0f, 0xc1, 0xcc], "xadd esp, ecx");      test_display(&[0x66, 0x0f, 0xc1, 0xcc], "xadd sp, cx"); diff --git a/test/real_mode/mod.rs b/test/real_mode/mod.rs index b182880..54bae05 100644 --- a/test/real_mode/mod.rs +++ b/test/real_mode/mod.rs @@ -16878,8 +16878,7 @@ fn test_real_mode() {      test_display(&[0x66, 0x0f, 0xfe, 0xc1], "paddd xmm0, xmm1");      test_display(&[0x66, 0x0f, 0xff, 0x01], "ud0 eax, dword [bx + di]");      test_display(&[0x66, 0x0f, 0xff, 0xc1], "ud0 eax, ecx"); -// TODO: -//    test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "xacquire lock btc dword cs:[bp + di], edx"); +    test_display(&[0x66, 0x2e, 0xf2, 0xf0, 0x0f, 0xbb, 0x13], "xacquire lock btc dword cs:[bp + di], edx");      test_display(&[0x66, 0x31, 0xc0], "xor eax, eax");      test_display(&[0x66, 0x32, 0xc0], "xor al, al");      test_display(&[0x66, 0x32, 0xc5], "xor al, ch"); | 
