Hello.
This patch removes obsolete REGISTER_MOVE_COST macro from SPARC back end in
the GCC and introduces equivalent TARGET_REGISTER_MOVE_COST target hooks.
Bootstrapped and regression tested on sparc64-unknown-linux-gnu.
OK to install?
* config/sparc/sparc.h (GENERAL_OR_I64,
* config/sparc/sparc.h (GENERAL_OR_I64, REGISTER_MOVE_COST):
Remove. * config/sparc/sparc.c (TARGET_REGISTER_MOVE_COST): Define.
(general_or_i64_p, sparc_register_move_cost): New function.
OK modulo:
@@ -9124,6 +9128,36 @@
}
}
+static inline bool
+general_or_i64_p