Searched refs:rnd (Results 1 - 25 of 43) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/src/compiler/nir/
H A Dnir_opcodes.c5 nir_type_conversion_op(nir_alu_type src, nir_alu_type dst, nir_rounding_mode rnd) argument
33 assert(rnd == nir_rounding_mode_undef);
36 assert(rnd == nir_rounding_mode_undef);
39 assert(rnd == nir_rounding_mode_undef);
42 assert(rnd == nir_rounding_mode_undef);
45 assert(rnd == nir_rounding_mode_undef);
53 assert(rnd == nir_rounding_mode_undef);
56 assert(rnd == nir_rounding_mode_undef);
59 assert(rnd == nir_rounding_mode_undef);
67 assert(rnd
[all...]
/xsrc/external/mit/MesaLib/src/compiler/nir/
H A Dnir_opcodes.c5 nir_type_conversion_op(nir_alu_type src, nir_alu_type dst, nir_rounding_mode rnd) argument
33 assert(rnd == nir_rounding_mode_undef);
36 assert(rnd == nir_rounding_mode_undef);
39 assert(rnd == nir_rounding_mode_undef);
42 assert(rnd == nir_rounding_mode_undef);
45 assert(rnd == nir_rounding_mode_undef);
53 assert(rnd == nir_rounding_mode_undef);
56 assert(rnd == nir_rounding_mode_undef);
59 assert(rnd == nir_rounding_mode_undef);
67 assert(rnd
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_emit_gk110.cpp175 #define RND_(b, t) emitRoundMode##t(i->rnd, 0x##b)
218 CodeEmitterGK110::emitRoundMode(RoundMode rnd, const int pos, const int rintPos) argument
223 switch (rnd) {
228 rint = rnd == ROUND_NI;
230 assert(rnd == ROUND_N || rnd == ROUND_NI);
239 CodeEmitterGK110::emitRoundModeF(RoundMode rnd, const int pos) argument
243 switch (rnd) {
249 assert(rnd == ROUND_N);
256 CodeEmitterGK110::emitRoundModeI(RoundMode rnd, cons argument
1063 RoundMode rnd = i->rnd; local in function:nv50_ir::CodeEmitterGK110::emitCVT
[all...]
H A Dnv50_ir_emit_nv50.cpp188 switch (insn->rnd) {
193 assert(insn->rnd == ROUND_N);
1160 code[1] = i->rnd == ROUND_Z ? 0x0000c000 : 0;
1189 roundMode_CVT(i->rnd);
1326 CodeEmitterNV50::roundMode_CVT(RoundMode rnd) argument
1328 switch (rnd) {
1337 assert(rnd == ROUND_N);
1346 RoundMode rnd; local in function:nv50_ir::CodeEmitterNV50::emitCVT
1350 case OP_CEIL: rnd = f2f ? ROUND_PI : ROUND_P; break;
1351 case OP_FLOOR: rnd
[all...]
H A Dnv50_ir_emit_gm107.cpp106 emitRND(pos, insn->rnd, -1);
476 CodeEmitterGM107::emitRND(int rmp, RoundMode rnd, int rip) argument
479 switch (rnd) {
766 RoundMode rnd = insn->rnd; local in function:nv50_ir::CodeEmitterGM107::emitF2F
769 case OP_FLOOR: rnd = ROUND_MI; break;
770 case OP_CEIL : rnd = ROUND_PI; break;
771 case OP_TRUNC: rnd = ROUND_ZI; break;
800 emitRND (0x27, rnd, 0x2a);
809 RoundMode rnd local in function:nv50_ir::CodeEmitterGM107::emitF2I
851 RoundMode rnd = insn->rnd; local in function:nv50_ir::CodeEmitterGM107::emitI2F
[all...]
H A Dnv50_ir_print.cpp695 if (rnd != ROUND_N)
696 PRINT(" %s", RoundModeStr[rnd]);
H A Dnv50_ir.cpp566 rnd = ROUND_N;
756 i->rnd = rnd;
H A Dnv50_ir_lowering_nv50.cpp517 bld.mkOp2(OP_MUL, TYPE_F32, (qf = bld.getSSA()), af, bf)->rnd = ROUND_Z;
518 bld.mkCvt(OP_CVT, ty, (q0 = bld.getSSA()), TYPE_F32, qf)->rnd = ROUND_Z;
527 bld.mkOp2(OP_MUL, TYPE_F32, (qRf = bld.getSSA()), aR, bf)->rnd = ROUND_Z;
529 ->rnd = ROUND_Z;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_emit_gk110.cpp173 #define RND_(b, t) emitRoundMode##t(i->rnd, 0x##b)
216 CodeEmitterGK110::emitRoundMode(RoundMode rnd, const int pos, const int rintPos) argument
221 switch (rnd) {
226 rint = rnd == ROUND_NI;
228 assert(rnd == ROUND_N || rnd == ROUND_NI);
237 CodeEmitterGK110::emitRoundModeF(RoundMode rnd, const int pos) argument
241 switch (rnd) {
247 assert(rnd == ROUND_N);
254 CodeEmitterGK110::emitRoundModeI(RoundMode rnd, cons argument
1061 RoundMode rnd = i->rnd; local in function:nv50_ir::CodeEmitterGK110::emitCVT
[all...]
H A Dnv50_ir_emit_gv100.h107 inline void emitRND(int rmp, RoundMode rnd, int rip) { argument
109 switch (rnd) {
127 emitRND(pos, insn->rnd, -1);
H A Dnv50_ir_emit_nv50.cpp186 switch (insn->rnd) {
191 assert(insn->rnd == ROUND_N);
1168 code[1] = i->rnd == ROUND_Z ? 0x0000c000 : 0;
1197 roundMode_CVT(i->rnd);
1334 CodeEmitterNV50::roundMode_CVT(RoundMode rnd) argument
1336 switch (rnd) {
1345 assert(rnd == ROUND_N);
1354 RoundMode rnd; local in function:nv50_ir::CodeEmitterNV50::emitCVT
1358 case OP_CEIL: rnd = f2f ? ROUND_PI : ROUND_P; break;
1359 case OP_FLOOR: rnd
[all...]
H A Dnv50_ir_emit_gm107.cpp107 emitRND(pos, insn->rnd, -1);
480 CodeEmitterGM107::emitRND(int rmp, RoundMode rnd, int rip) argument
483 switch (rnd) {
795 RoundMode rnd = insn->rnd; local in function:nv50_ir::CodeEmitterGM107::emitF2F
798 case OP_FLOOR: rnd = ROUND_MI; break;
799 case OP_CEIL : rnd = ROUND_PI; break;
800 case OP_TRUNC: rnd = ROUND_ZI; break;
829 emitRND (0x27, rnd, 0x2a);
838 RoundMode rnd local in function:nv50_ir::CodeEmitterGM107::emitF2I
880 RoundMode rnd = insn->rnd; local in function:nv50_ir::CodeEmitterGM107::emitI2F
[all...]
H A Dnv50_ir.cpp568 rnd = ROUND_N;
760 i->rnd = rnd;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
H A Dm_debug_util.h265 static GLfloat rnd( void ) function in typeref:typename:GLfloat
H A Dm_debug_norm.c217 scale = 1.0F + rnd () * norm_scale_types[mtype];
244 s[i][j] = rnd();
H A Dm_debug_xform.c219 s[i][j] = rnd();
H A Dm_debug_clip.c252 s[i][j] = rnd();
/xsrc/external/mit/MesaLib/dist/src/mesa/math/
H A Dm_debug_util.h265 static GLfloat rnd( void ) function in typeref:typename:GLfloat
H A Dm_debug_norm.c216 scale = 1.0F + rnd () * norm_scale_types[mtype];
243 s[i][j] = rnd();
H A Dm_debug_xform.c218 s[i][j] = rnd();
H A Dm_debug_clip.c252 s[i][j] = rnd();
/xsrc/external/mit/xf86-video-intel/dist/src/sna/brw/
H A Dbrw_eu.h1937 struct brw_instruction *rnd, *add; \
1938 rnd = brw_next_insn(p, BRW_OPCODE_##OP); \
1939 brw_set_dest(p, rnd, dest); \
1940 brw_set_src0(p, rnd, src); \
1943 rnd->header.destreg__conditionalmod = BRW_CONDITIONAL_R; \
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/brw/
H A Dbrw_eu.h1937 struct brw_instruction *rnd, *add; \
1938 rnd = brw_next_insn(p, BRW_OPCODE_##OP); \
1939 brw_set_dest(p, rnd, dest); \
1940 brw_set_src0(p, rnd, src); \
1943 rnd->header.destreg__conditionalmod = BRW_CONDITIONAL_R; \
/xsrc/external/mit/xdm/dist/xdm/
H A Dgenauth.c442 CARD32 *rnd = (CARD32 *)auth;
446 rnd[i / 4] = arc4random();
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_fs_nir.cpp1056 brw_rnd_mode rnd = BRW_RND_MODE_UNSPECIFIED; local in function:fs_visitor::nir_emit_alu
1059 rnd = brw_rnd_mode_from_execution_mode(execution_mode);
1061 rnd = brw_rnd_mode_from_nir_op(instr->op);
1063 if (BRW_RND_MODE_UNSPECIFIED != rnd)
1064 bld.emit(SHADER_OPCODE_RND_MODE, bld.null_reg_ud(), brw_imm_d(rnd));
1180 brw_rnd_mode rnd = local in function:fs_visitor::nir_emit_alu
1183 brw_imm_d(rnd));
1245 brw_rnd_mode rnd = local in function:fs_visitor::nir_emit_alu
1248 brw_imm_d(rnd));
1311 brw_rnd_mode rnd local in function:fs_visitor::nir_emit_alu
1922 brw_rnd_mode rnd = local in function:fs_visitor::nir_emit_alu
1933 brw_rnd_mode rnd = local in function:fs_visitor::nir_emit_alu
[all...]

Completed in 43 milliseconds

12