Searched defs:shift (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Drecmul.c116 _bc_shift_addsub (bc_num accum, bc_num val, int shift, int sub) argument
124 assert (accum->n_len+accum->n_scale >= shift+count);
128 accum->n_len + accum->n_scale - shift - 1);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c14974 ** Assuming the current time value is UTC (a.k.a. GMT), shift it to
22041 ** (increase exponent by d to shift decimal left) */
22049 ** (decrease exponent by d to shift decimal right) */
125007 int shift; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_64.c386 /* Unsigned right shift. */
389 /* Signed shift. We also know that the highest bit is set. */
828 sljit_ui shift = MEM_SIZE_SHIFT(flags); local
840 | (shift << 30) | RT(reg) | RN(arg) | (argw << 12)));
848 if (argw && argw != shift)
854 FAIL_IF(push_inst(compiler, sljit_mem_reg[flags & 0x3] | (shift << 30) | RT(reg)
860 if (argw >= 0 && (argw >> shift) <= 0xfff && (argw & ((1 << shift) - 1)) == 0) {
864 FAIL_IF(push_inst(compiler, sljit_mem_imm[flags & 0x3] | (shift << 30)
865 | RT(reg) | RN(arg) | (argw << (10 - shift))));
910 sljit_ui shift = MEM_SIZE_SHIFT(flags); local
1476 sljit_ui shift = MEM_SIZE_SHIFT(flags); local
[all...]
H A DsljitNativeARM_T2_32.c795 #define OFFSET_CHECK(imm, shift) (!(argw & ~(imm << shift)))
889 sljit_si other_r, shift; local
936 shift = 3;
939 shift = 2;
944 shift = 0;
949 shift = 1;
952 if (shift != 3) {
953 FAIL_IF(push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(arg) | (argw << (6 - shift))));
H A DsljitNativeMIPS_64.c31 sljit_si shift = 32; local
56 shift -= 8;
61 shift -= 4;
66 shift -= 2;
72 shift += 1;
74 SLJIT_ASSERT(((uimm & 0xc000000000000000l) == 0x4000000000000000l) && (shift > 0) && (shift <= 32));
83 imm &= (1l << shift) - 1;
85 ins = (shift == 32) ? DSLL32 : DSLL;
86 if (shift < 3
[all...]
H A DsljitNativePPC_64.c41 #define PUSH_RLDICR(reg, shift) \
42 push_inst(compiler, RLDI(reg, reg, 63 - shift, shift, 1))
47 sljit_uw shift; local
64 ASM_SLJIT_CLZ(tmp, shift);
65 SLJIT_ASSERT(shift > 0);
66 shift--;
67 tmp = (imm << shift);
71 shift += 15;
72 return PUSH_RLDICR(reg, shift);
[all...]
H A DsljitNativeTILEGX-encoder.c265 /* By how many bits do we right shift the value before inserting? */
1611 int shift = (int)(sizeof(int) * 8 - num_bits); local
1612 return (n << shift) >> shift;
9563 int shift = (int)((sizeof(int) * 8) - op->num_bits); local
9564 raw_opval = (raw_opval << shift) >> shift;
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dnop_removal.c37 uint32_t new_count, i, shift; local
43 i = new_count = shift = 0;
69 shiftlist[i++] = shift;
71 shift++;
73 if (shift) {
80 if (shift) {
/PHP_TRUNK/ext/gmp/
H A Dgmp.c475 zend_long shift = zval_get_long(op2); local
477 if (shift < 0) {
486 op(gmpnum_result, gmpnum_op, (gmp_ulong) shift);

Completed in 193 milliseconds