freebsd-dev/sys/amd64/vmm
Rodney W. Grimes e4da41f932 Emulate the "TEST r/m{16,32,64}, imm{16,32,32}" instructions (opcode F7H).
This adds emulation for:
	test r/m16, imm16
	test r/m32, imm32
	test r/m64, imm32 sign-extended to 64

OpenBSD guests compiled with clang 8.0.0 use TEST directly against a
Local APIC register instead of separate read via MOV followed by a
TEST against the register.

PR:		238794
Submitted by:	jhb
Reported by:	Jason Tubnor jason@tubnor.net
Tested by:	Jason Tubnor jason@tubnor.net
Reviewed by:	markj, Patrick Mooney patrick.mooney@joyent.com
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D20755
2019-06-26 21:19:43 +00:00
..
amd Add accessor function for vm->maxcpus 2019-04-25 22:51:36 +00:00
intel Implement VT-d capability detection on chipsets that have multiple 2019-06-19 06:41:07 +00:00
io Support MSI-X for passthrough devices with a separate PBA BAR. 2019-06-05 19:30:32 +00:00
vmm_dev.c Add accessor function for vm->maxcpus 2019-04-25 22:51:36 +00:00
vmm_host.c
vmm_host.h
vmm_instruction_emul.c Emulate the "TEST r/m{16,32,64}, imm{16,32,32}" instructions (opcode F7H). 2019-06-26 21:19:43 +00:00
vmm_ioport.c
vmm_ioport.h
vmm_ktr.h
vmm_lapic.c Add accessor function for vm->maxcpus 2019-04-25 22:51:36 +00:00
vmm_lapic.h
vmm_mem.c
vmm_mem.h
vmm_stat.c Add accessor function for vm->maxcpus 2019-04-25 22:51:36 +00:00
vmm_stat.h
vmm_util.c
vmm_util.h
vmm.c Provide separate accounting for user-wired pages. 2019-05-13 16:38:48 +00:00
x86.c Expose the MD_CLEAR capability used by Intel MDS mitigations to guests. 2019-05-18 21:20:38 +00:00
x86.h vmm(4): Take steps towards multicore bhyve AMD support 2019-01-16 02:19:04 +00:00