Home
last modified time | relevance | path

Searched refs:minus_one (Results 1 – 11 of 11) sorted by relevance

/external/v8/test/mjsunit/
Dsmi-negative-zero.js32 var minus_one = -1; variable
42 assertEquals(-Infinity, one / (zero * minus_one), "one / -1");
43 assertEquals(-Infinity, one / (minus_one * zero), "one / -0 II");
45 assertEquals(1, one / (minus_one * minus_one), "one / 1");
47 assertEquals(-Infinity, one / (zero / minus_one), "one / -0 III");
57 assertEquals(-Infinity, one / (0 * minus_one), "bar1");
60 assertEquals(1, one / (-1 * minus_one), "bar4");
62 assertEquals(-Infinity, one / (0 / minus_one), "baz1");
73 assertEquals(-Infinity, one / (minus_one * 0), "fizz2");
75 assertEquals(1, one / (minus_one * -1), "fizz4");
/external/v8/test/mjsunit/regress/
Dregress-996542.js30 var minus_one = -1; variable
33 assertEquals(-Infinity, one / (zero / minus_one));
38 assertEquals(-Infinity, one / (minus_one % one))
Dregress-1199401.js57 var minus_one = -1; variable
59 assertEquals(result, min_smi * minus_one, name + "-varvarmult");
60 assertEquals(result, min_smi / minus_one, name + "-varvardiv");
/external/v8/test/cctest/compiler/
Dtest-machine-operator-reducer.cc474 Node* minus_one = R.Constant<int32_t>(-1); in TEST() local
480 R.CheckFoldBinop<int32_t>(0, R.machine.Int32Sub(), x, minus_one, in TEST()
483 minus_one); // x * -1 => 0 - x in TEST()
513 Node* minus_one = R.Constant<int32_t>(-1); in TEST() local
519 minus_one); // x / -1 => 0 - x in TEST()
/external/libvpx/libvpx/vpx_dsp/x86/
Dfwd_txfm_sse2.h187 __m128i minus_one = _mm_set1_epi32(-1); in k_check_epi32_overflow_4() local
205 __m128i valid_negative_01 = _mm_cmpeq_epi32(top_dwords_01, minus_one); in k_check_epi32_overflow_4()
206 __m128i valid_negative_23 = _mm_cmpeq_epi32(top_dwords_23, minus_one); in k_check_epi32_overflow_4()
/external/llvm/test/CodeGen/X86/
Dpeephole-na-phys-copy-folding.ll64 ; CHECK-LABEL: minus_one
71 define i1 @minus_one() {
/external/bison/m4/
Dsignbit.m4355 static float_union minus_one = { -1.0$3 }; /* unused bits are zero here */
356 /* Compute the sign bit mask as the XOR of plus_one and minus_one. */
361 if (u.b[i] & (plus_one.b[i] ^ minus_one.b[i]))
/external/vulkan-validation-layers/libs/glm/detail/
Dintrinsic_geometric.inl107 __m128 mul0 = _mm_mul_ps(sgn0, glm::detail::minus_one);
Dintrinsic_common.inl54 static const __m128 GLM_VAR_USED minus_one = _mm_set_ps1(-1.0f); variable
/external/v8/src/compiler/
Dsimplified-lowering.cc2545 Node* const minus_one = jsgraph()->Float64Constant(-1.0); in Float64Floor() local
2647 graph()->NewNode(machine()->Float64Sub(), minus_one, temp2), in Float64Floor()
2820 Node* const minus_one = jsgraph()->Int32Constant(-1); in Int32Div() local
2860 Node* check1 = graph()->NewNode(machine()->Int32LessThan(), rhs, minus_one); in Int32Div()
2894 Node* const minus_one = jsgraph()->Int32Constant(-1); in Int32Mod() local
2935 Node* msk = graph()->NewNode(machine()->Int32Add(), rhs, minus_one); in Int32Mod()
2971 Node* check1 = graph()->NewNode(machine()->Int32LessThan(), rhs, minus_one); in Int32Mod()
3011 Node* const minus_one = jsgraph()->Int32Constant(-1); in Uint32Mod() local
3046 Node* msk = graph()->NewNode(machine()->Int32Add(), rhs, minus_one); in Uint32Mod()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c1196 LLVMValueRef minus_one = lp_build_const_vec(bld->gallivm, type, -1.0); in lp_build_sgn() local
1198 res = lp_build_select(bld, cond, bld->one, minus_one); in lp_build_sgn()