equal
deleted
inserted
replaced
83 "VSR56", "VSR57", "VSR58", "VSR59", "VSR60", "VSR61", "VSR62", "VSR63" |
83 "VSR56", "VSR57", "VSR58", "VSR59", "VSR60", "VSR61", "VSR62", "VSR63" |
84 }; |
84 }; |
85 return is_valid() ? names[encoding()] : "vsnoreg"; |
85 return is_valid() ? names[encoding()] : "vsnoreg"; |
86 } |
86 } |
87 |
87 |
|
88 // Method to convert a FloatRegister to a Vector-Scalar Register (VectorSRegister) |
|
89 VectorSRegister FloatRegisterImpl::to_vsr() const { |
|
90 if (this == fnoreg) { return vsnoreg; } |
|
91 return as_VectorSRegister(encoding()); |
|
92 } |
|
93 |
88 // Method to convert a VectorRegister to a Vector-Scalar Register (VectorSRegister) |
94 // Method to convert a VectorRegister to a Vector-Scalar Register (VectorSRegister) |
89 VectorSRegister VectorRegisterImpl::to_vsr() const { |
95 VectorSRegister VectorRegisterImpl::to_vsr() const { |
90 if (this == vnoreg) { return vsnoreg; } |
96 if (this == vnoreg) { return vsnoreg; } |
91 return as_VectorSRegister(encoding() + 32); |
97 return as_VectorSRegister(encoding() + 32); |
92 } |
98 } |