Lines Matching refs:s4
33 typedef int32_t s4;
38 s4 iadd32(s4 x, s4 y) { return x + y; }
43 s4 isub32(s4 x, s4 y) { return x - y; }
48 s4 irsub32lit8(s4 x) { return 25 - x; }
50 s4 imul32(s4 x, s4 y) { return x * y; }
55 s4 idiv32(s4 x, s4 y) { return x / y; }
60 s4 irem32(s4 x, s4 y) { return x % y; }
63 s4 iand32(s4 x, s4 y) { return x & y; }
66 s4 ior32(s4 x, s4 y) { return x | y; }
69 s4 ixor32(s4 x, s4 y) { return x ^ y; }
72 s4 iasl32(s4 x, s4 count) { return x << (count & 0x1f); }
73 s8 iasl64(s8 x, s4 count) { return x << (count & 0x3f); }
75 s4 iasr32(s4 x, s4 count) { return x >> (count & 0x1f); }
76 s8 iasr64(s8 x, s4 count) { return x >> (count & 0x3f); }
78 s4 ilsr32(s4 x, s4 count) { return ((u4)x) >> (count & 0x1f); } // unsigned
79 s8 ilsr64(s8 x, s4 count) { return ((u8)x) >> (count & 0x3f); } // unsigned
81 s4 ineg32(s4 x) { return -x; }
86 s4 inot32(s4 x) { return x ^ -1; }
89 s4 float2int(float x) { return (s4) x; }
91 s4 double2int(double x) { return (s4) x; }
132 s1 int2byte(s4 x) { return (s1) x; }
133 s2 int2short(s4 x) { return (s2) x; }
134 u2 int2char(s4 x) { return (u2) x; }
135 s8 int2long(s4 x) { return (s8) x; }
136 float int2float(s4 x) { return (float) x; }
137 double int2double(s4 x) { return (double) x; }
139 s4 long2int(s8 x) { return (s4) x; }
210 s1 signedAA(u2 x) { return (s4)(x << 16) >> 24; }