VirtualBox

Changeset 103608 in vbox


Ignore:
Timestamp:
Feb 29, 2024 2:20:34 AM (9 months ago)
Author:
vboxsync
Message:

ValKit/bs3-cpu-instr-2: Added a bunch of tests for binary arithmetic/logical/bit-test-modify instruction (add, sub, cmp, test, and, ...). (This is a little reminiscent of early tstIEMAImpl, but we're severly space limited here, so don't worry about the data source-file size or compile times.) [build fix] bugref:10376

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-2-gen.cpp

    r103602 r103608  
    316316                        uint32_t          fEflOut = s_aInstr[iInstr].a_pfnMember(uSrc1, uSrc2, 0 /*fCarry*/, &uResult) \
    317317                                                  & X86_EFL_STATUS_BITS; \
    318                         if (iTry < _1M && (fEflOut & fMustBeClear) || (~fEflOut & fMustBeSet)) \
     318                        if (iTry < _1M && ((fEflOut & fMustBeClear) || (~fEflOut & fMustBeSet))) \
    319319                            continue; \
    320320                        fSet   |= fEflOut; \
Note: See TracChangeset for help on using the changeset viewer.

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