Home | History | Annotate | Download | only in docs

Lines Matching refs:s8

35 typedef int64_t s8;
39 s8 iadd64(s8 x, s8 y) { return x + y; }
44 s8 isub64(s8 x, s8 y) { return x - y; }
51 s8 imul64(s8 x, s8 y) { return x * y; }
56 s8 idiv64(s8 x, s8 y) { return x / y; }
61 s8 irem64(s8 x, s8 y) { return x % y; }
64 s8 iand64(s8 x, s8 y) { return x & y; }
67 s8 ior64(s8 x, s8 y) { return x | y; }
70 s8 ixor64(s8 x, s8 y) { return x ^ y; }
73 s8 iasl64(s8 x, s4 count) { return x << (count & 0x3f); }
76 s8 iasr64(s8 x, s4 count) { return x >> (count & 0x3f); }
79 s8 ilsr64(s8 x, s4 count) { return ((u8)x) >> (count & 0x3f); } // unsigned
82 s8 ineg64(s8 x) { return -x; }
87 s8 inot64(s8 x) { return x ^ -1LL; }
99 s8 float2long(float x) { return (s8) x; }
100 s8 float2long_clamp(float x)
112 return (s8) x;
115 s8 double2long(double x) { return (s8) x; }
116 s8 double2long_clamp(double x)
128 return (s8) x;
135 s8 int2long(s4 x) { return (s8) x; }
139 s4 long2int(s8 x) { return (s4) x; }
140 float long2float(s8 x) { return (float) x; }
141 double long2double(s8 x) { return (double) x; }
195 int cmp_long(s8 x, s8 y)