| 1800 | } |
| 1801 | |
| 1802 | static void logE(const LogInstruction* inst, DecodedOp* op, BString& out) { |
| 1803 | out.append(inst->name); |
| 1804 | out.append(" "); |
| 1805 | if (inst->width==32) { |
| 1806 | outE32(op, out); |
| 1807 | } else if (inst->width==16) { |
| 1808 | outE16(op, out); |
| 1809 | } else if (inst->width==8) { |
| 1810 | outE8(op, out); |
| 1811 | } else if (inst->width==64) { |
| 1812 | outE64(op, out); |
| 1813 | } else { |
| 1814 | kpanic_fmt("unknown width: %d in logE", inst->width); |
| 1815 | } |
| 1816 | } |
| 1817 | |
| 1818 | static void logS(const LogInstruction* inst, DecodedOp* op, BString& out) { |
| 1819 | out.append(inst->name); |