VirtualBox

Ignore:
Timestamp:
Jun 27, 2022 5:49:40 PM (2 years ago)
Author:
vboxsync
Message:

ValKit/bs3kit,bs3-cpu-instr-3: 128 and 256 bit wide vxorps, alignment checks. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h

    r95376 r95397  
    29162916
    29172917/**
     2918 * Gets the value of XMM register number @a iReg from @a pExtCtx.
     2919 *
     2920 * @returns pValue
     2921 * @param   pExtCtx         The extended CPU context.
     2922 * @param   iReg            The register to get.
     2923 * @param   pValue          Where to return the value. Zeroed if the state
     2924 *                          doesn't support SSE or if @a iReg is invalid.
     2925 */
     2926BS3_CMN_PROTO_STUB(PRTUINT128U, Bs3ExtCtxGetXmm,(PCBS3EXTCTX pExtCtx, uint8_t iReg, PRTUINT128U pValue));
     2927
     2928/**
     2929 * Sets the value of XMM register number @a iReg in @a pExtCtx to @a pValue.
     2930 *
     2931 * @returns True if set, false if not set (not supported by state format or
     2932 *          invalid iReg).
     2933 * @param   pExtCtx         The extended CPU context.
     2934 * @param   iReg            The register to set.
     2935 * @param   pValue          The new register value.
     2936 */
     2937BS3_CMN_PROTO_STUB(bool, Bs3ExtCtxSetXmm,(PBS3EXTCTX pExtCtx, uint8_t iReg, PCRTUINT128U pValue));
     2938
     2939/**
    29182940 * Gets the value of YMM register number @a iReg from @a pExtCtx.
    29192941 *
     
    29352957 * @param   iReg            The register to set.
    29362958 * @param   pValue          The new register value.
    2937  * @param   f128Bit         A little peculiarity grown from mixing SSE and AVX
    2938  *                          tests:  When set to true only the lower 128 bits of
    2939  *                          the YMM register will be set. The upper bits are
    2940  *                          untouched.  When false, the whole 256-bits value
    2941  *                          will be set.
    2942  */
    2943 BS3_CMN_PROTO_STUB(bool, Bs3ExtCtxSetYmm,(PBS3EXTCTX pExtCtx, uint8_t iReg, PCRTUINT256U pValue, bool f128Bit));
     2959 * @param   cbValue         Number of bytes to take from @a pValue, either 16 or
     2960 *                          32. If 16, the high part will be zeroed when present
     2961 *                          in the state.
     2962 */
     2963BS3_CMN_PROTO_STUB(bool, Bs3ExtCtxSetYmm,(PBS3EXTCTX pExtCtx, uint8_t iReg, PCRTUINT256U pValue, uint8_t cbValue));
    29442964
    29452965
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