VirtualBox

Changeset 40070 in vbox


Ignore:
Timestamp:
Feb 10, 2012 7:47:10 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76204
Message:

More experiments / tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstX86-1A.asm

    r40069 r40070  
    144144        cmp     eax, (%1)
    145145        je      %%ok
    146         int3
     146        ;int3
    147147        lea     eax, [eax + __LINE__ * 100000]
    148148        jmp     .return
     
    14981498        fnclex
    14991499
     1500        ;
     1501        ; #PF vs previous stack overflow. I.e. whether pending FPU exception
     1502        ; is checked before fetching memory operands.
     1503        ;
     1504        mov     dword [xSP], X86_FCW_PC_64 | X86_FCW_RC_NEAREST
     1505        fldcw   [xSP]
     1506        fld     qword REF(.r64V1)
     1507        ShouldTrap X86_XCPT_MF, fld     dword [xDI]
     1508        fnclex
     1509
     1510        ;
     1511        ; What happens when we unmask an exception and fwait?
     1512        ;
     1513        mov     dword [xSP], X86_FCW_PC_64 | X86_FCW_RC_NEAREST | X86_FCW_IM
     1514        fldcw   [xSP]
     1515        fld     dword [xSI]
     1516        fwait
     1517        FpuCheckFSW X86_FSW_IE | X86_FSW_SF | X86_FSW_C1, X86_FSW_C0 | X86_FSW_C2 | X86_FSW_C3
     1518        mov     dword [xSP], X86_FCW_PC_64 | X86_FCW_RC_NEAREST
     1519        fldcw   [xSP]
     1520        FpuCheckFSW X86_FSW_ES | X86_FSW_B | X86_FSW_IE | X86_FSW_SF | X86_FSW_C1, X86_FSW_C0 | X86_FSW_C2 | X86_FSW_C3
     1521
     1522        ShouldTrap X86_XCPT_MF, fwait
     1523        ShouldTrap X86_XCPT_MF, fwait
     1524        ShouldTrap X86_XCPT_MF, fwait
     1525        fnclex
     1526
    15001527
    15011528.success:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette