}
-namespace img
+std::string img_format(const char *format, ...)
{
- address addr32(address a)
- {
- return a;
- }
-
- std::string format(const char *format, ...)
- {
- char buffer[256];
- va_list args;
- va_start(args, format);
- int err = vsprintf(buffer, format, args);
- if (err < 0) {
- perror(buffer);
- }
- va_end(args);
- return buffer;
+ char buffer[256];
+ va_list args;
+ va_start(args, format);
+ int err = vsprintf(buffer, format, args);
+ if (err < 0) {
+ perror(buffer);
}
+ va_end(args);
+ return buffer;
+}
- std::string format(const char *format,
- std::string s)
- {
- char buffer[256];
-
- sprintf(buffer, format, s.c_str());
+std::string img_format(const char *format,
+ std::string s)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, s.c_str());
- std::string format(const char *format,
- std::string s1,
- std::string s2)
- {
- char buffer[256];
+ return buffer;
+}
- sprintf(buffer, format, s1.c_str(), s2.c_str());
+std::string img_format(const char *format,
+ std::string s1,
+ std::string s2)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, s1.c_str(), s2.c_str());
- std::string format(const char *format,
- std::string s1,
- std::string s2,
- std::string s3)
- {
- char buffer[256];
+ return buffer;
+}
- sprintf(buffer, format, s1.c_str(), s2.c_str(), s3.c_str());
+std::string img_format(const char *format,
+ std::string s1,
+ std::string s2,
+ std::string s3)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, s1.c_str(), s2.c_str(), s3.c_str());
- std::string format(const char *format,
- std::string s1,
- std::string s2,
- std::string s3,
- std::string s4)
- {
- char buffer[256];
+ return buffer;
+}
- sprintf(buffer, format, s1.c_str(), s2.c_str(), s3.c_str(),
- s4.c_str());
+std::string img_format(const char *format,
+ std::string s1,
+ std::string s2,
+ std::string s3,
+ std::string s4)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, s1.c_str(), s2.c_str(), s3.c_str(),
+ s4.c_str());
- std::string format(const char *format,
- std::string s1,
- std::string s2,
- std::string s3,
- std::string s4,
- std::string s5)
- {
- char buffer[256];
+ return buffer;
+}
- sprintf(buffer, format, s1.c_str(), s2.c_str(), s3.c_str(),
- s4.c_str(), s5.c_str());
+std::string img_format(const char *format,
+ std::string s1,
+ std::string s2,
+ std::string s3,
+ std::string s4,
+ std::string s5)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, s1.c_str(), s2.c_str(), s3.c_str(),
+ s4.c_str(), s5.c_str());
- std::string format(const char *format,
- uint64 d,
- std::string s2)
- {
- char buffer[256];
+ return buffer;
+}
- sprintf(buffer, format, d, s2.c_str());
+std::string img_format(const char *format,
+ uint64 d,
+ std::string s2)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, d, s2.c_str());
- std::string format(const char *format,
- std::string s1,
- uint64 d,
- std::string s2)
- {
- char buffer[256];
+ return buffer;
+}
- sprintf(buffer, format, s1.c_str(), d, s2.c_str());
+std::string img_format(const char *format,
+ std::string s1,
+ uint64 d,
+ std::string s2)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, s1.c_str(), d, s2.c_str());
- std::string format(const char *format,
- std::string s1,
- std::string s2,
- uint64 d)
- {
- char buffer[256];
+ return buffer;
+}
- sprintf(buffer, format, s1.c_str(), s2.c_str(), d);
+std::string img_format(const char *format,
+ std::string s1,
+ std::string s2,
+ uint64 d)
+{
+ char buffer[256];
- return buffer;
- }
+ sprintf(buffer, format, s1.c_str(), s2.c_str(), d);
- char as_char(int c)
- {
- return static_cast<char>(c);
- }
-};
+ return buffer;
+}
-std::string to_string(img::address a)
+std::string to_string(img_address a)
{
char buffer[256];
sprintf(buffer, "0x%" PRIx64, a);
return register_list[index];
}
- throw std::runtime_error(img::format(
+ throw std::runtime_error(img_format(
"Invalid register mapping index %" PRIu64
", size of list = %zu",
index, register_list_size));
for (uint64 counter = 0; counter != count; counter++) {
bool use_gp = gp && (counter == count - 1);
uint64 this_rt = use_gp ? 28 : ((rt & 0x10) | (rt + counter)) & 0x1f;
- str += img::format(",%s", GPR(this_rt));
+ str += img_format(",%s", GPR(this_rt));
}
return str;
return gpr_reg[reg];
}
- throw std::runtime_error(img::format("Invalid GPR register index %" PRIu64,
+ throw std::runtime_error(img_format("Invalid GPR register index %" PRIu64,
reg));
}
return fpr_reg[reg];
}
- throw std::runtime_error(img::format("Invalid FPR register index %" PRIu64,
+ throw std::runtime_error(img_format("Invalid FPR register index %" PRIu64,
reg));
}
return ac_reg[reg];
}
- throw std::runtime_error(img::format("Invalid AC register index %" PRIu64,
+ throw std::runtime_error(img_format("Invalid AC register index %" PRIu64,
reg));
}
std::string NMD::IMMEDIATE(uint64 value)
{
- return img::format("0x%" PRIx64, value);
+ return img_format("0x%" PRIx64, value);
}
std::string NMD::IMMEDIATE(int64 value)
{
- return img::format("%" PRId64, value);
+ return img_format("%" PRId64, value);
}
std::string NMD::CPR(uint64 reg)
{
/* needs more work */
- return img::format("CP%" PRIu64, reg);
+ return img_format("CP%" PRIu64, reg);
}
std::string NMD::ADDRESS(uint64 value, int instruction_size)
{
/* token for string replace */
- /* const char TOKEN_REPLACE = (char)0xa2; */
- img::address address = m_pc + value + instruction_size;
+ img_address address = m_pc + value + instruction_size;
/* symbol replacement */
- /* return img::as_char(TOKEN_REPLACE) + to_string(address); */
return to_string(address);
}
std::string fs = FPR(copy(fs_value));
std::string fd = FPR(copy(fd_value));
- return img::format("ABS.D %s, %s", fd, fs);
+ return img_format("ABS.D %s, %s", fd, fs);
}
std::string fs = FPR(copy(fs_value));
std::string fd = FPR(copy(fd_value));
- return img::format("ABS.S %s, %s", fd, fs);
+ return img_format("ABS.S %s, %s", fd, fs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("ABSQ_S.PH %s, %s", rt, rs);
+ return img_format("ABSQ_S.PH %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("ABSQ_S.QB %s, %s", rt, rs);
+ return img_format("ABSQ_S.QB %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("ABSQ_S.W %s, %s", rt, rs);
+ return img_format("ABSQ_S.W %s, %s", rt, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("ACLR %s, %s(%s)", bit, s, rs);
+ return img_format("ACLR %s, %s(%s)", bit, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADD %s, %s, %s", rd, rs, rt);
+ return img_format("ADD %s, %s, %s", rd, rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string fd = FPR(copy(fd_value));
- return img::format("ADD.D %s, %s, %s", fd, fs, ft);
+ return img_format("ADD.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string fd = FPR(copy(fd_value));
- return img::format("ADD.S %s, %s, %s", fd, fs, ft);
+ return img_format("ADD.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("ADDIU %s, %s, %s", rt, rs, u);
+ return img_format("ADDIU %s, %s, %s", rt, rs, u);
}
std::string rt = GPR(copy(rt_value));
std::string s = IMMEDIATE(copy(s_value));
- return img::format("ADDIU %s, %s", rt, s);
+ return img_format("ADDIU %s, %s", rt, s);
}
std::string rt = GPR(copy(rt_value));
std::string s = IMMEDIATE(copy(s_value));
- return img::format("ADDIU %s, $%d, %s", rt, 28, s);
+ return img_format("ADDIU %s, $%d, %s", rt, 28, s);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("ADDIU %s, $%d, %s", rt, 28, u);
+ return img_format("ADDIU %s, $%d, %s", rt, 28, u);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("ADDIU %s, $%d, %s", rt, 28, u);
+ return img_format("ADDIU %s, $%d, %s", rt, 28, u);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(neg_copy(u_value));
- return img::format("ADDIU %s, %s, %s", rt, rs, u);
+ return img_format("ADDIU %s, %s, %s", rt, rs, u);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("ADDIU %s, $%d, %s", rt3, 29, u);
+ return img_format("ADDIU %s, $%d, %s", rt3, 29, u);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("ADDIU %s, %s, %s", rt3, rs3, u);
+ return img_format("ADDIU %s, %s, %s", rt3, rs3, u);
}
std::string rt = GPR(copy(rt_value));
std::string s = IMMEDIATE(copy(s_value));
- return img::format("ADDIU %s, %s", rt, s);
+ return img_format("ADDIU %s, %s", rt, s);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("ADDIUPC %s, %s", rt, s);
+ return img_format("ADDIUPC %s, %s", rt, s);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 6);
- return img::format("ADDIUPC %s, %s", rt, s);
+ return img_format("ADDIUPC %s, %s", rt, s);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDQ.PH %s, %s, %s", rd, rs, rt);
+ return img_format("ADDQ.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDQ_S.PH %s, %s, %s", rd, rs, rt);
+ return img_format("ADDQ_S.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDQ_S.W %s, %s, %s", rd, rs, rt);
+ return img_format("ADDQ_S.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDQH.PH %s, %s, %s", rd, rs, rt);
+ return img_format("ADDQH.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDQH_R.PH %s, %s, %s", rd, rs, rt);
+ return img_format("ADDQH_R.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDQH_R.W %s, %s, %s", rd, rs, rt);
+ return img_format("ADDQH_R.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDQH.W %s, %s, %s", rd, rs, rt);
+ return img_format("ADDQH.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDSC %s, %s, %s", rd, rs, rt);
+ return img_format("ADDSC %s, %s, %s", rd, rs, rt);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string rd3 = GPR(decode_gpr_gpr3(rd3_value));
- return img::format("ADDU %s, %s, %s", rd3, rs3, rt3);
+ return img_format("ADDU %s, %s, %s", rd3, rs3, rt3);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDU %s, %s, %s", rd, rs, rt);
+ return img_format("ADDU %s, %s, %s", rd, rs, rt);
}
std::string rs4 = GPR(decode_gpr_gpr4(rs4_value));
std::string rt4 = GPR(decode_gpr_gpr4(rt4_value));
- return img::format("ADDU %s, %s", rs4, rt4);
+ return img_format("ADDU %s, %s", rs4, rt4);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDU.PH %s, %s, %s", rd, rs, rt);
+ return img_format("ADDU.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDU.QB %s, %s, %s", rd, rs, rt);
+ return img_format("ADDU.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDU_S.PH %s, %s, %s", rd, rs, rt);
+ return img_format("ADDU_S.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDU_S.QB %s, %s, %s", rd, rs, rt);
+ return img_format("ADDU_S.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDUH.QB %s, %s, %s", rd, rs, rt);
+ return img_format("ADDUH.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDUH_R.QB %s, %s, %s", rd, rs, rt);
+ return img_format("ADDUH_R.QB %s, %s, %s", rd, rs, rt);
}
/*
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ADDWC %s, %s, %s", rd, rs, rt);
+ return img_format("ADDWC %s, %s, %s", rd, rs, rt);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("ALUIPC %s, %%pcrel_hi(%s)", rt, s);
+ return img_format("ALUIPC %s, %%pcrel_hi(%s)", rt, s);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("AND %s, %s", rs3, rt3);
+ return img_format("AND %s, %s", rs3, rt3);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("AND %s, %s, %s", rd, rs, rt);
+ return img_format("AND %s, %s, %s", rd, rs, rt);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string eu = IMMEDIATE(encode_eu_from_u_andi16(eu_value));
- return img::format("ANDI %s, %s, %s", rt3, rs3, eu);
+ return img_format("ANDI %s, %s, %s", rt3, rs3, eu);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("ANDI %s, %s, %s", rt, rs, u);
+ return img_format("ANDI %s, %s, %s", rt, rs, u);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("APPEND %s, %s, %s", rt, rs, sa);
+ return img_format("APPEND %s, %s, %s", rt, rs, sa);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("ASET %s, %s(%s)", bit, s, rs);
+ return img_format("ASET %s, %s(%s)", bit, s, rs);
}
std::string s = ADDRESS(encode_s_from_address(s_value), 2);
- return img::format("BALC %s", s);
+ return img_format("BALC %s", s);
}
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BALC %s", s);
+ return img_format("BALC %s", s);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("BALRSC %s, %s", rt, rs);
+ return img_format("BALRSC %s, %s", rt, rs);
}
std::string bit = IMMEDIATE(copy(bit_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BBEQZC %s, %s, %s", rt, bit, s);
+ return img_format("BBEQZC %s, %s, %s", rt, bit, s);
}
std::string bit = IMMEDIATE(copy(bit_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BBNEZC %s, %s, %s", rt, bit, s);
+ return img_format("BBNEZC %s, %s, %s", rt, bit, s);
}
std::string s = ADDRESS(encode_s_from_address(s_value), 2);
- return img::format("BC %s", s);
+ return img_format("BC %s", s);
}
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BC %s", s);
+ return img_format("BC %s", s);
}
std::string ft = FPR(copy(ft_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BC1EQZC %s, %s", ft, s);
+ return img_format("BC1EQZC %s, %s", ft, s);
}
std::string ft = FPR(copy(ft_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BC1NEZC %s, %s", ft, s);
+ return img_format("BC1NEZC %s, %s", ft, s);
}
std::string ct = CPR(copy(ct_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BC2EQZC %s, %s", ct, s);
+ return img_format("BC2EQZC %s, %s", ct, s);
}
std::string ct = CPR(copy(ct_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BC2NEZC %s, %s", ct, s);
+ return img_format("BC2NEZC %s, %s", ct, s);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string u = ADDRESS(encode_u_from_address(u_value), 2);
- return img::format("BEQC %s, %s, %s", rs3, rt3, u);
+ return img_format("BEQC %s, %s, %s", rs3, rt3, u);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BEQC %s, %s, %s", rs, rt, s);
+ return img_format("BEQC %s, %s, %s", rs, rt, s);
}
std::string u = IMMEDIATE(copy(u_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BEQIC %s, %s, %s", rt, u, s);
+ return img_format("BEQIC %s, %s, %s", rt, u, s);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 2);
- return img::format("BEQZC %s, %s", rt3, s);
+ return img_format("BEQZC %s, %s", rt3, s);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BGEC %s, %s, %s", rs, rt, s);
+ return img_format("BGEC %s, %s, %s", rs, rt, s);
}
std::string u = IMMEDIATE(copy(u_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BGEIC %s, %s, %s", rt, u, s);
+ return img_format("BGEIC %s, %s, %s", rt, u, s);
}
std::string u = IMMEDIATE(copy(u_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BGEIUC %s, %s, %s", rt, u, s);
+ return img_format("BGEIUC %s, %s, %s", rt, u, s);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BGEUC %s, %s, %s", rs, rt, s);
+ return img_format("BGEUC %s, %s, %s", rs, rt, s);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BLTC %s, %s, %s", rs, rt, s);
+ return img_format("BLTC %s, %s, %s", rs, rt, s);
}
std::string u = IMMEDIATE(copy(u_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BLTIC %s, %s, %s", rt, u, s);
+ return img_format("BLTIC %s, %s, %s", rt, u, s);
}
std::string u = IMMEDIATE(copy(u_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BLTIUC %s, %s, %s", rt, u, s);
+ return img_format("BLTIUC %s, %s, %s", rt, u, s);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BLTUC %s, %s, %s", rs, rt, s);
+ return img_format("BLTUC %s, %s, %s", rs, rt, s);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string u = ADDRESS(encode_u_from_address(u_value), 2);
- return img::format("BNEC %s, %s, %s", rs3, rt3, u);
+ return img_format("BNEC %s, %s, %s", rs3, rt3, u);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BNEC %s, %s, %s", rs, rt, s);
+ return img_format("BNEC %s, %s, %s", rs, rt, s);
}
std::string u = IMMEDIATE(copy(u_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BNEIC %s, %s, %s", rt, u, s);
+ return img_format("BNEIC %s, %s, %s", rt, u, s);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 2);
- return img::format("BNEZC %s, %s", rt3, s);
+ return img_format("BNEZC %s, %s", rt3, s);
}
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("BPOSGE32C %s", s);
+ return img_format("BPOSGE32C %s", s);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("BREAK %s", code);
+ return img_format("BREAK %s", code);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("BREAK %s", code);
+ return img_format("BREAK %s", code);
}
std::string rs = GPR(copy(rs_value));
- return img::format("BRSC %s", rs);
+ return img_format("BRSC %s", rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("CACHE %s, %s(%s)", op, s, rs);
+ return img_format("CACHE %s, %s(%s)", op, s, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("CACHEE %s, %s(%s)", op, s, rs);
+ return img_format("CACHEE %s, %s(%s)", op, s, rs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CEIL.L.D %s, %s", ft, fs);
+ return img_format("CEIL.L.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CEIL.L.S %s, %s", ft, fs);
+ return img_format("CEIL.L.S %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CEIL.W.D %s, %s", ft, fs);
+ return img_format("CEIL.W.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CEIL.W.S %s, %s", ft, fs);
+ return img_format("CEIL.W.S %s, %s", ft, fs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("CFC1 %s, %s", rt, cs);
+ return img_format("CFC1 %s, %s", rt, cs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("CFC2 %s, %s", rt, cs);
+ return img_format("CFC2 %s, %s", rt, cs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CLASS.D %s, %s", ft, fs);
+ return img_format("CLASS.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CLASS.S %s, %s", ft, fs);
+ return img_format("CLASS.S %s, %s", ft, fs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("CLO %s, %s", rt, rs);
+ return img_format("CLO %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("CLZ %s, %s", rt, rs);
+ return img_format("CLZ %s, %s", rt, rs);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.AF.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.AF.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.AF.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.AF.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.EQ.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.EQ.D %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMP.EQ.PH %s, %s", rs, rt);
+ return img_format("CMP.EQ.PH %s, %s", rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.EQ.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.EQ.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.LE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.LE.D %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMP.LE.PH %s, %s", rs, rt);
+ return img_format("CMP.LE.PH %s, %s", rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.LE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.LE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.LT.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.LT.D %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMP.LT.PH %s, %s", rs, rt);
+ return img_format("CMP.LT.PH %s, %s", rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.LT.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.LT.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.NE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.NE.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.NE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.NE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.OR.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.OR.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.OR.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.OR.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SAF.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SAF.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SAF.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SAF.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SEQ.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SEQ.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SEQ.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SEQ.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SLE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SLE.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SLE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SLE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SLT.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SLT.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SLT.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SLT.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SNE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SNE.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SNE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SNE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SOR.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SOR.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SOR.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SOR.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SUEQ.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SUEQ.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SUEQ.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SUEQ.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SULE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SULE.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SULE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SULE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SULT.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SULT.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SULT.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SULT.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SUN.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SUN.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SUNE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SUNE.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SUNE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SUNE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.SUN.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.SUN.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.UEQ.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.UEQ.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.UEQ.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.UEQ.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.ULE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.ULE.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.ULE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.ULE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.ULT.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.ULT.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.ULT.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.ULT.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.UN.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.UN.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.UNE.D %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.UNE.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.UNE.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.UNE.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("CMP.UN.S %s, %s, %s", fd, fs, ft);
+ return img_format("CMP.UN.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPGDU.EQ.QB %s, %s, %s", rd, rs, rt);
+ return img_format("CMPGDU.EQ.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPGDU.LE.QB %s, %s, %s", rd, rs, rt);
+ return img_format("CMPGDU.LE.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPGDU.LT.QB %s, %s, %s", rd, rs, rt);
+ return img_format("CMPGDU.LT.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPGU.EQ.QB %s, %s, %s", rd, rs, rt);
+ return img_format("CMPGU.EQ.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPGU.LE.QB %s, %s, %s", rd, rs, rt);
+ return img_format("CMPGU.LE.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPGU.LT.QB %s, %s, %s", rd, rs, rt);
+ return img_format("CMPGU.LT.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPU.EQ.QB %s, %s", rs, rt);
+ return img_format("CMPU.EQ.QB %s, %s", rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPU.LE.QB %s, %s", rs, rt);
+ return img_format("CMPU.LE.QB %s, %s", rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("CMPU.LT.QB %s, %s", rs, rt);
+ return img_format("CMPU.LT.QB %s, %s", rs, rt);
}
std::string cofun = IMMEDIATE(copy(cofun_value));
- return img::format("COP2_1 %s", cofun);
+ return img_format("COP2_1 %s", cofun);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("CTC1 %s, %s", rt, cs);
+ return img_format("CTC1 %s, %s", rt, cs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("CTC2 %s, %s", rt, cs);
+ return img_format("CTC2 %s, %s", rt, cs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.D.L %s, %s", ft, fs);
+ return img_format("CVT.D.L %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.D.S %s, %s", ft, fs);
+ return img_format("CVT.D.S %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.D.W %s, %s", ft, fs);
+ return img_format("CVT.D.W %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.L.D %s, %s", ft, fs);
+ return img_format("CVT.L.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.L.S %s, %s", ft, fs);
+ return img_format("CVT.L.S %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.S.D %s, %s", ft, fs);
+ return img_format("CVT.S.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.S.L %s, %s", ft, fs);
+ return img_format("CVT.S.L %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.S.PL %s, %s", ft, fs);
+ return img_format("CVT.S.PL %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.S.PU %s, %s", ft, fs);
+ return img_format("CVT.S.PU %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.S.W %s, %s", ft, fs);
+ return img_format("CVT.S.W %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.W.D %s, %s", ft, fs);
+ return img_format("CVT.W.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("CVT.W.S %s, %s", ft, fs);
+ return img_format("CVT.W.S %s, %s", ft, fs);
}
std::string rt = GPR(copy(rt_value));
std::string s = IMMEDIATE(copy(s_value));
- return img::format("DADDIU %s, %s", rt, s);
+ return img_format("DADDIU %s, %s", rt, s);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(neg_copy(u_value));
- return img::format("DADDIU %s, %s, %s", rt, rs, u);
+ return img_format("DADDIU %s, %s, %s", rt, rs, u);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("DADDIU %s, %s, %s", rt, rs, u);
+ return img_format("DADDIU %s, %s, %s", rt, rs, u);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DADD %s, %s, %s", rd, rs, rt);
+ return img_format("DADD %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DADDU %s, %s, %s", rd, rs, rt);
+ return img_format("DADDU %s, %s, %s", rd, rs, rt);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("DCLO %s, %s", rt, rs);
+ return img_format("DCLO %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("DCLZ %s, %s", rt, rs);
+ return img_format("DCLZ %s, %s", rt, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DDIV %s, %s, %s", rd, rs, rt);
+ return img_format("DDIV %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DDIVU %s, %s, %s", rd, rs, rt);
+ return img_format("DDIVU %s, %s, %s", rd, rs, rt);
}
std::string lsb = IMMEDIATE(copy(lsb_value));
std::string msbd = IMMEDIATE(encode_msbd_from_size(msbd_value));
- return img::format("DEXTM %s, %s, %s, %s", rt, rs, lsb, msbd);
+ return img_format("DEXTM %s, %s, %s, %s", rt, rs, lsb, msbd);
}
std::string lsb = IMMEDIATE(copy(lsb_value));
std::string msbd = IMMEDIATE(encode_msbd_from_size(msbd_value));
- return img::format("DEXT %s, %s, %s, %s", rt, rs, lsb, msbd);
+ return img_format("DEXT %s, %s, %s, %s", rt, rs, lsb, msbd);
}
std::string lsb = IMMEDIATE(copy(lsb_value));
std::string msbd = IMMEDIATE(encode_msbd_from_size(msbd_value));
- return img::format("DEXTU %s, %s, %s, %s", rt, rs, lsb, msbd);
+ return img_format("DEXTU %s, %s, %s, %s", rt, rs, lsb, msbd);
}
std::string size = IMMEDIATE(encode_lsb_from_pos_and_size(msbd_value));
/* !!!!!!!!!! - no conversion function */
- return img::format("DINSM %s, %s, %s, %s", rt, rs, pos, size);
+ return img_format("DINSM %s, %s, %s, %s", rt, rs, pos, size);
/* hand edited */
}
std::string size = IMMEDIATE(encode_lsb_from_pos_and_size(msbd_value));
/* !!!!!!!!!! - no conversion function */
- return img::format("DINS %s, %s, %s, %s", rt, rs, pos, size);
+ return img_format("DINS %s, %s, %s, %s", rt, rs, pos, size);
/* hand edited */
}
std::string size = IMMEDIATE(encode_lsb_from_pos_and_size(msbd_value));
/* !!!!!!!!!! - no conversion function */
- return img::format("DINSU %s, %s, %s, %s", rt, rs, pos, size);
+ return img_format("DINSU %s, %s, %s, %s", rt, rs, pos, size);
/* hand edited */
}
std::string rt = GPR(copy(rt_value));
- return img::format("DI %s", rt);
+ return img_format("DI %s", rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DIV %s, %s, %s", rd, rs, rt);
+ return img_format("DIV %s, %s, %s", rd, rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("DIV.D %s, %s, %s", fd, fs, ft);
+ return img_format("DIV.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("DIV.S %s, %s, %s", fd, fs, ft);
+ return img_format("DIV.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DIVU %s, %s, %s", rd, rs, rt);
+ return img_format("DIVU %s, %s, %s", rd, rs, rt);
}
std::string rt = GPR(copy(rt_value));
std::string u2 = IMMEDIATE(copy(u2_value));
- return img::format("DLSA %s, %s, %s, %s", rd, rs, rt, u2);
+ return img_format("DLSA %s, %s, %s, %s", rd, rs, rt, u2);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("DLUI %s, %s", rt, u);
+ return img_format("DLUI %s, %s", rt, u);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("DMFC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("DMFC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
std::string fs = FPR(copy(fs_value));
- return img::format("DMFC1 %s, %s", rt, fs);
+ return img_format("DMFC1 %s, %s", rt, fs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("DMFC2 %s, %s", rt, cs);
+ return img_format("DMFC2 %s, %s", rt, cs);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("DMFGC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("DMFGC0 %s, %s, %s", rt, c0s, sel);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DMOD %s, %s, %s", rd, rs, rt);
+ return img_format("DMOD %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DMODU %s, %s, %s", rd, rs, rt);
+ return img_format("DMODU %s, %s, %s", rd, rs, rt);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("DMTC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("DMTC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
std::string fs = FPR(copy(fs_value));
- return img::format("DMTC1 %s, %s", rt, fs);
+ return img_format("DMTC1 %s, %s", rt, fs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("DMTC2 %s, %s", rt, cs);
+ return img_format("DMTC2 %s, %s", rt, cs);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("DMTGC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("DMTGC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
- return img::format("DMT %s", rt);
+ return img_format("DMT %s", rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DMUH %s, %s, %s", rd, rs, rt);
+ return img_format("DMUH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DMUHU %s, %s, %s", rd, rs, rt);
+ return img_format("DMUHU %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DMUL %s, %s, %s", rd, rs, rt);
+ return img_format("DMUL %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DMULU %s, %s, %s", rd, rs, rt);
+ return img_format("DMULU %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPA.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPA.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPAQ_SA.L.W %s, %s, %s", ac, rs, rt);
+ return img_format("DPAQ_SA.L.W %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPAQ_S.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPAQ_S.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPAQX_SA.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPAQX_SA.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPAQX_S.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPAQX_S.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPAU.H.QBL %s, %s, %s", ac, rs, rt);
+ return img_format("DPAU.H.QBL %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPAU.H.QBR %s, %s, %s", ac, rs, rt);
+ return img_format("DPAU.H.QBR %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPAX.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPAX.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPS.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPS.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPSQ_SA.L.W %s, %s, %s", ac, rs, rt);
+ return img_format("DPSQ_SA.L.W %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPSQ_S.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPSQ_S.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPSQX_SA.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPSQX_SA.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPSQX_S.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPSQX_S.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPSU.H.QBL %s, %s, %s", ac, rs, rt);
+ return img_format("DPSU.H.QBL %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPSU.H.QBR %s, %s, %s", ac, rs, rt);
+ return img_format("DPSU.H.QBR %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DPSX.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("DPSX.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DROTR %s, %s, %s", rt, rs, shift);
+ return img_format("DROTR %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DROTR32 %s, %s, %s", rt, rs, shift);
+ return img_format("DROTR32 %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DROTRV %s, %s, %s", rd, rs, rt);
+ return img_format("DROTRV %s, %s, %s", rd, rs, rt);
}
std::string shift = IMMEDIATE(copy(shift_value));
std::string shiftx = IMMEDIATE(copy(shiftx_value));
- return img::format("DROTX %s, %s, %s, %s", rt, rs, shift, shiftx);
+ return img_format("DROTX %s, %s, %s, %s", rt, rs, shift, shiftx);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DSLL %s, %s, %s", rt, rs, shift);
+ return img_format("DSLL %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DSLL32 %s, %s, %s", rt, rs, shift);
+ return img_format("DSLL32 %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DSLLV %s, %s, %s", rd, rs, rt);
+ return img_format("DSLLV %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DSRA %s, %s, %s", rt, rs, shift);
+ return img_format("DSRA %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DSRA32 %s, %s, %s", rt, rs, shift);
+ return img_format("DSRA32 %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DSRAV %s, %s, %s", rd, rs, rt);
+ return img_format("DSRAV %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DSRL %s, %s, %s", rt, rs, shift);
+ return img_format("DSRL %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("DSRL32 %s, %s, %s", rt, rs, shift);
+ return img_format("DSRL32 %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DSRLV %s, %s, %s", rd, rs, rt);
+ return img_format("DSRLV %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DSUB %s, %s, %s", rd, rs, rt);
+ return img_format("DSUB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("DSUBU %s, %s, %s", rd, rs, rt);
+ return img_format("DSUBU %s, %s, %s", rd, rs, rt);
}
std::string rt = GPR(copy(rt_value));
- return img::format("DVPE %s", rt);
+ return img_format("DVPE %s", rt);
}
std::string rt = GPR(copy(rt_value));
- return img::format("DVP %s", rt);
+ return img_format("DVP %s", rt);
}
std::string rt = GPR(copy(rt_value));
- return img::format("EI %s", rt);
+ return img_format("EI %s", rt);
}
std::string rt = GPR(copy(rt_value));
- return img::format("EMT %s", rt);
+ return img_format("EMT %s", rt);
}
std::string rt = GPR(copy(rt_value));
- return img::format("EVP %s", rt);
+ return img_format("EVP %s", rt);
}
std::string rt = GPR(copy(rt_value));
- return img::format("EVPE %s", rt);
+ return img_format("EVPE %s", rt);
}
std::string lsb = IMMEDIATE(copy(lsb_value));
std::string msbd = IMMEDIATE(encode_msbd_from_size(msbd_value));
- return img::format("EXT %s, %s, %s, %s", rt, rs, lsb, msbd);
+ return img_format("EXT %s, %s, %s, %s", rt, rs, lsb, msbd);
}
std::string rt = GPR(copy(rt_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("EXTD %s, %s, %s, %s", rd, rs, rt, shift);
+ return img_format("EXTD %s, %s, %s, %s", rd, rs, rt, shift);
}
std::string rt = GPR(copy(rt_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("EXTD32 %s, %s, %s, %s", rd, rs, rt, shift);
+ return img_format("EXTD32 %s, %s, %s, %s", rd, rs, rt, shift);
}
std::string ac = AC(copy(ac_value));
std::string size = IMMEDIATE(copy(size_value));
- return img::format("EXTPDP %s, %s, %s", rt, ac, size);
+ return img_format("EXTPDP %s, %s, %s", rt, ac, size);
}
std::string ac = AC(copy(ac_value));
std::string rs = GPR(copy(rs_value));
- return img::format("EXTPDPV %s, %s, %s", rt, ac, rs);
+ return img_format("EXTPDPV %s, %s, %s", rt, ac, rs);
}
std::string ac = AC(copy(ac_value));
std::string size = IMMEDIATE(copy(size_value));
- return img::format("EXTP %s, %s, %s", rt, ac, size);
+ return img_format("EXTP %s, %s, %s", rt, ac, size);
}
std::string ac = AC(copy(ac_value));
std::string rs = GPR(copy(rs_value));
- return img::format("EXTPV %s, %s, %s", rt, ac, rs);
+ return img_format("EXTPV %s, %s, %s", rt, ac, rs);
}
std::string ac = AC(copy(ac_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("EXTR_RS.W %s, %s, %s", rt, ac, shift);
+ return img_format("EXTR_RS.W %s, %s, %s", rt, ac, shift);
}
std::string ac = AC(copy(ac_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("EXTR_R.W %s, %s, %s", rt, ac, shift);
+ return img_format("EXTR_R.W %s, %s, %s", rt, ac, shift);
}
std::string ac = AC(copy(ac_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("EXTR_S.H %s, %s, %s", rt, ac, shift);
+ return img_format("EXTR_S.H %s, %s, %s", rt, ac, shift);
}
std::string ac = AC(copy(ac_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("EXTR.W %s, %s, %s", rt, ac, shift);
+ return img_format("EXTR.W %s, %s, %s", rt, ac, shift);
}
std::string ac = AC(copy(ac_value));
std::string rs = GPR(copy(rs_value));
- return img::format("EXTRV_RS.W %s, %s, %s", rt, ac, rs);
+ return img_format("EXTRV_RS.W %s, %s, %s", rt, ac, rs);
}
std::string ac = AC(copy(ac_value));
std::string rs = GPR(copy(rs_value));
- return img::format("EXTRV_R.W %s, %s, %s", rt, ac, rs);
+ return img_format("EXTRV_R.W %s, %s, %s", rt, ac, rs);
}
std::string ac = AC(copy(ac_value));
std::string rs = GPR(copy(rs_value));
- return img::format("EXTRV_S.H %s, %s, %s", rt, ac, rs);
+ return img_format("EXTRV_S.H %s, %s, %s", rt, ac, rs);
}
std::string ac = AC(copy(ac_value));
std::string rs = GPR(copy(rs_value));
- return img::format("EXTRV.W %s, %s, %s", rt, ac, rs);
+ return img_format("EXTRV.W %s, %s, %s", rt, ac, rs);
}
std::string rt = GPR(copy(rt_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("EXTW %s, %s, %s, %s", rd, rs, rt, shift);
+ return img_format("EXTW %s, %s, %s, %s", rd, rs, rt, shift);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("FLOOR.L.D %s, %s", ft, fs);
+ return img_format("FLOOR.L.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("FLOOR.L.S %s, %s", ft, fs);
+ return img_format("FLOOR.L.S %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("FLOOR.W.D %s, %s", ft, fs);
+ return img_format("FLOOR.W.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("FLOOR.W.S %s, %s", ft, fs);
+ return img_format("FLOOR.W.S %s, %s", ft, fs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("FORK %s, %s, %s", rd, rs, rt);
+ return img_format("FORK %s, %s, %s", rd, rs, rt);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("HYPCALL %s", code);
+ return img_format("HYPCALL %s", code);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("HYPCALL %s", code);
+ return img_format("HYPCALL %s", code);
}
std::string size = IMMEDIATE(encode_lsb_from_pos_and_size(msbd_value));
/* !!!!!!!!!! - no conversion function */
- return img::format("INS %s, %s, %s, %s", rt, rs, pos, size);
+ return img_format("INS %s, %s, %s, %s", rt, rs, pos, size);
/* hand edited */
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("INSV %s, %s", rt, rs);
+ return img_format("INSV %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
- return img::format("JALRC $%d, %s", 31, rt);
+ return img_format("JALRC $%d, %s", 31, rt);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("JALRC %s, %s", rt, rs);
+ return img_format("JALRC %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("JALRC.HB %s, %s", rt, rs);
+ return img_format("JALRC.HB %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
- return img::format("JRC %s", rt);
+ return img_format("JRC %s", rt);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("LB %s, %s(%s)", rt3, u, rs3);
+ return img_format("LB %s, %s(%s)", rt3, u, rs3);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LB %s, %s($%d)", rt, u, 28);
+ return img_format("LB %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LB %s, %s(%s)", rt, s, rs);
+ return img_format("LB %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LB %s, %s(%s)", rt, u, rs);
+ return img_format("LB %s, %s(%s)", rt, u, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LBE %s, %s(%s)", rt, s, rs);
+ return img_format("LBE %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("LBU %s, %s(%s)", rt3, u, rs3);
+ return img_format("LBU %s, %s(%s)", rt3, u, rs3);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LBU %s, %s($%d)", rt, u, 28);
+ return img_format("LBU %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LBU %s, %s(%s)", rt, s, rs);
+ return img_format("LBU %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LBU %s, %s(%s)", rt, u, rs);
+ return img_format("LBU %s, %s(%s)", rt, u, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LBUE %s, %s(%s)", rt, s, rs);
+ return img_format("LBUE %s, %s(%s)", rt, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LBUX %s, %s(%s)", rd, rs, rt);
+ return img_format("LBUX %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LBX %s, %s(%s)", rd, rs, rt);
+ return img_format("LBX %s, %s(%s)", rd, rs, rt);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LD %s, %s($%d)", rt, u, 28);
+ return img_format("LD %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LD %s, %s(%s)", rt, s, rs);
+ return img_format("LD %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LD %s, %s(%s)", rt, u, rs);
+ return img_format("LD %s, %s(%s)", rt, u, rs);
}
std::string ft = FPR(copy(ft_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LDC1 %s, %s($%d)", ft, u, 28);
+ return img_format("LDC1 %s, %s($%d)", ft, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LDC1 %s, %s(%s)", ft, s, rs);
+ return img_format("LDC1 %s, %s(%s)", ft, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LDC1 %s, %s(%s)", ft, u, rs);
+ return img_format("LDC1 %s, %s(%s)", ft, u, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LDC1XS %s, %s(%s)", ft, rs, rt);
+ return img_format("LDC1XS %s, %s(%s)", ft, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LDC1X %s, %s(%s)", ft, rs, rt);
+ return img_format("LDC1X %s, %s(%s)", ft, rs, rt);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LDC2 %s, %s(%s)", ct, s, rs);
+ return img_format("LDC2 %s, %s(%s)", ct, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("LDM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("LDM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 6);
- return img::format("LDPC %s, %s", rt, s);
+ return img_format("LDPC %s, %s", rt, s);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LDX %s, %s(%s)", rd, rs, rt);
+ return img_format("LDX %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LDXS %s, %s(%s)", rd, rs, rt);
+ return img_format("LDXS %s, %s(%s)", rd, rs, rt);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("LH %s, %s(%s)", rt3, u, rs3);
+ return img_format("LH %s, %s(%s)", rt3, u, rs3);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LH %s, %s($%d)", rt, u, 28);
+ return img_format("LH %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LH %s, %s(%s)", rt, s, rs);
+ return img_format("LH %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LH %s, %s(%s)", rt, u, rs);
+ return img_format("LH %s, %s(%s)", rt, u, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LHE %s, %s(%s)", rt, s, rs);
+ return img_format("LHE %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("LHU %s, %s(%s)", rt3, u, rs3);
+ return img_format("LHU %s, %s(%s)", rt3, u, rs3);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LHU %s, %s($%d)", rt, u, 28);
+ return img_format("LHU %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LHU %s, %s(%s)", rt, s, rs);
+ return img_format("LHU %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LHU %s, %s(%s)", rt, u, rs);
+ return img_format("LHU %s, %s(%s)", rt, u, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LHUE %s, %s(%s)", rt, s, rs);
+ return img_format("LHUE %s, %s(%s)", rt, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LHUX %s, %s(%s)", rd, rs, rt);
+ return img_format("LHUX %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LHUXS %s, %s(%s)", rd, rs, rt);
+ return img_format("LHUXS %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LHXS %s, %s(%s)", rd, rs, rt);
+ return img_format("LHXS %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LHX %s, %s(%s)", rd, rs, rt);
+ return img_format("LHX %s, %s(%s)", rd, rs, rt);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string eu = IMMEDIATE(encode_eu_from_s_li16(eu_value));
- return img::format("LI %s, %s", rt3, eu);
+ return img_format("LI %s, %s", rt3, eu);
}
std::string rt = GPR(copy(rt_value));
std::string s = IMMEDIATE(copy(s_value));
- return img::format("LI %s, %s", rt, s);
+ return img_format("LI %s, %s", rt, s);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LL %s, %s(%s)", rt, s, rs);
+ return img_format("LL %s, %s(%s)", rt, s, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LLD %s, %s(%s)", rt, s, rs);
+ return img_format("LLD %s, %s(%s)", rt, s, rs);
}
std::string ru = GPR(copy(ru_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LLDP %s, %s, (%s)", rt, ru, rs);
+ return img_format("LLDP %s, %s, (%s)", rt, ru, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LLE %s, %s(%s)", rt, s, rs);
+ return img_format("LLE %s, %s(%s)", rt, s, rs);
}
std::string ru = GPR(copy(ru_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LLWP %s, %s, (%s)", rt, ru, rs);
+ return img_format("LLWP %s, %s, (%s)", rt, ru, rs);
}
std::string ru = GPR(copy(ru_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LLWPE %s, %s, (%s)", rt, ru, rs);
+ return img_format("LLWPE %s, %s, (%s)", rt, ru, rs);
}
std::string rt = GPR(copy(rt_value));
std::string u2 = IMMEDIATE(copy(u2_value));
- return img::format("LSA %s, %s, %s, %s", rd, rs, rt, u2);
+ return img_format("LSA %s, %s, %s, %s", rd, rs, rt, u2);
}
std::string rt = GPR(copy(rt_value));
std::string s = IMMEDIATE(copy(s_value));
- return img::format("LUI %s, %%hi(%s)", rt, s);
+ return img_format("LUI %s, %%hi(%s)", rt, s);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("LW %s, %s(%s)", rt3, u, rs3);
+ return img_format("LW %s, %s(%s)", rt3, u, rs3);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs4 = GPR(decode_gpr_gpr4(rs4_value));
- return img::format("LW %s, %s(%s)", rt4, u, rs4);
+ return img_format("LW %s, %s(%s)", rt4, u, rs4);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LW %s, %s($%d)", rt, u, 28);
+ return img_format("LW %s, %s($%d)", rt, u, 28);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LW %s, %s($%d)", rt3, u, 28);
+ return img_format("LW %s, %s($%d)", rt3, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LW %s, %s(%s)", rt, s, rs);
+ return img_format("LW %s, %s(%s)", rt, s, rs);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LW %s, %s($%d)", rt, u, 29);
+ return img_format("LW %s, %s($%d)", rt, u, 29);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LW %s, %s(%s)", rt, u, rs);
+ return img_format("LW %s, %s(%s)", rt, u, rs);
}
std::string ft = FPR(copy(ft_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LWC1 %s, %s($%d)", ft, u, 28);
+ return img_format("LWC1 %s, %s($%d)", ft, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LWC1 %s, %s(%s)", ft, s, rs);
+ return img_format("LWC1 %s, %s(%s)", ft, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LWC1 %s, %s(%s)", ft, u, rs);
+ return img_format("LWC1 %s, %s(%s)", ft, u, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LWC1X %s, %s(%s)", ft, rs, rt);
+ return img_format("LWC1X %s, %s(%s)", ft, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LWC1XS %s, %s(%s)", ft, rs, rt);
+ return img_format("LWC1XS %s, %s(%s)", ft, rs, rt);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LWC2 %s, %s(%s)", ct, s, rs);
+ return img_format("LWC2 %s, %s(%s)", ct, s, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LWE %s, %s(%s)", rt, s, rs);
+ return img_format("LWE %s, %s(%s)", rt, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("LWM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("LWM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 6);
- return img::format("LWPC %s, %s", rt, s);
+ return img_format("LWPC %s, %s", rt, s);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("LWU %s, %s($%d)", rt, u, 28);
+ return img_format("LWU %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LWU %s, %s(%s)", rt, s, rs);
+ return img_format("LWU %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("LWU %s, %s(%s)", rt, u, rs);
+ return img_format("LWU %s, %s(%s)", rt, u, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LWUX %s, %s(%s)", rd, rs, rt);
+ return img_format("LWUX %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LWUXS %s, %s(%s)", rd, rs, rt);
+ return img_format("LWUXS %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LWX %s, %s(%s)", rd, rs, rt);
+ return img_format("LWX %s, %s(%s)", rd, rs, rt);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string rt3 = IMMEDIATE(decode_gpr_gpr3(rt3_value));
- return img::format("LWXS %s, %s(%s)", rd3, rs3, rt3);
+ return img_format("LWXS %s, %s(%s)", rd3, rs3, rt3);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("LWXS %s, %s(%s)", rd, rs, rt);
+ return img_format("LWXS %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MADD %s, %s, %s", ac, rs, rt);
+ return img_format("MADD %s, %s, %s", ac, rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MADDF.D %s, %s, %s", fd, fs, ft);
+ return img_format("MADDF.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MADDF.S %s, %s, %s", fd, fs, ft);
+ return img_format("MADDF.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MADDU %s, %s, %s", ac, rs, rt);
+ return img_format("MADDU %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MAQ_S.W.PHL %s, %s, %s", ac, rs, rt);
+ return img_format("MAQ_S.W.PHL %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MAQ_S.W.PHR %s, %s, %s", ac, rs, rt);
+ return img_format("MAQ_S.W.PHR %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MAQ_SA.W.PHL %s, %s, %s", ac, rs, rt);
+ return img_format("MAQ_SA.W.PHL %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MAQ_SA.W.PHR %s, %s, %s", ac, rs, rt);
+ return img_format("MAQ_SA.W.PHR %s, %s, %s", ac, rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MAX.D %s, %s, %s", fd, fs, ft);
+ return img_format("MAX.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MAX.S %s, %s, %s", fd, fs, ft);
+ return img_format("MAX.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MAXA.D %s, %s, %s", fd, fs, ft);
+ return img_format("MAXA.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MAXA.S %s, %s, %s", fd, fs, ft);
+ return img_format("MAXA.S %s, %s, %s", fd, fs, ft);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MFC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MFC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
std::string fs = FPR(copy(fs_value));
- return img::format("MFC1 %s, %s", rt, fs);
+ return img_format("MFC1 %s, %s", rt, fs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("MFC2 %s, %s", rt, cs);
+ return img_format("MFC2 %s, %s", rt, cs);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MFGC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MFGC0 %s, %s, %s", rt, c0s, sel);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MFHC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MFHC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
std::string fs = FPR(copy(fs_value));
- return img::format("MFHC1 %s, %s", rt, fs);
+ return img_format("MFHC1 %s, %s", rt, fs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("MFHC2 %s, %s", rt, cs);
+ return img_format("MFHC2 %s, %s", rt, cs);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MFHGC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MFHGC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
std::string ac = AC(copy(ac_value));
- return img::format("MFHI %s, %s", rt, ac);
+ return img_format("MFHI %s, %s", rt, ac);
}
std::string u = IMMEDIATE(copy(u_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MFHTR %s, %s, %s, %s", rt, c0s, u, sel);
+ return img_format("MFHTR %s, %s, %s, %s", rt, c0s, u, sel);
}
std::string rt = GPR(copy(rt_value));
std::string ac = AC(copy(ac_value));
- return img::format("MFLO %s, %s", rt, ac);
+ return img_format("MFLO %s, %s", rt, ac);
}
std::string u = IMMEDIATE(copy(u_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MFTR %s, %s, %s, %s", rt, c0s, u, sel);
+ return img_format("MFTR %s, %s, %s, %s", rt, c0s, u, sel);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MIN.D %s, %s, %s", fd, fs, ft);
+ return img_format("MIN.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MIN.S %s, %s, %s", fd, fs, ft);
+ return img_format("MIN.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MINA.D %s, %s, %s", fd, fs, ft);
+ return img_format("MINA.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MINA.S %s, %s, %s", fd, fs, ft);
+ return img_format("MINA.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MOD %s, %s, %s", rd, rs, rt);
+ return img_format("MOD %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MODSUB %s, %s, %s", rd, rs, rt);
+ return img_format("MODSUB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MODU %s, %s, %s", rd, rs, rt);
+ return img_format("MODU %s, %s, %s", rd, rs, rt);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("MOV.D %s, %s", ft, fs);
+ return img_format("MOV.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("MOV.S %s, %s", ft, fs);
+ return img_format("MOV.S %s, %s", ft, fs);
}
std::string rtz4 = GPR(decode_gpr_gpr4_zero(rtz4_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 4);
- return img::format("MOVE.BALC %s, %s, %s", rd1, rtz4, s);
+ return img_format("MOVE.BALC %s, %s, %s", rd1, rtz4, s);
}
std::string rsz4 = GPR(decode_gpr_gpr4_zero(rsz4_value));
std::string rtz4 = GPR(decode_gpr_gpr4_zero(rtz4_value));
- return img::format("MOVEP %s, %s, %s, %s", rd2, re2, rsz4, rtz4);
+ return img_format("MOVEP %s, %s, %s, %s", rd2, re2, rsz4, rtz4);
/* hand edited */
}
std::string rs2 = GPR(decode_gpr_gpr2_reg2(rd2_value));
/* !!!!!!!!!! - no conversion function */
- return img::format("MOVEP %s, %s, %s, %s", rs4, rt4, rd2, rs2);
+ return img_format("MOVEP %s, %s, %s, %s", rs4, rt4, rd2, rs2);
/* hand edited */
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("MOVE %s, %s", rt, rs);
+ return img_format("MOVE %s, %s", rt, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MOVN %s, %s, %s", rd, rs, rt);
+ return img_format("MOVN %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MOVZ %s, %s, %s", rd, rs, rt);
+ return img_format("MOVZ %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MSUB %s, %s, %s", ac, rs, rt);
+ return img_format("MSUB %s, %s, %s", ac, rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MSUBF.D %s, %s, %s", fd, fs, ft);
+ return img_format("MSUBF.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MSUBF.S %s, %s, %s", fd, fs, ft);
+ return img_format("MSUBF.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MSUBU %s, %s, %s", ac, rs, rt);
+ return img_format("MSUBU %s, %s, %s", ac, rs, rt);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MTC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MTC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
std::string fs = FPR(copy(fs_value));
- return img::format("MTC1 %s, %s", rt, fs);
+ return img_format("MTC1 %s, %s", rt, fs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("MTC2 %s, %s", rt, cs);
+ return img_format("MTC2 %s, %s", rt, cs);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MTGC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MTGC0 %s, %s, %s", rt, c0s, sel);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MTHC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MTHC0 %s, %s, %s", rt, c0s, sel);
}
std::string rt = GPR(copy(rt_value));
std::string fs = FPR(copy(fs_value));
- return img::format("MTHC1 %s, %s", rt, fs);
+ return img_format("MTHC1 %s, %s", rt, fs);
}
std::string rt = GPR(copy(rt_value));
std::string cs = CPR(copy(cs_value));
- return img::format("MTHC2 %s, %s", rt, cs);
+ return img_format("MTHC2 %s, %s", rt, cs);
}
std::string c0s = CPR(copy(c0s_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MTHGC0 %s, %s, %s", rt, c0s, sel);
+ return img_format("MTHGC0 %s, %s, %s", rt, c0s, sel);
}
std::string rs = GPR(copy(rs_value));
std::string ac = AC(copy(ac_value));
- return img::format("MTHI %s, %s", rs, ac);
+ return img_format("MTHI %s, %s", rs, ac);
}
std::string rs = GPR(copy(rs_value));
std::string ac = AC(copy(ac_value));
- return img::format("MTHLIP %s, %s", rs, ac);
+ return img_format("MTHLIP %s, %s", rs, ac);
}
std::string u = IMMEDIATE(copy(u_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MTHTR %s, %s, %s, %s", rt, c0s, u, sel);
+ return img_format("MTHTR %s, %s, %s, %s", rt, c0s, u, sel);
}
std::string rs = GPR(copy(rs_value));
std::string ac = AC(copy(ac_value));
- return img::format("MTLO %s, %s", rs, ac);
+ return img_format("MTLO %s, %s", rs, ac);
}
std::string u = IMMEDIATE(copy(u_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("MTTR %s, %s, %s, %s", rt, c0s, u, sel);
+ return img_format("MTTR %s, %s, %s, %s", rt, c0s, u, sel);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MUH %s, %s, %s", rd, rs, rt);
+ return img_format("MUH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MUHU %s, %s, %s", rd, rs, rt);
+ return img_format("MUHU %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MUL %s, %s, %s", rd, rs, rt);
+ return img_format("MUL %s, %s, %s", rd, rs, rt);
}
std::string rs4 = GPR(decode_gpr_gpr4(rs4_value));
std::string rt4 = GPR(decode_gpr_gpr4(rt4_value));
- return img::format("MUL %s, %s", rs4, rt4);
+ return img_format("MUL %s, %s", rs4, rt4);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MUL.D %s, %s, %s", fd, fs, ft);
+ return img_format("MUL.D %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MUL.PH %s, %s, %s", rd, rs, rt);
+ return img_format("MUL.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MUL_S.PH %s, %s, %s", rd, rs, rt);
+ return img_format("MUL_S.PH %s, %s, %s", rd, rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("MUL.S %s, %s, %s", fd, fs, ft);
+ return img_format("MUL.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULEQ_S.W.PHL %s, %s, %s", rd, rs, rt);
+ return img_format("MULEQ_S.W.PHL %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULEQ_S.W.PHR %s, %s, %s", rd, rs, rt);
+ return img_format("MULEQ_S.W.PHR %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULEU_S.PH.QBL %s, %s, %s", rd, rs, rt);
+ return img_format("MULEU_S.PH.QBL %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULEU_S.PH.QBR %s, %s, %s", rd, rs, rt);
+ return img_format("MULEU_S.PH.QBR %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULQ_RS.PH %s, %s, %s", rd, rs, rt);
+ return img_format("MULQ_RS.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULQ_RS.W %s, %s, %s", rd, rs, rt);
+ return img_format("MULQ_RS.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULQ_S.PH %s, %s, %s", rd, rs, rt);
+ return img_format("MULQ_S.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULQ_S.W %s, %s, %s", rd, rs, rt);
+ return img_format("MULQ_S.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULSA.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("MULSA.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULSAQ_S.W.PH %s, %s, %s", ac, rs, rt);
+ return img_format("MULSAQ_S.W.PH %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULT %s, %s, %s", ac, rs, rt);
+ return img_format("MULT %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULTU %s, %s, %s", ac, rs, rt);
+ return img_format("MULTU %s, %s, %s", ac, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("MULU %s, %s, %s", rd, rs, rt);
+ return img_format("MULU %s, %s, %s", rd, rs, rt);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("NEG.D %s, %s", ft, fs);
+ return img_format("NEG.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("NEG.S %s, %s", ft, fs);
+ return img_format("NEG.S %s, %s", ft, fs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("NOR %s, %s, %s", rd, rs, rt);
+ return img_format("NOR %s, %s, %s", rd, rs, rt);
}
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("NOT %s, %s", rt3, rs3);
+ return img_format("NOT %s, %s", rt3, rs3);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
- return img::format("OR %s, %s", rs3, rt3);
+ return img_format("OR %s, %s", rs3, rt3);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("OR %s, %s, %s", rd, rs, rt);
+ return img_format("OR %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("ORI %s, %s, %s", rt, rs, u);
+ return img_format("ORI %s, %s, %s", rt, rs, u);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PACKRL.PH %s, %s, %s", rd, rs, rt);
+ return img_format("PACKRL.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PICK.PH %s, %s, %s", rd, rs, rt);
+ return img_format("PICK.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PICK.QB %s, %s, %s", rd, rs, rt);
+ return img_format("PICK.QB %s, %s, %s", rd, rs, rt);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEQ.W.PHL %s, %s", rt, rs);
+ return img_format("PRECEQ.W.PHL %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEQ.W.PHR %s, %s", rt, rs);
+ return img_format("PRECEQ.W.PHR %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEQU.PH.QBLA %s, %s", rt, rs);
+ return img_format("PRECEQU.PH.QBLA %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEQU.PH.QBL %s, %s", rt, rs);
+ return img_format("PRECEQU.PH.QBL %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEQU.PH.QBRA %s, %s", rt, rs);
+ return img_format("PRECEQU.PH.QBRA %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEQU.PH.QBR %s, %s", rt, rs);
+ return img_format("PRECEQU.PH.QBR %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEU.PH.QBLA %s, %s", rt, rs);
+ return img_format("PRECEU.PH.QBLA %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEU.PH.QBL %s, %s", rt, rs);
+ return img_format("PRECEU.PH.QBL %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEU.PH.QBRA %s, %s", rt, rs);
+ return img_format("PRECEU.PH.QBRA %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PRECEU.PH.QBR %s, %s", rt, rs);
+ return img_format("PRECEU.PH.QBR %s, %s", rt, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PRECR.QB.PH %s, %s, %s", rd, rs, rt);
+ return img_format("PRECR.QB.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("PRECR_SRA.PH.W %s, %s, %s", rt, rs, sa);
+ return img_format("PRECR_SRA.PH.W %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("PRECR_SRA_R.PH.W %s, %s, %s", rt, rs, sa);
+ return img_format("PRECR_SRA_R.PH.W %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PRECRQ.PH.W %s, %s, %s", rd, rs, rt);
+ return img_format("PRECRQ.PH.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PRECRQ.QB.PH %s, %s, %s", rd, rs, rt);
+ return img_format("PRECRQ.QB.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PRECRQ_RS.PH.W %s, %s, %s", rd, rs, rt);
+ return img_format("PRECRQ_RS.PH.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("PRECRQU_S.QB.PH %s, %s, %s", rd, rs, rt);
+ return img_format("PRECRQU_S.QB.PH %s, %s, %s", rd, rs, rt);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PREF %s, %s(%s)", hint, s, rs);
+ return img_format("PREF %s, %s(%s)", hint, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PREF %s, %s(%s)", hint, u, rs);
+ return img_format("PREF %s, %s(%s)", hint, u, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("PREFE %s, %s(%s)", hint, s, rs);
+ return img_format("PREFE %s, %s(%s)", hint, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("PREPEND %s, %s, %s", rt, rs, sa);
+ return img_format("PREPEND %s, %s, %s", rt, rs, sa);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("RADDU.W.QB %s, %s", rt, rs);
+ return img_format("RADDU.W.QB %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string mask = IMMEDIATE(copy(mask_value));
- return img::format("RDDSP %s, %s", rt, mask);
+ return img_format("RDDSP %s, %s", rt, mask);
}
std::string hs = CPR(copy(hs_value));
std::string sel = IMMEDIATE(copy(sel_value));
- return img::format("RDHWR %s, %s, %s", rt, hs, sel);
+ return img_format("RDHWR %s, %s, %s", rt, hs, sel);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("RDPGPR %s, %s", rt, rs);
+ return img_format("RDPGPR %s, %s", rt, rs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("RECIP.D %s, %s", ft, fs);
+ return img_format("RECIP.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("RECIP.S %s, %s", ft, fs);
+ return img_format("RECIP.S %s, %s", ft, fs);
}
std::string rt = GPR(copy(rt_value));
std::string s = IMMEDIATE(copy(s_value));
- return img::format("REPL.PH %s, %s", rt, s);
+ return img_format("REPL.PH %s, %s", rt, s);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("REPL.QB %s, %s", rt, u);
+ return img_format("REPL.QB %s, %s", rt, u);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("REPLV.PH %s, %s", rt, rs);
+ return img_format("REPLV.PH %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("REPLV.QB %s, %s", rt, rs);
+ return img_format("REPLV.QB %s, %s", rt, rs);
}
uint64 gp_value = extract_gp_2(instruction);
std::string u = IMMEDIATE(copy(u_value));
- return img::format("RESTORE %s%s", u,
+ return img_format("RESTORE %s%s", u,
save_restore_list(rt_value, count_value, gp_value));
}
uint64 count_value = extract_count_3_2_1_0(instruction);
std::string u = IMMEDIATE(copy(u_value));
- return img::format("RESTORE.JRC %s%s", u,
+ return img_format("RESTORE.JRC %s%s", u,
save_restore_list(encode_rt1_from_rt(rt1_value), count_value, 0));
}
uint64 gp_value = extract_gp_2(instruction);
std::string u = IMMEDIATE(copy(u_value));
- return img::format("RESTORE.JRC %s%s", u,
+ return img_format("RESTORE.JRC %s%s", u,
save_restore_list(rt_value, count_value, gp_value));
}
std::string u = IMMEDIATE(copy(u_value));
std::string count = IMMEDIATE(copy(count_value));
- return img::format("RESTOREF %s, %s", u, count);
+ return img_format("RESTOREF %s, %s", u, count);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("RINT.D %s, %s", ft, fs);
+ return img_format("RINT.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("RINT.S %s, %s", ft, fs);
+ return img_format("RINT.S %s, %s", ft, fs);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("ROTR %s, %s, %s", rt, rs, shift);
+ return img_format("ROTR %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("ROTRV %s, %s, %s", rd, rs, rt);
+ return img_format("ROTRV %s, %s, %s", rd, rs, rt);
}
std::string shiftx = IMMEDIATE(copy(shiftx_value));
std::string stripe = IMMEDIATE(copy(stripe_value));
- return img::format("ROTX %s, %s, %s, %s, %s",
+ return img_format("ROTX %s, %s, %s, %s, %s",
rt, rs, shift, shiftx, stripe);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("ROUND.L.D %s, %s", ft, fs);
+ return img_format("ROUND.L.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("ROUND.L.S %s, %s", ft, fs);
+ return img_format("ROUND.L.S %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("ROUND.W.D %s, %s", ft, fs);
+ return img_format("ROUND.W.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("ROUND.W.S %s, %s", ft, fs);
+ return img_format("ROUND.W.S %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("RSQRT.D %s, %s", ft, fs);
+ return img_format("RSQRT.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("RSQRT.S %s, %s", ft, fs);
+ return img_format("RSQRT.S %s, %s", ft, fs);
}
uint64 count_value = extract_count_3_2_1_0(instruction);
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SAVE %s%s", u,
+ return img_format("SAVE %s%s", u,
save_restore_list(encode_rt1_from_rt(rt1_value), count_value, 0));
}
uint64 gp_value = extract_gp_2(instruction);
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SAVE %s%s", u,
+ return img_format("SAVE %s%s", u,
save_restore_list(rt_value, count_value, gp_value));
}
std::string u = IMMEDIATE(copy(u_value));
std::string count = IMMEDIATE(copy(count_value));
- return img::format("SAVEF %s, %s", u, count);
+ return img_format("SAVEF %s, %s", u, count);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("SB %s, %s(%s)", rtz3, u, rs3);
+ return img_format("SB %s, %s(%s)", rtz3, u, rs3);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SB %s, %s($%d)", rt, u, 28);
+ return img_format("SB %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SB %s, %s(%s)", rt, s, rs);
+ return img_format("SB %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SB %s, %s(%s)", rt, u, rs);
+ return img_format("SB %s, %s(%s)", rt, u, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SBE %s, %s(%s)", rt, s, rs);
+ return img_format("SBE %s, %s(%s)", rt, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SBX %s, %s(%s)", rd, rs, rt);
+ return img_format("SBX %s, %s(%s)", rd, rs, rt);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SC %s, %s(%s)", rt, s, rs);
+ return img_format("SC %s, %s(%s)", rt, s, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SCD %s, %s(%s)", rt, s, rs);
+ return img_format("SCD %s, %s(%s)", rt, s, rs);
}
std::string ru = GPR(copy(ru_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SCDP %s, %s, (%s)", rt, ru, rs);
+ return img_format("SCDP %s, %s, (%s)", rt, ru, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SCE %s, %s(%s)", rt, s, rs);
+ return img_format("SCE %s, %s(%s)", rt, s, rs);
}
std::string ru = GPR(copy(ru_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SCWP %s, %s, (%s)", rt, ru, rs);
+ return img_format("SCWP %s, %s, (%s)", rt, ru, rs);
}
std::string ru = GPR(copy(ru_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SCWPE %s, %s, (%s)", rt, ru, rs);
+ return img_format("SCWPE %s, %s, (%s)", rt, ru, rs);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SD %s, %s($%d)", rt, u, 28);
+ return img_format("SD %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SD %s, %s(%s)", rt, s, rs);
+ return img_format("SD %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SD %s, %s(%s)", rt, u, rs);
+ return img_format("SD %s, %s(%s)", rt, u, rs);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("SDBBP %s", code);
+ return img_format("SDBBP %s", code);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("SDBBP %s", code);
+ return img_format("SDBBP %s", code);
}
std::string ft = FPR(copy(ft_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SDC1 %s, %s($%d)", ft, u, 28);
+ return img_format("SDC1 %s, %s($%d)", ft, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SDC1 %s, %s(%s)", ft, s, rs);
+ return img_format("SDC1 %s, %s(%s)", ft, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SDC1 %s, %s(%s)", ft, u, rs);
+ return img_format("SDC1 %s, %s(%s)", ft, u, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SDC1X %s, %s(%s)", ft, rs, rt);
+ return img_format("SDC1X %s, %s(%s)", ft, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SDC1XS %s, %s(%s)", ft, rs, rt);
+ return img_format("SDC1XS %s, %s(%s)", ft, rs, rt);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SDC2 %s, %s(%s)", cs, s, rs);
+ return img_format("SDC2 %s, %s(%s)", cs, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("SDM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("SDM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 6);
- return img::format("SDPC %s, %s", rt, s);
+ return img_format("SDPC %s, %s", rt, s);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SDXS %s, %s(%s)", rd, rs, rt);
+ return img_format("SDXS %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SDX %s, %s(%s)", rd, rs, rt);
+ return img_format("SDX %s, %s(%s)", rd, rs, rt);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SEB %s, %s", rt, rs);
+ return img_format("SEB %s, %s", rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SEH %s, %s", rt, rs);
+ return img_format("SEH %s, %s", rt, rs);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SEL.D %s, %s, %s", fd, fs, ft);
+ return img_format("SEL.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SEL.S %s, %s, %s", fd, fs, ft);
+ return img_format("SEL.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SELEQZ.D %s, %s, %s", fd, fs, ft);
+ return img_format("SELEQZ.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SELEQZ.S %s, %s, %s", fd, fs, ft);
+ return img_format("SELEQZ.S %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SELNEZ.D %s, %s, %s", fd, fs, ft);
+ return img_format("SELNEZ.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SELNEZ.S %s, %s, %s", fd, fs, ft);
+ return img_format("SELNEZ.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SEQI %s, %s, %s", rt, rs, u);
+ return img_format("SEQI %s, %s, %s", rt, rs, u);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("SH %s, %s(%s)", rtz3, u, rs3);
+ return img_format("SH %s, %s(%s)", rtz3, u, rs3);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SH %s, %s($%d)", rt, u, 28);
+ return img_format("SH %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SH %s, %s(%s)", rt, s, rs);
+ return img_format("SH %s, %s(%s)", rt, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SH %s, %s(%s)", rt, u, rs);
+ return img_format("SH %s, %s(%s)", rt, u, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHE %s, %s(%s)", rt, s, rs);
+ return img_format("SHE %s, %s(%s)", rt, s, rs);
}
std::string shift = IMMEDIATE(copy(shift_value));
std::string ac = AC(copy(ac_value));
- return img::format("SHILO %s, %s", ac, shift);
+ return img_format("SHILO %s, %s", ac, shift);
}
std::string rs = GPR(copy(rs_value));
std::string ac = AC(copy(ac_value));
- return img::format("SHILOV %s, %s", ac, rs);
+ return img_format("SHILOV %s, %s", ac, rs);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHLL.PH %s, %s, %s", rt, rs, sa);
+ return img_format("SHLL.PH %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHLL.QB %s, %s, %s", rt, rs, sa);
+ return img_format("SHLL.QB %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHLL_S.PH %s, %s, %s", rt, rs, sa);
+ return img_format("SHLL_S.PH %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHLL_S.W %s, %s, %s", rt, rs, sa);
+ return img_format("SHLL_S.W %s, %s, %s", rt, rs, sa);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHLLV.PH %s, %s, %s", rd, rt, rs);
+ return img_format("SHLLV.PH %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHLLV.QB %s, %s, %s", rd, rt, rs);
+ return img_format("SHLLV.QB %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHLLV_S.PH %s, %s, %s", rd, rt, rs);
+ return img_format("SHLLV_S.PH %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHLLV_S.W %s, %s, %s", rd, rt, rs);
+ return img_format("SHLLV_S.W %s, %s, %s", rd, rt, rs);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHRA.PH %s, %s, %s", rt, rs, sa);
+ return img_format("SHRA.PH %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHRA.QB %s, %s, %s", rt, rs, sa);
+ return img_format("SHRA.QB %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHRA_R.PH %s, %s, %s", rt, rs, sa);
+ return img_format("SHRA_R.PH %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHRA_R.QB %s, %s, %s", rt, rs, sa);
+ return img_format("SHRA_R.QB %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHRA_R.W %s, %s, %s", rt, rs, sa);
+ return img_format("SHRA_R.W %s, %s, %s", rt, rs, sa);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHRAV.PH %s, %s, %s", rd, rt, rs);
+ return img_format("SHRAV.PH %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHRAV.QB %s, %s, %s", rd, rt, rs);
+ return img_format("SHRAV.QB %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHRAV_R.PH %s, %s, %s", rd, rt, rs);
+ return img_format("SHRAV_R.PH %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHRAV_R.QB %s, %s, %s", rd, rt, rs);
+ return img_format("SHRAV_R.QB %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHRAV_R.W %s, %s, %s", rd, rt, rs);
+ return img_format("SHRAV_R.W %s, %s, %s", rd, rt, rs);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHRL.PH %s, %s, %s", rt, rs, sa);
+ return img_format("SHRL.PH %s, %s, %s", rt, rs, sa);
}
std::string rs = GPR(copy(rs_value));
std::string sa = IMMEDIATE(copy(sa_value));
- return img::format("SHRL.QB %s, %s, %s", rt, rs, sa);
+ return img_format("SHRL.QB %s, %s, %s", rt, rs, sa);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHRLV.PH %s, %s, %s", rd, rt, rs);
+ return img_format("SHRLV.PH %s, %s, %s", rd, rt, rs);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SHRLV.QB %s, %s, %s", rd, rt, rs);
+ return img_format("SHRLV.QB %s, %s, %s", rd, rt, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SHX %s, %s(%s)", rd, rs, rt);
+ return img_format("SHX %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SHXS %s, %s(%s)", rd, rs, rt);
+ return img_format("SHXS %s, %s(%s)", rd, rs, rt);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("SIGRIE %s", code);
+ return img_format("SIGRIE %s", code);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string shift3 = IMMEDIATE(encode_shift3_from_shift(shift3_value));
- return img::format("SLL %s, %s, %s", rt3, rs3, shift3);
+ return img_format("SLL %s, %s, %s", rt3, rs3, shift3);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("SLL %s, %s, %s", rt, rs, shift);
+ return img_format("SLL %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SLLV %s, %s, %s", rd, rs, rt);
+ return img_format("SLLV %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SLT %s, %s, %s", rd, rs, rt);
+ return img_format("SLT %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SLTI %s, %s, %s", rt, rs, u);
+ return img_format("SLTI %s, %s, %s", rt, rs, u);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SLTIU %s, %s, %s", rt, rs, u);
+ return img_format("SLTIU %s, %s, %s", rt, rs, u);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SLTU %s, %s, %s", rd, rs, rt);
+ return img_format("SLTU %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SOV %s, %s, %s", rd, rs, rt);
+ return img_format("SOV %s, %s, %s", rd, rs, rt);
}
std::string op = IMMEDIATE(copy(op_value));
- return img::format("SPECIAL2 %s", op);
+ return img_format("SPECIAL2 %s", op);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("SQRT.D %s, %s", ft, fs);
+ return img_format("SQRT.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("SQRT.S %s, %s", ft, fs);
+ return img_format("SQRT.S %s, %s", ft, fs);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("SRA %s, %s, %s", rt, rs, shift);
+ return img_format("SRA %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SRAV %s, %s, %s", rd, rs, rt);
+ return img_format("SRAV %s, %s, %s", rd, rs, rt);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string shift3 = IMMEDIATE(encode_shift3_from_shift(shift3_value));
- return img::format("SRL %s, %s, %s", rt3, rs3, shift3);
+ return img_format("SRL %s, %s, %s", rt3, rs3, shift3);
}
std::string rs = GPR(copy(rs_value));
std::string shift = IMMEDIATE(copy(shift_value));
- return img::format("SRL %s, %s, %s", rt, rs, shift);
+ return img_format("SRL %s, %s, %s", rt, rs, shift);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SRLV %s, %s, %s", rd, rs, rt);
+ return img_format("SRLV %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUB %s, %s, %s", rd, rs, rt);
+ return img_format("SUB %s, %s, %s", rd, rs, rt);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SUB.D %s, %s, %s", fd, fs, ft);
+ return img_format("SUB.D %s, %s, %s", fd, fs, ft);
}
std::string fs = FPR(copy(fs_value));
std::string ft = FPR(copy(ft_value));
- return img::format("SUB.S %s, %s, %s", fd, fs, ft);
+ return img_format("SUB.S %s, %s, %s", fd, fs, ft);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBQ.PH %s, %s, %s", rd, rs, rt);
+ return img_format("SUBQ.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBQ_S.PH %s, %s, %s", rd, rs, rt);
+ return img_format("SUBQ_S.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBQ_S.W %s, %s, %s", rd, rs, rt);
+ return img_format("SUBQ_S.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBQH.PH %s, %s, %s", rd, rs, rt);
+ return img_format("SUBQH.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBQH_R.PH %s, %s, %s", rd, rs, rt);
+ return img_format("SUBQH_R.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBQH_R.W %s, %s, %s", rd, rs, rt);
+ return img_format("SUBQH_R.W %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBQH.W %s, %s, %s", rd, rs, rt);
+ return img_format("SUBQH.W %s, %s, %s", rd, rs, rt);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
- return img::format("SUBU %s, %s, %s", rd3, rs3, rt3);
+ return img_format("SUBU %s, %s, %s", rd3, rs3, rt3);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBU %s, %s, %s", rd, rs, rt);
+ return img_format("SUBU %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBU.PH %s, %s, %s", rd, rs, rt);
+ return img_format("SUBU.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBU.QB %s, %s, %s", rd, rs, rt);
+ return img_format("SUBU.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBU_S.PH %s, %s, %s", rd, rs, rt);
+ return img_format("SUBU_S.PH %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBU_S.QB %s, %s, %s", rd, rs, rt);
+ return img_format("SUBU_S.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBUH.QB %s, %s, %s", rd, rs, rt);
+ return img_format("SUBUH.QB %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SUBUH_R.QB %s, %s, %s", rd, rs, rt);
+ return img_format("SUBUH_R.QB %s, %s, %s", rd, rs, rt);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
- return img::format("SW %s, %s(%s)", rtz3, u, rs3);
+ return img_format("SW %s, %s(%s)", rtz3, u, rs3);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs4 = GPR(decode_gpr_gpr4(rs4_value));
- return img::format("SW %s, %s(%s)", rtz4, u, rs4);
+ return img_format("SW %s, %s(%s)", rtz4, u, rs4);
}
std::string rtz3 = GPR(decode_gpr_gpr3_src_store(rtz3_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SW %s, %s($%d)", rtz3, u, 28);
+ return img_format("SW %s, %s($%d)", rtz3, u, 28);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SW %s, %s($%d)", rt, u, 28);
+ return img_format("SW %s, %s($%d)", rt, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SW %s, %s(%s)", rt, s, rs);
+ return img_format("SW %s, %s(%s)", rt, s, rs);
}
std::string rt = GPR(copy(rt_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SW %s, %s($%d)", rt, u, 29);
+ return img_format("SW %s, %s($%d)", rt, u, 29);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SW %s, %s(%s)", rt, u, rs);
+ return img_format("SW %s, %s(%s)", rt, u, rs);
}
std::string ft = FPR(copy(ft_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("SWC1 %s, %s($%d)", ft, u, 28);
+ return img_format("SWC1 %s, %s($%d)", ft, u, 28);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SWC1 %s, %s(%s)", ft, s, rs);
+ return img_format("SWC1 %s, %s(%s)", ft, s, rs);
}
std::string u = IMMEDIATE(copy(u_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SWC1 %s, %s(%s)", ft, u, rs);
+ return img_format("SWC1 %s, %s(%s)", ft, u, rs);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SWC1X %s, %s(%s)", ft, rs, rt);
+ return img_format("SWC1X %s, %s(%s)", ft, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SWC1XS %s, %s(%s)", ft, rs, rt);
+ return img_format("SWC1XS %s, %s(%s)", ft, rs, rt);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SWC2 %s, %s(%s)", cs, s, rs);
+ return img_format("SWC2 %s, %s(%s)", cs, s, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SWE %s, %s(%s)", rt, s, rs);
+ return img_format("SWE %s, %s(%s)", rt, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("SWM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("SWM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string rt = GPR(copy(rt_value));
std::string s = ADDRESS(encode_s_from_address(s_value), 6);
- return img::format("SWPC %s, %s", rt, s);
+ return img_format("SWPC %s, %s", rt, s);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SWX %s, %s(%s)", rd, rs, rt);
+ return img_format("SWX %s, %s(%s)", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("SWXS %s, %s(%s)", rd, rs, rt);
+ return img_format("SWXS %s, %s(%s)", rd, rs, rt);
}
std::string stype = IMMEDIATE(copy(stype_value));
- return img::format("SYNC %s", stype);
+ return img_format("SYNC %s", stype);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SYNCI %s(%s)", s, rs);
+ return img_format("SYNCI %s(%s)", s, rs);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("SYNCIE %s(%s)", s, rs);
+ return img_format("SYNCIE %s(%s)", s, rs);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("SYSCALL %s", code);
+ return img_format("SYSCALL %s", code);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("SYSCALL %s", code);
+ return img_format("SYSCALL %s", code);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("TEQ %s, %s", rs, rt);
+ return img_format("TEQ %s, %s", rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("TNE %s, %s", rs, rt);
+ return img_format("TNE %s, %s", rs, rt);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("TRUNC.L.D %s, %s", ft, fs);
+ return img_format("TRUNC.L.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("TRUNC.L.S %s, %s", ft, fs);
+ return img_format("TRUNC.L.S %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("TRUNC.W.D %s, %s", ft, fs);
+ return img_format("TRUNC.W.D %s, %s", ft, fs);
}
std::string ft = FPR(copy(ft_value));
std::string fs = FPR(copy(fs_value));
- return img::format("TRUNC.W.S %s, %s", ft, fs);
+ return img_format("TRUNC.W.S %s, %s", ft, fs);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("UALDM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("UALDM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("UALH %s, %s(%s)", rt, s, rs);
+ return img_format("UALH %s, %s(%s)", rt, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("UALWM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("UALWM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("UASDM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("UASDM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string s = IMMEDIATE(copy(s_value));
std::string rs = GPR(copy(rs_value));
- return img::format("UASH %s, %s(%s)", rt, s, rs);
+ return img_format("UASH %s, %s(%s)", rt, s, rs);
}
std::string rs = GPR(copy(rs_value));
std::string count3 = IMMEDIATE(encode_count3_from_count(count3_value));
- return img::format("UASWM %s, %s(%s), %s", rt, s, rs, count3);
+ return img_format("UASWM %s, %s(%s), %s", rt, s, rs, count3);
}
std::string op = IMMEDIATE(copy(op_value));
- return img::format("UDI %s", op);
+ return img_format("UDI %s", op);
}
std::string code = IMMEDIATE(copy(code_value));
- return img::format("WAIT %s", code);
+ return img_format("WAIT %s", code);
}
std::string rt = GPR(copy(rt_value));
std::string mask = IMMEDIATE(copy(mask_value));
- return img::format("WRDSP %s, %s", rt, mask);
+ return img_format("WRDSP %s, %s", rt, mask);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("WRPGPR %s, %s", rt, rs);
+ return img_format("WRPGPR %s, %s", rt, rs);
}
std::string rs3 = GPR(decode_gpr_gpr3(rs3_value));
std::string rt3 = GPR(decode_gpr_gpr3(rt3_value));
- return img::format("XOR %s, %s", rs3, rt3);
+ return img_format("XOR %s, %s", rs3, rt3);
}
std::string rs = GPR(copy(rs_value));
std::string rt = GPR(copy(rt_value));
- return img::format("XOR %s, %s, %s", rd, rs, rt);
+ return img_format("XOR %s, %s, %s", rd, rs, rt);
}
std::string rs = GPR(copy(rs_value));
std::string u = IMMEDIATE(copy(u_value));
- return img::format("XORI %s, %s, %s", rt, rs, u);
+ return img_format("XORI %s, %s, %s", rt, rs, u);
}
std::string rt = GPR(copy(rt_value));
std::string rs = GPR(copy(rs_value));
- return img::format("YIELD %s, %s", rt, rs);
+ return img_format("YIELD %s, %s", rt, rs);
}