Home
last modified time | relevance | path

Searched hist:"75 eea5101b1b9477300ba7de9ddfb2488cc25689" (Results 1 – 1 of 1) sorted by relevance

/kvm-unit-tests/x86/
H A Ddebug.c75eea5101b1b9477300ba7de9ddfb2488cc25689 Mon Sep 09 21:00:35 UTC 2019 Bill Wendling <morbo@google.com> x86: debug: use a constraint that doesn't allow a memory operand

The "lea" instruction cannot load the effective address into a memory
location. The "g" constraint allows a compiler to use a memory location.
A compiler that uses a register destination does so only because one is
available. Use a general register constraint to make sure it always uses
a register.

Signed-off-by: Bill Wendling <morbo@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>