tcg/arm: Remove limit on code buffer size

Since we're no longer using a direct branch, we have no
limit on the branch distance.

Backports commit acb0b292b6d0f49972dc98f742e79ed53973e438 from qemu
This commit is contained in:
Richard Henderson 2018-03-03 17:11:44 -05:00 committed by Lioncash
parent 68275ba6f3
commit a5133ccaa1
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -503,8 +503,6 @@ static inline PageDesc *page_find(struct uc_struct *uc, tb_page_addr_t index)
# define MAX_CODE_GEN_BUFFER_SIZE (2ul * 1024 * 1024 * 1024)
#elif defined(__aarch64__)
# define MAX_CODE_GEN_BUFFER_SIZE (128ul * 1024 * 1024)
#elif defined(__arm__)
# define MAX_CODE_GEN_BUFFER_SIZE (16u * 1024 * 1024)
#elif defined(__s390x__)
/* We have a +- 4GB range on the branches; leave some slop. */
# define MAX_CODE_GEN_BUFFER_SIZE (3ul * 1024 * 1024 * 1024)