OSDN Git Service

tcg/i386: Use ANDN instruction
authorRichard Henderson <rth@twiddle.net>
Tue, 28 Jan 2014 05:49:17 +0000 (21:49 -0800)
committerRichard Henderson <rth@twiddle.net>
Mon, 17 Feb 2014 16:12:29 +0000 (10:12 -0600)
commit9d2eec202fad72ce05ee8d54dc5a6fb6dcb87776
treee7b9979547acc0c3b4ef5855d1c9783674674046
parentecc7e84327c1c8e9b006edfaa5d0e3baf35a3f99
tcg/i386: Use ANDN instruction

Note that the optimizer cannot simplify ANDC X,Y,C to AND X,Y,~C
so we must handle constants in the implementation of andc.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/i386/tcg-target.c
tcg/i386/tcg-target.h