Changeset 40008 in vbox for trunk/src/VBox/VMM/testcase
- Timestamp:
- Feb 6, 2012 11:22:38 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstX86-1A.asm
r40004 r40008 59 59 60 60 %define PAGE_SIZE 0x1000 61 62 ;; Reference a variable 63 %ifdef RT_ARCH_AMD64 64 %define REF(a_Name) [a_Name wrt rip] 65 %else 66 %define REF(a_Name) [a_Name] 67 %endif 61 68 62 69 ;; Reference a global variable … … 202 209 ; 203 210 x861_LoadUniqueRegValuesSSE: 204 movq mm0, REF _GLOBAL(._mm0)205 movq mm1, REF _GLOBAL(._mm1)206 movq mm2, REF _GLOBAL(._mm2)207 movq mm3, REF _GLOBAL(._mm3)208 movq mm4, REF _GLOBAL(._mm4)209 movq mm5, REF _GLOBAL(._mm5)210 movq mm6, REF _GLOBAL(._mm6)211 movq mm7, REF _GLOBAL(._mm7)212 movdqu xmm0, REF _GLOBAL(._xmm0)213 movdqu xmm1, REF _GLOBAL(._xmm1)214 movdqu xmm2, REF _GLOBAL(._xmm2)215 movdqu xmm3, REF _GLOBAL(._xmm3)216 movdqu xmm4, REF _GLOBAL(._xmm4)217 movdqu xmm5, REF _GLOBAL(._xmm5)218 movdqu xmm6, REF _GLOBAL(._xmm6)219 movdqu xmm7, REF _GLOBAL(._xmm7)220 %ifdef RT_ARCH_AMD64 221 movdqu xmm8, REF _GLOBAL(._xmm8)222 movdqu xmm9, REF _GLOBAL(._xmm9)223 movdqu xmm10, REF _GLOBAL(._xmm10)224 movdqu xmm11, REF _GLOBAL(._xmm11)225 movdqu xmm12, REF _GLOBAL(._xmm12)226 movdqu xmm13, REF _GLOBAL(._xmm13)227 movdqu xmm14, REF _GLOBAL(._xmm14)228 movdqu xmm15, REF _GLOBAL(._xmm15)211 movq mm0, REF(._mm0) 212 movq mm1, REF(._mm1) 213 movq mm2, REF(._mm2) 214 movq mm3, REF(._mm3) 215 movq mm4, REF(._mm4) 216 movq mm5, REF(._mm5) 217 movq mm6, REF(._mm6) 218 movq mm7, REF(._mm7) 219 movdqu xmm0, REF(._xmm0) 220 movdqu xmm1, REF(._xmm1) 221 movdqu xmm2, REF(._xmm2) 222 movdqu xmm3, REF(._xmm3) 223 movdqu xmm4, REF(._xmm4) 224 movdqu xmm5, REF(._xmm5) 225 movdqu xmm6, REF(._xmm6) 226 movdqu xmm7, REF(._xmm7) 227 %ifdef RT_ARCH_AMD64 228 movdqu xmm8, REF(._xmm8) 229 movdqu xmm9, REF(._xmm9) 230 movdqu xmm10, REF(._xmm10) 231 movdqu xmm11, REF(._xmm11) 232 movdqu xmm12, REF(._xmm12) 233 movdqu xmm13, REF(._xmm13) 234 movdqu xmm14, REF(._xmm14) 235 movdqu xmm15, REF(._xmm15) 229 236 %endif 230 237 call x861_LoadUniqueRegValues … … 264 271 x861_ClearRegistersSSE: 265 272 call x861_ClearRegisters 266 movq mm0, REF _GLOBAL(.zero)267 movq mm1, REF _GLOBAL(.zero)268 movq mm2, REF _GLOBAL(.zero)269 movq mm3, REF _GLOBAL(.zero)270 movq mm4, REF _GLOBAL(.zero)271 movq mm5, REF _GLOBAL(.zero)272 movq mm6, REF _GLOBAL(.zero)273 movq mm7, REF _GLOBAL(.zero)274 movdqu xmm0, REF _GLOBAL(.zero)275 movdqu xmm1, REF _GLOBAL(.zero)276 movdqu xmm2, REF _GLOBAL(.zero)277 movdqu xmm3, REF _GLOBAL(.zero)278 movdqu xmm4, REF _GLOBAL(.zero)279 movdqu xmm5, REF _GLOBAL(.zero)280 movdqu xmm6, REF _GLOBAL(.zero)281 movdqu xmm7, REF _GLOBAL(.zero)282 %ifdef RT_ARCH_AMD64 283 movdqu xmm8, REF _GLOBAL(.zero)284 movdqu xmm9, REF _GLOBAL(.zero)285 movdqu xmm10, REF _GLOBAL(.zero)286 movdqu xmm11, REF _GLOBAL(.zero)287 movdqu xmm12, REF _GLOBAL(.zero)288 movdqu xmm13, REF _GLOBAL(.zero)289 movdqu xmm14, REF _GLOBAL(.zero)290 movdqu xmm15, REF _GLOBAL(.zero)273 movq mm0, REF(.zero) 274 movq mm1, REF(.zero) 275 movq mm2, REF(.zero) 276 movq mm3, REF(.zero) 277 movq mm4, REF(.zero) 278 movq mm5, REF(.zero) 279 movq mm6, REF(.zero) 280 movq mm7, REF(.zero) 281 movdqu xmm0, REF(.zero) 282 movdqu xmm1, REF(.zero) 283 movdqu xmm2, REF(.zero) 284 movdqu xmm3, REF(.zero) 285 movdqu xmm4, REF(.zero) 286 movdqu xmm5, REF(.zero) 287 movdqu xmm6, REF(.zero) 288 movdqu xmm7, REF(.zero) 289 %ifdef RT_ARCH_AMD64 290 movdqu xmm8, REF(.zero) 291 movdqu xmm9, REF(.zero) 292 movdqu xmm10, REF(.zero) 293 movdqu xmm11, REF(.zero) 294 movdqu xmm12, REF(.zero) 295 movdqu xmm13, REF(.zero) 296 movdqu xmm14, REF(.zero) 297 movdqu xmm15, REF(.zero) 291 298 %endif 292 299 call x861_LoadUniqueRegValues
Note:
See TracChangeset
for help on using the changeset viewer.