Changeset 8972 in vbox for trunk/src/VBox/Disassembler/testcase/tstAsmLock-1.asm
- Timestamp:
- May 20, 2008 6:43:08 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 31046
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/testcase/tstAsmLock-1.asm
r8971 r8972 26 26 %include "tstAsm.mac" 27 27 %if TEST_BITS == 64 28 ; The disassembler doesn't do imm32 right for 28 ; The disassembler doesn't do imm32 right for 64-bit stuff, so disable it for now. 29 29 ; %define WITH_64_BIT_TESTS_IMM32 30 ; The cmpxchg16b/8b stuff isn't handled correctly in 64-bit mode. In the 8b case 31 ; it could be both yasm and the vbox disassembler. Have to check docs/gas/nasm. 32 ; %define WITH_64_BIT_TESTS_CMPXCHG16B 30 33 %define WITH_64_BIT_TESTS 31 34 %endif … … 282 285 %endif 283 286 287 ; 284 288 ; CMPXCHG 289 ; 290 ; 0f b0 /r CMPXCHG reg8/mem8, regX - with reg dst 291 lock cmpxchg byte [30cch], cl 292 lock cmpxchg byte [xBX], cl 293 lock cmpxchg byte [xSI], cl 294 ; 0f b1 /r CMPXCHG regX/memX, regX - with reg dst 295 lock cmpxchg word [30cch], cx 296 lock cmpxchg word [xBX], cx 297 lock cmpxchg word [xSI], cx 298 lock cmpxchg dword [30cch], ecx 299 lock cmpxchg dword [xBX], ecx 300 lock cmpxchg dword [xSI], ecx 301 %ifdef WITH_64_BIT_TESTS 302 lock cmpxchg qword [30cch], rcx 303 lock cmpxchg qword [xBX], rcx 304 lock cmpxchg qword [xSI], rcx 305 lock cmpxchg qword [rdi], r8 306 lock cmpxchg qword [r12], r9 307 %endif 308 309 ; 285 310 ; CMPXCHG8B 286 311 ; CMPXCHG16B 312 ; 313 ;; @todo get back to cmpxchg8b and cmpxchg16b. 314 lock cmpxchg8b qword [1000h] 315 lock cmpxchg8b qword [xDI] 316 lock cmpxchg8b qword [xDI+xBX] 317 %ifdef WITH_64_BIT_TESTS_CMPXCHG16B 318 lock cmpxchg16b [1000h] 319 lock cmpxchg16b [xDI] 320 lock cmpxchg16b [xDI+xBX] 321 %endif 322 287 323 ; DEC 288 324 ; INC
Note:
See TracChangeset
for help on using the changeset viewer.