diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2023-12-01 18:53:40 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-08-18 14:23:04 +0200 |
| commit | 0cb6f1e436accba7882bb3115408d1474c1e14af (patch) | |
| tree | c93a3d92703a588d93ad027af57407664f76d72a /rust/helpers/err.c | |
| parent | c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff) | |
KVM: x86: Implement test_cc() in C
Current test_cc() uses the fastop infrastructure to test flags using
SETcc instructions. However, int3_emulate_jcc() already fully
implements the flags->CC mapping, use that.
Removes a pile of gnarly asm.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Sean Christopherson <seanjc@google.com>
Link: https://lkml.kernel.org/r/20250714103439.637049932@infradead.org
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions
