]> git.proxmox.com Git - mirror_qemu.git/commit
tcg-aarch64: Handle constant operands to and, or, xor
authorRichard Henderson <rth@twiddle.net>
Wed, 14 Aug 2013 18:27:03 +0000 (11:27 -0700)
committerRichard Henderson <rth@twiddle.net>
Fri, 14 Mar 2014 17:59:47 +0000 (10:59 -0700)
commite029f29385d0f9116c717d2e7a9c55d4bac8fe8a
treee04a3ea24d7b231a271a88d9e4df1f13f67e8825
parent90f1cd9138deba50a6ff15a7f520c8e35ae870ac
tcg-aarch64: Handle constant operands to and, or, xor

Handle a simplified set of logical immediates for the moment.

The way gcc and binutils do it, with 52k worth of tables, and
a binary search depth of log2(5334) = 13, seems slow for the
most common cases.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Tested-by: Claudio Fontana <claudio.fontana@huawei.com>
tcg/aarch64/tcg-target.c