Changeset 97884 in vbox
- Timestamp:
- Dec 28, 2022 1:28:15 AM (2 years ago)
- Location:
- trunk/src/VBox/Disassembler/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/testcase/tstDisasm-1.cpp
r96407 r97884 194 194 { 195 195 { "32-bit", (uint8_t const *)(uintptr_t)TestProc32, (uintptr_t)&TestProc32_EndProc, DISCPUMODE_32BIT }, 196 #ifndef RT_OS_OS2 196 197 { "64-bit", (uint8_t const *)(uintptr_t)TestProc64, (uintptr_t)&TestProc64_EndProc, DISCPUMODE_64BIT }, 198 #endif 197 199 }; 198 200 -
trunk/src/VBox/Disassembler/testcase/tstDisasm-1A.asm
r96407 r97884 37 37 BITS 32 38 38 39 %ifndef __YASM_VERSION_ID__ 40 %define __YASM_VERSION_ID__ 001010000h ; v1.2.0.0 for OS/2 41 %endif 39 42 %if __YASM_VERSION_ID__ >= 001020001h ; v1.2.0.1 and greater, make sure to exclude v1.2.0.0. 40 43 %define pmulhrwa pmulhrw … … 137 140 pfmin mm1, qword [es:esi+000101010h] 138 141 pfmul mm5, qword [es:esi+000101000h] 142 %ifndef RT_OS_OS2 ; nasm objects to this 139 143 pmulhrwa mm3, qword [es:eax+0ffffffffh] 144 %endif 140 145 pfnacc mm4, qword [es:ebx+000101010h] 141 146 pfpnacc mm3, qword [es:edx+000102900h] … … 237 242 vfmaddsub132pd ymm1, ymm2, ymm3 238 243 244 %ifndef RT_OS_OS2 239 245 blsr eax, ebx 240 246 blsi eax, [ebx] 247 %endif 241 248 db 0c4h, 0e2h, 0f8h, 0f3h, 01bh ; blsi rax, dword [ebx] - but VEX.W=1 is ignored, so same as previous 249 %ifndef RT_OS_OS2 242 250 blsmsk eax, [ebx+edi*2] 243 251 shlx eax, ebx, ecx 252 %endif 244 253 245 254 pmovmskb eax, mm2 246 255 pmovmskb eax, xmm3 247 256 vpmovmskb eax, xmm3 257 %ifndef RT_OS_OS2 248 258 vpmovmskb eax, ymm3 259 %endif 249 260 250 261 ENDPROC TestProc32
Note:
See TracChangeset
for help on using the changeset viewer.