Changeset 105571 in vbox
- Timestamp:
- Aug 1, 2024 6:22:45 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllN8veHlpA.asm
r105490 r105571 287 287 ; @param uRegFpCtrl (gcc:rdi, msc:rcx) The MXCSR value to restore. 288 288 ; 289 ; @todo r=bird: could use the _mm_setcsr() intrinsic instead... 290 ; 289 291 ALIGNCODE(16) 290 292 BEGINPROC iemNativeFpCtrlRegRestore 291 sub xSP, 4 292 %ifdef RT_OS_WINDOWS 293 mov [xSP], edx 294 %else 295 mov [xSP], edi296 %e ndif297 293 SEH64_END_PROLOGUE 294 295 %ifdef RT_OS_WINDOWS 296 mov [xSP + xCB], edi ; use the first parameter spill slot. 297 ldmxcsr [xSP + xCB] 298 %else 299 push xDI 298 300 ldmxcsr [xSP] 299 add xSP, 4 301 add xSP, xCB 302 %endif 303 300 304 ret 301 305 ENDPROC iemNativeFpCtrlRegRestore
Note:
See TracChangeset
for help on using the changeset viewer.