Lines Matching defs:op1
47 qm_mul321616(int16 op1, int16 op2)
49 return ((int32)(op1)*(int32)(op2));
58 qm_mul16(int16 op1, int16 op2)
61 result = ((int32)(op1)*(int32)(op2));
73 qm_muls321616(int16 op1, int16 op2)
76 if (op1 == (int16)(0x8000) && op2 == (int16)(0x8000)) {
80 result = ((int32)(op1)*(int32)(op2));
91 qm_mulu16(uint16 op1, uint16 op2)
93 return (uint16)(((uint32)op1 * (uint32)op2)>>16);
104 qm_muls16(int16 op1, int16 op2)
107 if (op1 == (int16)0x8000 && op2 == (int16)0x8000) {
111 result = ((int32)(op1)*(int32)(op2));
121 qm_add32(int32 op1, int32 op2)
124 result = op1 + op2;
125 if (op1 < 0 && op2 < 0 && result > 0) {
127 } else if (op1 > 0 && op2 > 0 && result < 0) {
138 qm_add16(int16 op1, int16 op2)
141 int32 temp = (int32)op1 + (int32)op2;
157 qm_sub16(int16 op1, int16 op2)
160 int32 temp = (int32)op1 - (int32)op2;
176 qm_sub32(int32 op1, int32 op2)
179 result = op1 - op2;
180 if (op1 >= 0 && op2 < 0 && result < 0) {
183 else if (op1 < 0 && op2 > 0 && result > 0) {
195 qm_mac321616(int32 acc, int16 op1, int16 op2)
198 result = qm_add32(acc, qm_mul321616(op1, op2));
438 qm_mul323216(int32 op1, int16 op2)
443 hi = op1 >> 16;
444 lo = (int16)(op1 & 0xffff);
455 qm_mulsu321616(int16 op1, uint16 op2)
457 return (int32)(op1) * op2;
467 qm_muls323216(int32 op1, int16 op2)
472 hi = op1 >> 16;
473 lo = (int16)(op1 & 0xffff);