Lines Matching refs:result
28 s32 result; in qm_muls16() local
30 result = 0x7fffffff; in qm_muls16()
32 result = ((s32) (op1) * (s32) (op2)); in qm_muls16()
34 return (s16) (result >> 15); in qm_muls16()
44 s32 result; in qm_add32() local
45 result = op1 + op2; in qm_add32()
46 if (op1 < 0 && op2 < 0 && result > 0) in qm_add32()
47 result = 0x80000000; in qm_add32()
48 else if (op1 > 0 && op2 > 0 && result < 0) in qm_add32()
49 result = 0x7fffffff; in qm_add32()
51 return result; in qm_add32()
61 s16 result; in qm_add16() local
64 result = (s16) 0x7fff; in qm_add16()
66 result = (s16) 0xffff8000; in qm_add16()
68 result = (s16) temp; in qm_add16()
70 return result; in qm_add16()
80 s16 result; in qm_sub16() local
83 result = (s16) 0x7fff; in qm_sub16()
85 result = (s16) 0xffff8000; in qm_sub16()
87 result = (s16) temp; in qm_sub16()
89 return result; in qm_sub16()
101 s32 result; in qm_shl32() local
102 result = op; in qm_shl32()
109 result = qm_add32(result, result); in qm_shl32()
111 result = result >> (-shift); in qm_shl32()
114 return result; in qm_shl32()
126 s16 result; in qm_shl16() local
127 result = op; in qm_shl16()
134 result = qm_add16(result, result); in qm_shl16()
136 result = result >> (-shift); in qm_shl16()
139 return result; in qm_shl16()