Re: [kvm-unit-tests PATCH] x86: debug: use a constraint that doesn't allow a memory operand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Plain text now. Sorry for spam.


On Tue, Sep 24, 2019 at 12:33 PM Bill Wendling <morbo@xxxxxxxxxx> wrote:
>
> + Paolo Bonzini, Radim Krčmář
>
> On Wed, Sep 11, 2019 at 12:01 PM Sean Christopherson <sean.j.christopherson@xxxxxxxxx> wrote:
>>
>> On Mon, Sep 09, 2019 at 02:00:35PM -0700, Bill Wendling wrote:
>> > 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@xxxxxxxxxx>
>> > ---
>>
>> Reviewed-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux