From 38a711ca51c4a9981911f29b91a2a5bfe4fa449f Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sun, 22 May 2016 02:29:48 -0700 Subject: [PATCH] gcc: increase threshold for RV32 inline copies --- gcc/gcc/config/riscv/riscv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/gcc/config/riscv/riscv.h b/gcc/gcc/config/riscv/riscv.h index 7c49be0d..e4f2a4fc 100644 --- a/gcc/gcc/config/riscv/riscv.h +++ b/gcc/gcc/config/riscv/riscv.h @@ -1017,7 +1017,7 @@ while (0) /* The maximum number of bytes that can be copied by one iteration of a movmemsi loop; see riscv_block_move_loop. */ -#define RISCV_MAX_MOVE_BYTES_PER_LOOP_ITER (UNITS_PER_WORD * 4) +#define RISCV_MAX_MOVE_BYTES_PER_LOOP_ITER 32 /* The maximum number of bytes that can be copied by a straight-line implementation of movmemsi; see riscv_block_move_straight. We want