3 // toshiba specific instructions.
6 011100,5.RS,5.RT,5.RD,00000000000:MMINORM:::MADD
7 "madd r<RS>, r<RT>":RD == 0
8 "madd r<RD>, r<RS>, r<RT>"
11 signed64 prod = (U8_4 (VL4_8 (HI), VL4_8 (LO))
12 + ((signed64) EXTEND32 (GPR[RT])
13 * (signed64) EXTEND32 (GPR[RS])));
14 check_mult_hilo (SD_, HIHISTORY, LOHISTORY);
15 TRACE_ALU_INPUT2 (GPR[RS], GPR[RT]);
17 HI = EXTEND32 (VH4_8 (prod));
18 TRACE_ALU_RESULT2 (HI, LO);
24 011100,5.RS,5.RT,5.RD,00000000001:MMINORM:::MADDU
25 "maddu r<RS>, r<RT>":RD == 0
26 "maddu r<RD>, r<RS>, r<RT>"
29 unsigned64 prod = (U8_4 (VL4_8 (HI), VL4_8 (LO))
30 + ((unsigned64) VL4_8 (GPR[RS])
31 * (unsigned64) VL4_8 (GPR[RT])));
32 check_mult_hilo (SD_, HIHISTORY, LOHISTORY);
33 TRACE_ALU_INPUT2 (GPR[RS], GPR[RT]);
35 HI = EXTEND32 (VH4_8 (prod));
36 TRACE_ALU_RESULT2 (HI, LO);
41 000000,CODE.20,001110::CO1:::SDBBP
45 SignalException (DebugBreakPoint, instruction);