diff options
author | Richard Henderson <rth@twiddle.net> | 2013-08-10 15:28:48 -0400 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2014-04-16 12:12:58 -0400 |
commit | c6e310d938d3348a7a4c56e4bd8a25d12677f1e1 (patch) | |
tree | 012c71b0673b455f17461f5d46c4a851e8207060 /qemu-char.c | |
parent | d8918df577c9e3f2281d24c6c29d37df12bff2da (diff) |
tcg-aarch64: Use adrp in tcg_out_movi
Loading an qemu pointer as an immediate happens often. E.g.
- exit_tb $0x7fa8140013
+ exit_tb $0x7f81ee0013
...
- : d2800260 mov x0, #0x13
- : f2b50280 movk x0, #0xa814, lsl #16
- : f2c00fe0 movk x0, #0x7f, lsl #32
+ : 90ff1000 adrp x0, 0x7f81ee0000
+ : 91004c00 add x0, x0, #0x13
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions