< prev index next > src/hotspot/cpu/aarch64/register_aarch64.hpp
Print this page
int operator==(const Register r) const { return _encoding == r._encoding; }
int operator!=(const Register r) const { return _encoding != r._encoding; }
constexpr const RegisterImpl* operator->() const { return RegisterImpl::first() + _encoding; }
+
+ // Actually available GP registers for use, depending on actual CPU capabilities and flags.
+ static int available_gp_registers() {
+ return number_of_registers;
+ }
};
extern Register::RegisterImpl all_RegisterImpls[Register::number_of_declared_registers + 1] INTERNAL_VISIBILITY;
inline constexpr const Register::RegisterImpl* Register::RegisterImpl::first() {
< prev index next >