8253040: Remove unused Matcher::regnum_to_fpu_offset()
Reviewed-by: adityam, vlivanov
This commit is contained in:
parent
7c564e13ee
commit
fbf4699d23
@ -2410,12 +2410,6 @@ const int Matcher::float_pressure(int default_pressure_threshold) {
|
||||
return default_pressure_threshold;
|
||||
}
|
||||
|
||||
int Matcher::regnum_to_fpu_offset(int regnum)
|
||||
{
|
||||
Unimplemented();
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Is this branch offset short enough that a short branch can be used?
|
||||
//
|
||||
// NOTE: If the platform does not provide any short branch variants, then
|
||||
|
@ -997,10 +997,6 @@ const int Matcher::float_pressure(int default_pressure_threshold) {
|
||||
return default_pressure_threshold;
|
||||
}
|
||||
|
||||
int Matcher::regnum_to_fpu_offset(int regnum) {
|
||||
return regnum - 32; // The FP registers are in the second chunk
|
||||
}
|
||||
|
||||
// Vector width in bytes
|
||||
const int Matcher::vector_width_in_bytes(BasicType bt) {
|
||||
return MaxVectorSize;
|
||||
|
@ -2165,12 +2165,6 @@ const int Matcher::float_pressure(int default_pressure_threshold) {
|
||||
return default_pressure_threshold;
|
||||
}
|
||||
|
||||
int Matcher::regnum_to_fpu_offset(int regnum) {
|
||||
// No user for this method?
|
||||
Unimplemented();
|
||||
return 999;
|
||||
}
|
||||
|
||||
const bool Matcher::convL2FSupported(void) {
|
||||
// fcfids can do the conversion (>= Power7).
|
||||
// fcfid + frsp showed rounding problem when result should be 0x3f800001.
|
||||
|
@ -1569,11 +1569,6 @@ const bool Matcher::match_rule_supported_vector(int opcode, int vlen, BasicType
|
||||
return ret_value; // Per default match rules are supported.
|
||||
}
|
||||
|
||||
int Matcher::regnum_to_fpu_offset(int regnum) {
|
||||
ShouldNotReachHere();
|
||||
return regnum - 32; // The FP registers are in the second chunk.
|
||||
}
|
||||
|
||||
const bool Matcher::has_predicated_vectors(void) {
|
||||
return false;
|
||||
}
|
||||
|
@ -1371,10 +1371,6 @@ uint MachUEPNode::size(PhaseRegAlloc *ra_) const {
|
||||
|
||||
//=============================================================================
|
||||
|
||||
int Matcher::regnum_to_fpu_offset(int regnum) {
|
||||
return regnum - 32; // The FP registers are in the second chunk
|
||||
}
|
||||
|
||||
// This is UltraSparc specific, true just means we have fast l2f conversion
|
||||
const bool Matcher::convL2FSupported(void) {
|
||||
return true;
|
||||
|
@ -1578,11 +1578,6 @@ uint MachUEPNode::size(PhaseRegAlloc* ra_) const
|
||||
|
||||
//=============================================================================
|
||||
|
||||
int Matcher::regnum_to_fpu_offset(int regnum)
|
||||
{
|
||||
return regnum - 32; // The FP registers are in the second chunk
|
||||
}
|
||||
|
||||
// This is UltraSparc specific, true just means we have fast l2f conversion
|
||||
const bool Matcher::convL2FSupported(void) {
|
||||
return true;
|
||||
|
@ -437,9 +437,6 @@ public:
|
||||
OptoReg::Name c_frame_pointer() const;
|
||||
static RegMask c_frame_ptr_mask;
|
||||
|
||||
// !!!!! Special stuff for building ScopeDescs
|
||||
virtual int regnum_to_fpu_offset(int regnum);
|
||||
|
||||
// Is this branch offset small enough to be addressed by a short branch?
|
||||
bool is_short_branch_offset(int rule, int br_size, int offset);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user