[gcc(refs/users/marxin/heads/vect_cond_expr-rework-v4)] Define TRY_EMPTY_VM_SPACE for riscv64-linux

Martin Liska marxin@gcc.gnu.org
Tue Mar 31 09:27:50 GMT 2020


https://gcc.gnu.org/g:48e331d63827a0500670d685c0fe7d609e0a807a

commit 48e331d63827a0500670d685c0fe7d609e0a807a
Author: Andreas Schwab <schwab@suse.de>
Date:   Sun Mar 29 20:52:36 2020 +0200

    Define TRY_EMPTY_VM_SPACE for riscv64-linux
    
    * config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]:
    Define.

Diff:
---
 gcc/ChangeLog           | 5 +++++
 gcc/config/host-linux.c | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 43015c6541d..ace41d0efe6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-30  Andreas Schwab  <schwab@suse.de>
+
+	* config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]:
+	Define.
+
 2020-03-30  Will Schmidt  <will_schmidt@vnet.ibm.com>
 
 	* config/rs6000/rs6000-call.c altivec_init_builtins(): Remove code
diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c
index ee1d520ede3..26872544130 100644
--- a/gcc/config/host-linux.c
+++ b/gcc/config/host-linux.c
@@ -96,6 +96,8 @@
 # define TRY_EMPTY_VM_SPACE	0x8000000000
 #elif defined(__mips__)
 # define TRY_EMPTY_VM_SPACE	0x60000000
+#elif defined(__riscv) && defined (__LP64__)
+# define TRY_EMPTY_VM_SPACE	0x1000000000
 #else
 # define TRY_EMPTY_VM_SPACE	0
 #endif


More information about the Gcc-cvs mailing list