]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Add the immediate form MSR access instruction support
authorXin Li (Intel) <xin@zytor.com>
Fri, 3 Jan 2025 08:48:27 +0000 (00:48 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Jun 2025 20:42:46 +0000 (22:42 +0200)
commit91084f3b44b1da4935eec85b79c1f97d1c140ada
treed04226c983ba92368e26ca005081c78c251dac1a
parent99216748fd4e2b25dc0a7609e8a4fecea4c3eaf4
target/i386: Add the immediate form MSR access instruction support

The immediate form of MSR access instructions are primarily motivated by
performance, not code size: by having the MSR number in an immediate, it
is available *much* earlier in the pipeline, which allows the hardware
much more leeway about how a particular MSR is handled.

Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Link: https://lore.kernel.org/r/20250103084827.1820007-4-xin@zytor.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h