diff options
| author | Xin Li (Intel) <xin@zytor.com> | 2025-01-03 00:48:27 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-03 22:42:46 +0200 |
| commit | 91084f3b44b1da4935eec85b79c1f97d1c140ada (patch) | |
| tree | d04226c983ba92368e26ca005081c78c251dac1a /target/i386/cpu.c | |
| parent | 99216748fd4e2b25dc0a7609e8a4fecea4c3eaf4 (diff) | |
| download | focaccia-qemu-91084f3b44b1da4935eec85b79c1f97d1c140ada.tar.gz focaccia-qemu-91084f3b44b1da4935eec85b79c1f97d1c140ada.zip | |
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>
Diffstat (limited to 'target/i386/cpu.c')
| -rw-r--r-- | target/i386/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index b05f465e2e..40aefb38f6 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1155,7 +1155,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = { .type = CPUID_FEATURE_WORD, .feat_names = { NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, + NULL, "msr-imm", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |