From 566f31a42ee19b4544821713eb7e1cc1aeccd420 Mon Sep 17 00:00:00 2001 From: Chung-Ju Wu Date: Sun, 18 Mar 2018 06:44:31 +0000 Subject: [PATCH] [NDS32] Fix wrong MAX_REGS_PER_ADDRESS value. gcc/ * config/nds32/nds32.h (MAX_REGS_PER_ADDRESS): Fix the value. From-SVN: r258629 --- gcc/ChangeLog | 4 ++++ gcc/config/nds32/nds32.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea9ada66865..601cf5962f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-03-18 Chung-Ju Wu + + * config/nds32/nds32.h (MAX_REGS_PER_ADDRESS): Fix the value. + 2018-03-18 Chung-Ju Wu * config/nds32/nds32.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Define. diff --git a/gcc/config/nds32/nds32.h b/gcc/config/nds32/nds32.h index ed6de26cf6e..377606775bc 100644 --- a/gcc/config/nds32/nds32.h +++ b/gcc/config/nds32/nds32.h @@ -851,7 +851,7 @@ enum reg_class #define CONSTANT_ADDRESS_P(x) (CONSTANT_P (x) && GET_CODE (x) != CONST_DOUBLE) -#define MAX_REGS_PER_ADDRESS 2 +#define MAX_REGS_PER_ADDRESS 3 /* Anchored Addresses. */ -- 2.30.2