VirtualBox

Changeset 104649 in vbox


Ignore:
Timestamp:
May 16, 2024 8:52:06 AM (7 months ago)
Author:
vboxsync
Message:

ValidationKit/bootsectors: bugref:10658 SIMD FP testcase: Removed special traphandler code since we don't use it currently (also it wasn't fully working anyway).

Location:
trunk/src/VBox/ValidationKit/bootsectors
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk

    r104647 r104649  
    452452 bs3-cpu-instr-4_TEMPLATE = VBoxBS3KitImg
    453453 bs3-cpu-instr-4_INCS = . $(bs3-cpu-instr-4_0_OUTDIR)
    454  bs3-cpu-instr-4_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-instr-4-traphandler.c
    455  bs3-cpu-instr-4_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-instr-4-traphandler.c
    456454 bs3-cpu-instr-4_SOURCES = \
    457455        bs3kit/bs3-first-init-all-pe32.asm \
    458         bs3kit/bs3-cmn-instantiate-x0.c16 \
    459         bs3kit/bs3-cmn-instantiate.c32 \
    460         bs3kit/bs3-cmn-instantiate.c64 \
    461456        bs3-cpu-instr-4.c32 \
    462457        bs3-cpu-instr-4-asm.asm
    463458 bs3-cpu-instr-4.c32_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h
    464  bs3-cpu-instr-4_bs3kit/bs3-cmn-instantiate-x0.c16_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h
    465  bs3-cpu-instr-4_bs3kit/bs3-cmn-instantiate.c32_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h
    466  bs3-cpu-instr-4_bs3kit/bs3-cmn-instantiate.c64_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h
    467459 bs3-cpu-instr-4_CLEANS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h
    468460 
     
    472464 
    473465 bs3-cpu-instr-4-template.o:: \
    474                 $$(bs3-cpu-instr-4_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \
    475                 $$(bs3-cpu-instr-4_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \
    476                 $$(bs3-cpu-instr-4_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \
    477466                $$(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm.o16
    478467
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4-asm.asm

    r104645 r104649  
    11; $Id$
    22;; @file
    3 ; BS3Kit - bs3-cpu-instr-4
     3; BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions.
    44;
    55
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4-template.mac

    r104645 r104649  
    11; $Id$
    22;; @file
    3 ; BS3Kit - bs3-cpu-instr-4 - MMX, SSE, AVX FPU instructions, assembly template.
     3; BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions, assembly template.
    44;
    55
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32

    r104648 r104649  
    11/* $Id$ */
    22/** @file
    3  * BS3Kit - bs3-cpu-instr-4 - SSE and AVX FPU instructions, C code template.
     3 * BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions, C code template.
    44 */
    55
     
    4444#include <iprt/asm.h>
    4545#include <iprt/asm-amd64-x86.h>
    46 
    47 
    48 /*********************************************************************************************************************************
    49 *   External Symbols                                                                                                             *
    50 *********************************************************************************************************************************/
    51 BS3TRAPFRAME volatile       g_Bs3CpuInstr4TrapFrame;
    52 /** The extended CPU context to save from the trap handler. */
    53 BS3EXTCTX volatile          g_Bs3CpuInstr4ExtCtxTrap;
    54 /** Whether the trap handler was called. */
    55 bool volatile               g_Bs3CpuInstr4TrapRaised;
    56 
    57 extern FNBS3TRAPHANDLER16   bs3CpuInstr4TrapHandler_c16;
    58 extern FNBS3TRAPHANDLER32   bs3CpuInstr4TrapHandler_c32;
    59 extern FNBS3TRAPHANDLER64   bs3CpuInstr4TrapHandler_c64;
    6046
    6147
     
    828814     * Prepare globals and execute.
    829815     */
    830     g_Bs3CpuInstr4TrapRaised = false;
    831816    g_uBs3TrapEipHint = pCtx->rip.u32;
    832817    if (    bXcptExpect == X86_XCPT_DB
    833818        && !fFpFlagsExpect)
    834819        g_uBs3TrapEipHint += cbInstr + 1;
    835     //Bs3MemZero((void *)&g_Bs3CpuInstr4TrapFrame, sizeof(g_Bs3CpuInstr4TrapFrame));
    836     //Bs3TrapSetHandlerEx(bFpXcpt, bs3CpuInstr4TrapHandler_c16, bs3CpuInstr4TrapHandler_c32, bs3CpuInstr4TrapHandler_c64);
    837820    Bs3TrapSetJmpAndRestoreWithExtCtxAndRm(pCtx, pExtCtx, pTrapFrame, pExtCtxOut);
    838821
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