refactor: make linter happy
also add a few unused coprocessor instructions Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -32,3 +32,23 @@ operator<<(std::ostream& os, const Condition cond) {
|
||||
|
||||
return os;
|
||||
}
|
||||
|
||||
std::ostream&
|
||||
operator<<(std::ostream& os, const ShiftType shift_type) {
|
||||
|
||||
#define CASE(type) \
|
||||
case ShiftType::type: \
|
||||
os << #type; \
|
||||
break;
|
||||
|
||||
switch (shift_type) {
|
||||
CASE(LSL)
|
||||
CASE(LSR)
|
||||
CASE(ASR)
|
||||
CASE(ROR)
|
||||
}
|
||||
|
||||
#undef CASE
|
||||
|
||||
return os;
|
||||
}
|
||||
|
Reference in New Issue
Block a user