Home
last modified time | relevance | path

Searched refs:saturate (Results 1 – 25 of 179) sorted by relevance

12345678

/external/mesa3d/src/intel/compiler/
Dtest_fs_saturate_propagation.cpp131 EXPECT_TRUE(instruction(block0, 0)->saturate); in TEST_F()
133 EXPECT_FALSE(instruction(block0, 1)->saturate); in TEST_F()
168 EXPECT_FALSE(instruction(block0, 0)->saturate); in TEST_F()
170 EXPECT_TRUE(instruction(block0, 1)->saturate); in TEST_F()
204 EXPECT_FALSE(instruction(block0, 0)->saturate); in TEST_F()
206 EXPECT_TRUE(instruction(block0, 1)->saturate); in TEST_F()
238 EXPECT_FALSE(instruction(block0, 0)->saturate); in TEST_F()
240 EXPECT_TRUE(instruction(block0, 1)->saturate); in TEST_F()
274 EXPECT_TRUE(instruction(block0, 0)->saturate); in TEST_F()
278 EXPECT_FALSE(instruction(block0, 1)->saturate); in TEST_F()
[all …]
Dbrw_fs_lower_conversions.cpp54 bool saturate = inst->saturate; in lower_conversions() local
73 inst->saturate = false; in lower_conversions()
79 ibld.at(block, inst->next).MOV(dst, strided_temp)->saturate = saturate; in lower_conversions()
93 inst->saturate = false; in lower_conversions()
97 ibld.at(block, inst->next).MOV(dst, temp0)->saturate = saturate; in lower_conversions()
Dbrw_vec4_nir.cpp1109 bool saturate) in emit_conversion_from_double() argument
1118 inst->saturate = saturate; in emit_conversion_from_double()
1144 inst->saturate = saturate; in emit_conversion_from_double()
1149 bool saturate) in emit_conversion_to_double() argument
1156 inst->saturate = saturate; in emit_conversion_to_double()
1184 inst->saturate = instr->dest.saturate; in nir_emit_alu()
1195 inst->saturate = instr->dest.saturate; in nir_emit_alu()
1202 emit_conversion_from_double(dst, op[0], instr->dest.saturate); in nir_emit_alu()
1210 emit_conversion_to_double(dst, op[0], instr->dest.saturate); in nir_emit_alu()
1218 inst->saturate = instr->dest.saturate; in nir_emit_alu()
[all …]
Dbrw_fs_saturate_propagation.cpp55 !inst->saturate || in opt_saturate_propagation_local()
74 if (scan_inst->saturate) { in opt_saturate_propagation_local()
75 inst->saturate = false; in opt_saturate_propagation_local()
116 scan_inst->saturate = true; in opt_saturate_propagation_local()
117 inst->saturate = false; in opt_saturate_propagation_local()
129 !scan_inst->saturate || in opt_saturate_propagation_local()
Dbrw_fs_nir.cpp501 set_saturate(instr->dest.saturate, in optimize_extract_to_float()
689 inst->saturate = instr->dest.saturate; in nir_emit_alu()
736 inst->saturate = instr->dest.saturate; in nir_emit_alu()
764 inst->saturate = instr->dest.saturate; in nir_emit_alu()
766 inst->saturate = instr->dest.saturate; in nir_emit_alu()
797 inst->saturate = instr->dest.saturate; in nir_emit_alu()
807 inst->saturate = instr->dest.saturate; in nir_emit_alu()
833 if (instr->dest.saturate) { in nir_emit_alu()
835 inst->saturate = true; in nir_emit_alu()
858 if (instr->dest.saturate) { in nir_emit_alu()
[all …]
Dbrw_fs_copy_propagation.cpp52 bool saturate; member
460 if (entry->saturate) { in try_copy_propagate()
479 inst->saturate = inst->saturate || entry->saturate; in try_copy_propagate()
530 if (entry->saturate) in try_constant_propagate()
825 entry->saturate = inst->saturate; in opt_copy_propagation_local()
Dbrw_fs_cse.cpp155 if (*negate && (a->saturate || b->saturate)) in operands_match()
180 a->saturate == b->saturate && in instructions_match()
Dbrw_ir_vec4.h400 set_saturate(bool saturate, vec4_instruction *inst) in set_saturate() argument
402 inst->saturate = saturate; in set_saturate()
Dbrw_ir_fs.h410 set_saturate(bool saturate, fs_inst *inst) in set_saturate() argument
412 inst->saturate = saturate; in set_saturate()
Dtest_fs_copy_propagation.cpp195 EXPECT_TRUE(mov->saturate); in TEST_F()
201 EXPECT_EQ(test[i].expected_result, sel->saturate); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Dg722_decode.c51 static __inline int16_t saturate(int32_t amp) in saturate() function
76 s->band[band].r[0] = saturate(s->band[band].s + d); in block4()
79 s->band[band].p[0] = saturate(s->band[band].sz + d); in block4()
84 wd1 = saturate(s->band[band].a[1] << 2); in block4()
104 s->band[band].ap[1] = saturate(wd1 + wd2); in block4()
105 wd3 = saturate(15360 - s->band[band].ap[2]); in block4()
119 s->band[band].bp[i] = saturate(wd2 + wd3); in block4()
137 wd1 = saturate(s->band[band].r[1] + s->band[band].r[1]); in block4()
139 wd2 = saturate(s->band[band].r[2] + s->band[band].r[2]); in block4()
141 s->band[band].sp = saturate(wd1 + wd2); in block4()
[all …]
Dg722_encode.c51 static __inline int16_t saturate(int32_t amp) in saturate() function
74 s->band[band].r[0] = saturate(s->band[band].s + d); in block4()
77 s->band[band].p[0] = saturate(s->band[band].sz + d); in block4()
82 wd1 = saturate(s->band[band].a[1] << 2); in block4()
101 s->band[band].ap[1] = saturate(wd1 + wd2); in block4()
102 wd3 = saturate(15360 - s->band[band].ap[2]); in block4()
116 s->band[band].bp[i] = saturate(wd2 + wd3); in block4()
134 wd1 = saturate(s->band[band].r[1] + s->band[band].r[1]); in block4()
136 wd2 = saturate(s->band[band].r[2] + s->band[band].r[2]); in block4()
138 s->band[band].sp = saturate(wd1 + wd2); in block4()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_to_source_mods.c56 if (parent->dest.saturate) in nir_lower_to_source_mods_block()
103 alu->dest.saturate = true; in nir_lower_to_source_mods_block()
158 !(child_alu->op == nir_op_fmov && child_alu->dest.saturate)) { in nir_lower_to_source_mods_block()
167 alu->dest.saturate = true; in nir_lower_to_source_mods_block()
175 child_alu->dest.saturate = false; in nir_lower_to_source_mods_block()
/external/sonivox/arm-wt-22k/lib_src/
DARM-E_mastergain_gnu.s80 MOVGT r4, r6 @saturate
82 MVNLT r4, r6 @saturate
89 MOVGT r5, r6 @saturate
91 MVNLT r5, r6 @saturate
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c84 LLVMValueRef saturate; member
122 if (!bld->saturate) { in lp_build_blend_factor_unswizzled()
124 bld->saturate = lp_build_min(&bld->base, src_alpha, bld->base.zero); in lp_build_blend_factor_unswizzled()
136 bld->saturate = lp_build_min(&bld->base, src_alpha, inv_dst); in lp_build_blend_factor_unswizzled()
141 bld->saturate = lp_build_min(&bld->base, src_alpha, bld->inv_dst); in lp_build_blend_factor_unswizzled()
144 return bld->saturate; in lp_build_blend_factor_unswizzled()
/external/libgsm/src/
Dadd.c20 #define saturate(x) \ macro
26 return saturate(sum);
32 return saturate(diff);
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_emit_nv50.cpp985 if (i->saturate) in emitFMAD()
992 if (i->saturate) in emitFMAD()
997 if (i->saturate) in emitFMAD()
1010 assert(!i->saturate); in emitDMAD()
1038 if (i->saturate) in emitFADD()
1046 if (i->saturate) in emitFADD()
1052 if (i->saturate) in emitFADD()
1064 assert(!i->saturate); in emitDADD()
1156 if (i->saturate) in emitFMUL()
1163 if (i->saturate) in emitFMUL()
[all …]
Dnv50_ir_peephole.cpp730 i->op = i->saturate ? OP_SAT : OP_MOV; in expr()
731 if (i->saturate) in expr()
856 if (mul1 && !mul1->saturate) { in tryCollapseChainedMULs()
867 mul1->saturate = mul2->saturate; in tryCollapseChainedMULs()
876 mul1->saturate = mul2->saturate; in tryCollapseChainedMULs()
881 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs()
1459 res.data.dst = util_iround(i->saturate ? \ in opnd()
1464 res.data.dst = util_iround(i->saturate ? \ in opnd()
1469 res.data.dst = i->saturate ? \ in opnd()
1474 res.data.dst = i->saturate ? \ in opnd()
[all …]
Dnv50_ir_emit_nvc0.cpp553 if (i->saturate) in emitFMAD()
562 assert(!i->saturate && !i->src(2).mod.neg()); in emitFMAD()
585 assert(!i->saturate); in emitDMAD()
609 if (i->saturate) in emitFMUL()
618 assert(!neg && !i->saturate && !i->ftz && !i->postFactor); in emitFMUL()
634 assert(!i->saturate); in emitDMUL()
668 assert(!i->saturate); in emitFADD()
682 if (i->saturate) in emitFADD()
691 assert(!i->saturate && i->op != OP_SUB && in emitFADD()
708 assert(!i->saturate); in emitDADD()
[all …]
/external/libvpx/libvpx/vp8/common/x86/
Didctllm_mmx.asm261 packuswb mm1, mm0 ; pack and unpack to saturate
266 packuswb mm2, mm0 ; pack and unpack to saturate
270 packuswb mm3, mm0 ; pack and unpack to saturate
274 packuswb mm4, mm0 ; pack and unpack to saturate
/external/mesa3d/src/compiler/glsl/
Dopt_algebraic.cpp880 return saturate(x); in handle_expression()
886 return saturate(x); in handle_expression()
892 return saturate(expr(ir_binop_min, x, outer_const)); in handle_expression()
898 return saturate(expr(ir_binop_min, x, inner_const)); in handle_expression()
904 return saturate(expr(ir_binop_max, x, outer_const)); in handle_expression()
910 return saturate(expr(ir_binop_max, x, inner_const)); in handle_expression()
/external/deqp-deps/glslang/Test/
Dhlsl.intrinsics.vert46 saturate(inF0);
120 saturate(inF0);
190 saturate(inF0);
260 saturate(inF0);
315 saturate(inF0); \
/external/llvm/test/MC/Disassembler/Hexagon/
Dxtype_perm.txt36 # Vector saturate and pack
50 # Vector saturate without pack
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Disassembler/Hexagon/
Dxtype_perm.txt36 # Vector saturate and pack
50 # Vector saturate without pack
/external/mesa3d/src/mesa/program/
Dprogramopt.h42 GLenum fog_mode, GLboolean saturate);

12345678