Home
last modified time | relevance | path

Searched refs:fp_mode (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_optimizer.cpp469 float_mode fp_mode; member
928 float_mode* fp = &ctx.fp_mode; in can_eliminate_fcanonicalize()
947 float_mode* fp = &ctx.fp_mode; in is_op_canonicalized()
1482 !(fp16 ? ctx.fp_mode.preserve_signed_zero_inf_nan16_64 in label_instruction()
1483 : ctx.fp_mode.preserve_signed_zero_inf_nan32)) { /* 0.0 */ in label_instruction()
2829 can_use_omod && ctx.fp_mode.denorm32 == 0 && !ctx.fp_mode.preserve_signed_zero_inf_nan32; in apply_omod_clamp()
2831 can_use_omod = can_use_omod && ctx.fp_mode.denorm16_64 == 0 && in apply_omod_clamp()
2832 !ctx.fp_mode.preserve_signed_zero_inf_nan16_64; in apply_omod_clamp()
3350 mad32 ? (ctx.fp_mode.denorm32 != 0 || ctx.program->chip_class >= GFX10_3) in combine_instruction()
3351 : (ctx.fp_mode.denorm16_64 != 0 || ctx.program->chip_class >= GFX10 || mad64); in combine_instruction()
[all …]
Daco_lower_to_hw_instr.cpp1091 (ctx->block->fp_mode.denorm16_64 & fp_denorm_keep_in)) { in copy_constant()
1354 bool can_use_pack = (ctx->block->fp_mode.denorm16_64 & fp_denorm_keep_in) && in do_pack_2x16()
1891 bool set_round = always_set && block->fp_mode.round != config_mode.round; in emit_set_mode_from_block()
1892 bool set_denorm = always_set && block->fp_mode.denorm != config_mode.denorm; in emit_set_mode_from_block()
1895 if (program.blocks[pred].fp_mode.round != block->fp_mode.round) in emit_set_mode_from_block()
1897 if (program.blocks[pred].fp_mode.denorm != block->fp_mode.denorm) in emit_set_mode_from_block()
1904 emit_set_mode(bld, block->fp_mode, set_round, set_denorm); in emit_set_mode_from_block()
2291 float_mode new_mode = block->fp_mode; in lower_to_hw_instr()
2293 bool set_round = new_mode.round != block->fp_mode.round; in lower_to_hw_instr()
2300 emit_set_mode(bld, block->fp_mode, set_round, false); in lower_to_hw_instr()
Daco_opt_value_numbering.cpp399 ctx.program->blocks[res.first->second].fp_mode.canReplace(block.fp_mode)) { in process_block()
Daco_instruction_selection.cpp1167 if (ctx->block->fp_mode.denorm32 == 0) { in emit_rcp()
1178 if (ctx->block->fp_mode.denorm32 == 0) { in emit_rsq()
1189 if (ctx->block->fp_mode.denorm32 == 0) { in emit_sqrt()
1200 if (ctx->block->fp_mode.denorm32 == 0) { in emit_log2()
2092 ctx->block->fp_mode.must_flush_denorms32); in visit_alu_instr()
2095 ctx->block->fp_mode.must_flush_denorms16_64); in visit_alu_instr()
2109 ctx->block->fp_mode.must_flush_denorms32); in visit_alu_instr()
2112 ctx->block->fp_mode.must_flush_denorms16_64); in visit_alu_instr()
2205 if (ctx->block->fp_mode.must_flush_denorms16_64) in visit_alu_instr()
2230 if (ctx->block->fp_mode.must_flush_denorms16_64) in visit_alu_instr()
[all …]
Daco_ir.h1880 float_mode fp_mode; member
2115 block.fp_mode = next_fp_mode; in insert_block()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.h55 rsd->properties.fp_mode = MALI_FP_MODE_GL_INF_NAN_ALLOWED; in pan_shader_prepare_midgard_rsd()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp93 program->blocks[0].fp_mode.denorm16_64 = fp_denorm_flush;
930 program->blocks[0].fp_mode.denorm32 = cfg.flush ? fp_denorm_flush : fp_denorm_keep;
Dhelpers.cpp98 config.float_mode = program->blocks[0].fp_mode.val; in create_program()