OSDN Git Service

tcg/arm: Restrict constant pool displacement to 12 bits
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 25 Apr 2019 17:39:39 +0000 (10:39 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 25 Apr 2019 17:39:39 +0000 (10:39 -0700)
commitb4b82d7e9caff7ccca5c621817b5a4b8e95eb9b1
tree15e31c7944b7db44e30fdeeac25430d13d45771d
parenta7cdaf710f2aaaf0be855a338dd67463d4bb99e2
tcg/arm: Restrict constant pool displacement to 12 bits

This will not necessarily restrict the size of the TB, since for v7
the majority of constant pool usage is for calls from the out-of-line
ldst code, which is already at the end of the TB.  But this does
allow us to save one insn per reference on the off-chance.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/arm/tcg-target.inc.c