Home
last modified time | relevance | path

Searched hist:"405 c7c07082b4f9d11500659c849657297f0d065" (Results 1 – 5 of 5) sorted by relevance

/qemu/target/i386/tcg/
H A Ddecode-new.h405c7c07082b4f9d11500659c849657297f0d065 Tue Oct 10 08:31:39 UTC 2023 Paolo Bonzini <pbonzini@redhat.com> target/i386: implement CMPccXADD

The main difficulty here is that a page fault when writing to the destination
must not overwrite the flags. Therefore, the flags computation must be
inlined instead of using gen_jcc1*.

For simplicity, I am using an unconditional cmpxchg operation, that becomes
a NOP if the comparison fails.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Ddecode-new.c.inc405c7c07082b4f9d11500659c849657297f0d065 Tue Oct 10 08:31:39 UTC 2023 Paolo Bonzini <pbonzini@redhat.com> target/i386: implement CMPccXADD

The main difficulty here is that a page fault when writing to the destination
must not overwrite the flags. Therefore, the flags computation must be
inlined instead of using gen_jcc1*.

For simplicity, I am using an unconditional cmpxchg operation, that becomes
a NOP if the comparison fails.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Demit.c.inc405c7c07082b4f9d11500659c849657297f0d065 Tue Oct 10 08:31:39 UTC 2023 Paolo Bonzini <pbonzini@redhat.com> target/i386: implement CMPccXADD

The main difficulty here is that a page fault when writing to the destination
must not overwrite the flags. Therefore, the flags computation must be
inlined instead of using gen_jcc1*.

For simplicity, I am using an unconditional cmpxchg operation, that becomes
a NOP if the comparison fails.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dtranslate.c405c7c07082b4f9d11500659c849657297f0d065 Tue Oct 10 08:31:39 UTC 2023 Paolo Bonzini <pbonzini@redhat.com> target/i386: implement CMPccXADD

The main difficulty here is that a page fault when writing to the destination
must not overwrite the flags. Therefore, the flags computation must be
inlined instead of using gen_jcc1*.

For simplicity, I am using an unconditional cmpxchg operation, that becomes
a NOP if the comparison fails.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/target/i386/
H A Dcpu.c405c7c07082b4f9d11500659c849657297f0d065 Tue Oct 10 08:31:39 UTC 2023 Paolo Bonzini <pbonzini@redhat.com> target/i386: implement CMPccXADD

The main difficulty here is that a page fault when writing to the destination
must not overwrite the flags. Therefore, the flags computation must be
inlined instead of using gen_jcc1*.

For simplicity, I am using an unconditional cmpxchg operation, that becomes
a NOP if the comparison fails.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>