tcg: Increase minimum alignment from tcg_malloc to 8
commit13aaef678ed377b12b76dc7fb9e615b2f2f9047b
authorRichard Henderson <rth@twiddle.net>
Wed, 2 Aug 2017 21:50:04 +0000 (2 14:50 -0700)
committerRichard Henderson <rth@twiddle.net>
Thu, 3 Aug 2017 18:00:30 +0000 (3 11:00 -0700)
tree09e909211ba5944c2ad0697c5b56561146723b93
parentde4e05d1e557882d5e0f55a50cb2b501b40de060
tcg: Increase minimum alignment from tcg_malloc to 8

For a 64-bit ILP32 host, aligning to sizeof(long) is not enough.
Guess the minimum for any host is 8, as that covers uint64_t.
Qemu doesn't use a host long double or host vectors, except in
extremely limited circumstances.

Fixes a bus error for a sparc v8plus host.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/tcg.h