diff options
author | Chung-Ju Wu <jasonwucj@gmail.com> | 2018-03-18 06:44:31 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2018-03-18 06:44:31 +0000 |
commit | 566f31a42ee19b4544821713eb7e1cc1aeccd420 (patch) | |
tree | 44862e17abd510c9a42ee9dde756193e5d0731c7 /gcc | |
parent | 08ed6d295585c3e0433a16303fdbd42e4ef1cc1b (diff) | |
download | gcc-566f31a42ee19b4544821713eb7e1cc1aeccd420.zip gcc-566f31a42ee19b4544821713eb7e1cc1aeccd420.tar.gz gcc-566f31a42ee19b4544821713eb7e1cc1aeccd420.tar.bz2 |
[NDS32] Fix wrong MAX_REGS_PER_ADDRESS value.
gcc/
* config/nds32/nds32.h (MAX_REGS_PER_ADDRESS): Fix the value.
From-SVN: r258629
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/nds32/nds32.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea9ada6..601cf59 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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. 2018-03-18 Chung-Ju Wu <jasonwucj@gmail.com> diff --git a/gcc/config/nds32/nds32.h b/gcc/config/nds32/nds32.h index ed6de26..3776067 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. */ |