Home
last modified time | relevance | path

Searched refs:float_mode (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dhsa-fp-mode.ll4 ; GCN: float_mode = 240
14 ; GCN: float_mode = 240
24 ; GCN: float_mode = 192
34 ; GCN: float_mode = 48
44 ; GCN: float_mode = 240
54 ; GCN: float_mode = 0
64 ; GCN: float_mode = 240
74 ; GCN: float_mode = 240
84 ; GCN: float_mode = 240
Dindirect-call.ll21 ; GCN-NEXT: float_mode = 240
117 ; GCN-NEXT: float_mode = 240
/external/mesa3d/src/amd/common/
Dac_binary.c61 conf->float_mode = G_00B028_FLOAT_MODE(value); in ac_parse_shader_binary_config()
147 conf->float_mode &= ~V_00B028_FP_ALL_DENORMS; in ac_parse_shader_binary_config()
148 conf->float_mode |= V_00B028_FP_64_DENORMS; in ac_parse_shader_binary_config()
Dac_binary.h46 unsigned float_mode; member
Dac_rtld.c533 assert(i == 0 || config->float_mode == c.float_mode); in ac_rtld_read_config()
534 config->float_mode = c.float_mode; in ac_rtld_read_config()
/external/mesa3d/src/amd/llvm/
Dac_llvm_helper.cpp92 LLVMBuilderRef ac_create_builder(LLVMContextRef ctx, enum ac_float_mode float_mode) in ac_create_builder() argument
98 switch (float_mode) { in ac_create_builder()
123 if (ctx->float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL) { in ac_enable_signed_zeros()
137 if (ctx->float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL) { in ac_disable_signed_zeros()
Dac_llvm_util.h113 LLVMBuilderRef ac_create_builder(LLVMContextRef ctx, enum ac_float_mode float_mode);
Dac_llvm_build.h139 unsigned float_mode; member
146 enum ac_float_mode float_mode, unsigned wave_size,
Dac_llvm_build.c60 enum ac_float_mode float_mode, unsigned wave_size, in ac_llvm_context_init() argument
69 ctx->float_mode = float_mode; in ac_llvm_context_init()
72 ctx->builder = ac_create_builder(ctx->context, float_mode); in ac_llvm_context_init()
647 if (ctx->float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL && type_size == 8) in ac_build_fdiv()
Dac_nir_to_llvm.c600 if (ctx->ac.float_mode == AC_FLOAT_MODE_DENORM_FLUSH_TO_ZERO) { in visit_alu()
654 if (ctx->ac.float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL && ac_get_type_size(def_type) == 8) { in visit_alu()
733 if (ctx->ac.float_mode == AC_FLOAT_MODE_DENORM_FLUSH_TO_ZERO) { in visit_alu()
924 if (ctx->ac.float_mode == AC_FLOAT_MODE_DEFAULT_OPENGL || instr->op == nir_op_f2f16_rtz) { in visit_alu()
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTInfo.h102 COMPPGM1(float_mode, FLOAT_MODE),
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTInfo.h80 COMPPGM1(float_mode, compute_pgm_rsrc1_float_mode, FLOAT_MODE), // TODO: s…
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTInfo.h80 COMPPGM1(float_mode, compute_pgm_rsrc1_float_mode, FLOAT_MODE), // TODO: s…
/external/mesa3d/src/amd/compiler/
Daco_ir.h200 struct float_mode { struct
226 bool canReplace(float_mode other) const noexcept { in canReplace() argument
1479 float_mode fp_mode;
1616 float_mode next_fp_mode;
Daco_lower_to_hw_instr.cpp1718 void emit_set_mode(Builder& bld, float_mode new_mode, bool set_round, bool set_denorm) in emit_set_mode()
1745 float_mode config_mode; in lower_to_hw_instr()
1746 config_mode.val = program->config->float_mode; in lower_to_hw_instr()
2004 float_mode new_mode = block->fp_mode; in lower_to_hw_instr()
Daco_instruction_selection.cpp11844 program->config->float_mode = program->blocks[0].fp_mode.val; in select_program()
11941 program->config->float_mode = program->blocks[0].fp_mode.val; in select_gs_copy_shader()
12002 program->config->float_mode = program->blocks[0].fp_mode.val; in select_trap_handler_shader()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c500 S_00B528_DX10_CLAMP(1) | S_00B528_FLOAT_MODE(shader->config.float_mode); in si_shader_ls()
550 S_00B428_FLOAT_MODE(shader->config.float_mode) | in si_shader_hs()
619 S_00B328_FLOAT_MODE(shader->config.float_mode)); in si_shader_es()
871 S_00B228_FLOAT_MODE(shader->config.float_mode) | in si_shader_gs()
913 S_00B228_DX10_CLAMP(1) | S_00B228_FLOAT_MODE(shader->config.float_mode)); in si_shader_gs()
1149 S_00B228_FLOAT_MODE(shader->config.float_mode) | S_00B228_DX10_CLAMP(1) | in gfx10_shader_ngg()
1461 S_00B128_FLOAT_MODE(shader->config.float_mode); in si_shader_vs()
1679 S_00B028_FLOAT_MODE(shader->config.float_mode); in si_shader_ps()
Dsi_compute.c101 out_config->float_mode = G_00B028_FLOAT_MODE(rsrc1); in code_object_to_config()
197 S_00B848_FLOAT_MODE(shader->config.float_mode); in si_create_compute_state_async()
Dsi_compute_prim_discard.c1382 S_00B848_FLOAT_MODE(shader->config.float_mode) | S_00B848_DX10_CLAMP(1) | in si_dispatch_prim_discard_cs_and_draw()
/external/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp90 config.float_mode = program->blocks[0].fp_mode.val; in create_program()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dextractelement.ll1640 ; GPRIDX-NEXT: float_mode = 240
1731 ; MOVREL-NEXT: float_mode = 240
2154 ; GPRIDX-NEXT: float_mode = 240
2238 ; MOVREL-NEXT: float_mode = 240
2329 ; GPRIDX-NEXT: float_mode = 240
2416 ; MOVREL-NEXT: float_mode = 240
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c3821 enum ac_float_mode float_mode = AC_FLOAT_MODE_DEFAULT; in ac_translate_nir_to_llvm() local
3824 float_mode = AC_FLOAT_MODE_DENORM_FLUSH_TO_ZERO; in ac_translate_nir_to_llvm()
3828 args->options->family, float_mode, in ac_translate_nir_to_llvm()
Dradv_shader.c916 S_00B848_FLOAT_MODE(config_out->float_mode); in radv_postprocess_config()