Home | History | Annotate | Download | only in bfin

Lines Matching defs:mmod

464 mac_optmode (int mmod, int MM)
486 int i = MM + (mmod << 1);
1339 decode_multfunc (SIM_CPU *cpu, int h0, int h1, int src0, int src1, int mmod,
1362 switch (mmod)
1385 if (!MM && (mmod == 0 || mmod == M_T || mmod == M_S2RND || mmod == M_W32))
1389 if (mmod == M_W32)
1401 if (is_macmod_signed (mmod) || MM)
1526 extract_mult (SIM_CPU *cpu, bu64 res, int mmod, int MM,
1530 switch (mmod)
1550 switch (mmod)
1585 int src1, int mmod, int MM, int fullword, bu32 *overflow,
1592 if (is_macmod_signed (mmod) || MM)
1605 bu64 res = decode_multfunc (cpu, h0, h1, src0, src1, mmod,
1625 switch (mmod)
1720 ret = extract_mult (cpu, nosat_acc, mmod, MM, fullword, overflow);
1724 ret = extract_mult (cpu, acc, mmod, MM, fullword, overflow);
3792 | 1 | 1 | 0 | 0 |.M.| 0 | 0 |.mmod..........|.MM|.P.|.w1|.op1...|
3799 int mmod = ((iw0 >> (DSP32Mac_mmod_bits - 16)) & DSP32Mac_mmod_mask);
3819 TRACE_EXTRACT (cpu, "%s: M:%i mmod:%i MM:%i P:%i w1:%i op1:%i h01:%i h11:%i "
3821 __func__, M, mmod, MM, P, w1, op1, h01, h11, w0, op0, h00, h10,
3827 if ((w1 || w0) && mmod == M_W32)
3830 if (((1 << mmod) & (P ? 0x131b : 0x1b5f)) == 0)
3837 src1, mmod, MM, P, &v_1, &n_1);
3885 src1, mmod, 0, P, &v_0, &n_0);
3921 TRACE_INSN (cpu, "%s%s;", _buf, mac_optmode (mmod, _MM));
3953 | 1 | 1 | 0 | 0 |.M.| 0 | 1 |.mmod..........|.MM|.P.|.w1|.op1...|
3960 int mmod = ((iw0 >> (DSP32Mac_mmod_bits - 16)) & DSP32Mac_mmod_mask);
3978 TRACE_EXTRACT (cpu, "%s: M:%i mmod:%i MM:%i P:%i w1:%i op1:%i h01:%i h11:%i "
3980 __func__, M, mmod, MM, P, w1, op1, h01, h11, w0, op0, h00, h10,
3985 if (((1 << mmod) & (P ? 0x313 : 0x1b57)) == 0)
3987 if (P && ((dst & 1) || (op1 != 0) || (op0 != 0) || !is_macmod_pmove (mmod)))
3989 if (!P && ((op1 != 0) || (op0 != 0) || !is_macmod_hmove (mmod)))
3995 bu64 r = decode_multfunc (cpu, h01, h11, src0, src1, mmod, MM, &sat1);
3996 bu32 res1 = extract_mult (cpu, r, mmod, MM, P, &v_i1);
4023 bu64 r = decode_multfunc (cpu, h00, h10, src0, src1, mmod, 0, &sat0);
4024 bu32 res0 = extract_mult (cpu, r, mmod, 0, P, &v_i0);
4041 TRACE_INSN (cpu, "%s%s;", _buf, mac_optmode (mmod, _MM));