VirtualBox

Ignore:
Timestamp:
Mar 3, 2023 12:03:11 PM (21 months ago)
Author:
vboxsync
Message:

ValidationKit/bs3-cpu-instr-2: Add adcx/adox testcase, bugref:9898

File:
1 edited

Legend:

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

    r98103 r98828  
    641641
    642642;
     643; ADCX
     644;
     645BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adcx_EAX_EBX_icebp
     646        adcx    eax, ebx
     647.again:
     648        icebp
     649        jmp     .again
     650BS3_PROC_END_CMN            bs3CpuInstr2_adcx_EAX_EBX_icebp
     651
     652 %if TMPL_BITS == 64
     653BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adcx_RAX_RBX_icebp
     654        adcx    rax, rbx
     655.again:
     656        icebp
     657        jmp     .again
     658BS3_PROC_END_CMN            bs3CpuInstr2_adcx_RAX_RBX_icebp
     659 %endif
     660
     661BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adcx_EAX_dword_FSxBX_icebp
     662        adcx    eax, dword [fs:xBX]
     663.again:
     664        icebp
     665        jmp     .again
     666BS3_PROC_END_CMN            bs3CpuInstr2_adcx_EAX_dword_FSxBX_icebp
     667
     668 %if TMPL_BITS == 64
     669BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adcx_RAX_qword_FSxBX_icebp
     670        adcx    rax, qword [fs:xBX]
     671.again:
     672        icebp
     673        jmp     .again
     674BS3_PROC_END_CMN            bs3CpuInstr2_adcx_RAX_qword_FSxBX_icebp
     675 %endif
     676
     677
     678;
     679; ADOX
     680;
     681BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adox_EAX_EBX_icebp
     682        adox    eax, ebx
     683.again:
     684        icebp
     685        jmp     .again
     686BS3_PROC_END_CMN            bs3CpuInstr2_adox_EAX_EBX_icebp
     687
     688 %if TMPL_BITS == 64
     689BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adox_RAX_RBX_icebp
     690        adox    rax, rbx
     691.again:
     692        icebp
     693        jmp     .again
     694BS3_PROC_END_CMN            bs3CpuInstr2_adox_RAX_RBX_icebp
     695 %endif
     696
     697BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adox_EAX_dword_FSxBX_icebp
     698        adox    eax, dword [fs:xBX]
     699.again:
     700        icebp
     701        jmp     .again
     702BS3_PROC_END_CMN            bs3CpuInstr2_adox_EAX_dword_FSxBX_icebp
     703
     704 %if TMPL_BITS == 64
     705BS3CPUINSTR2_PROC_BEGIN_CMN bs3CpuInstr2_adox_RAX_qword_FSxBX_icebp
     706        adox    rax, qword [fs:xBX]
     707.again:
     708        icebp
     709        jmp     .again
     710BS3_PROC_END_CMN            bs3CpuInstr2_adox_RAX_qword_FSxBX_icebp
     711 %endif
     712
     713
     714;
    643715; CMPXCHG16B
    644716;
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