2018-04-22 Chung-Ju Wu <jasonwucj@gmail.com>
+ * config/nds32/nds32.c
+ (TARGET_HARD_REGNO_MODE_OK): Move to the bottom of file.
+ (TARGET_MODES_TIEABLE_P): Likewise.
+
+2018-04-22 Chung-Ju Wu <jasonwucj@gmail.com>
+
* config/nds32/nds32.c (nds32_asm_file_start): Display optimization
level Ofast and Og.
return false;
}
-#undef TARGET_HARD_REGNO_MODE_OK
-#define TARGET_HARD_REGNO_MODE_OK nds32_hard_regno_mode_ok
-
/* Implement TARGET_MODES_TIEABLE_P. We can use general registers to
tie QI/HI/SI modes together. */
return false;
}
-
-#undef TARGET_MODES_TIEABLE_P
-#define TARGET_MODES_TIEABLE_P nds32_modes_tieable_p
\f
/* Register Classes. */
#undef TARGET_HARD_REGNO_NREGS
#define TARGET_HARD_REGNO_NREGS nds32_hard_regno_nregs
+#undef TARGET_HARD_REGNO_MODE_OK
+#define TARGET_HARD_REGNO_MODE_OK nds32_hard_regno_mode_ok
+
+#undef TARGET_MODES_TIEABLE_P
+#define TARGET_MODES_TIEABLE_P nds32_modes_tieable_p
+
/* -- Handling Leaf Functions. */
/* -- Registers That Form a Stack. */