[NDS32] Fix wrong MAX_REGS_PER_ADDRESS value.
authorChung-Ju Wu <jasonwucj@gmail.com>
Sun, 18 Mar 2018 06:44:31 +0000 (06:44 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 18 Mar 2018 06:44:31 +0000 (06:44 +0000)
gcc/
* config/nds32/nds32.h (MAX_REGS_PER_ADDRESS): Fix the value.

From-SVN: r258629

gcc/ChangeLog
gcc/config/nds32/nds32.h

index ea9ada668654e7c508fe727f703aea2b037e5137..601cf5962f34d2ef679dcac692f80af1d395c1e1 100644 (file)
@@ -1,3 +1,7 @@
+2018-03-18  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * config/nds32/nds32.h (MAX_REGS_PER_ADDRESS): Fix the value.
+
 2018-03-18  Chung-Ju Wu  <jasonwucj@gmail.com>
 
        * config/nds32/nds32.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Define.
index ed6de26cf6e82f21c789ae425e66e38c54c63076..377606775bc4486ad23bb68ff9c6e5852a71385b 100644 (file)
@@ -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
 
 \f
 /* Anchored Addresses.  */