Test failures have been reported by some LLVM developers in regards to
the low value of of the location where the memory is being mapped into
the virtual address space as it causes problems with some default
configurations of vm.mmap_min_addr. This patch sets it to 2^20 (1048576)
to alleviate this issues as most distros seem to use a default value of
65536.
# CHECK-NEXT: value: {{.*}}, per_snippet_value: {{.*}}
# LLVM-EXEGESIS-MEM-DEF test1 4096 2147483647
-# LLVM-EXEGESIS-MEM-MAP test1 8192
+# LLVM-EXEGESIS-MEM-MAP test1 1048576
# LLVM-EXEGESIS-LIVEIN R14
-movq $8192, %rax
+movq $1048576, %rax
movq %r14, (%rax)
# CHECK-NEXT: value: {{.*}}, per_snippet_value: {{.*}}
# LLVM-EXEGESIS-MEM-DEF test1 4096 2147483647
-# LLVM-EXEGESIS-MEM-MAP test1 8192
+# LLVM-EXEGESIS-MEM-MAP test1 1048576
-movq $8192, %rax
+movq $1048576, %rax
movq (%rax), %rdi