D | nvfx_vertprog.c | 116 #define arith(s,t,o,d,m,s0,s1,s2) \ macro 497 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL, in nvfx_vertprog_parse_instruction() 508 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL, in nvfx_vertprog_parse_instruction() 519 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL, in nvfx_vertprog_parse_instruction() 554 nvfx_vp_emit(vpc, arith(sat, VEC, ADD, dst, mask, src[0], none, src[1])); in nvfx_vertprog_parse_instruction() 557 nvfx_vp_emit(vpc, arith(0, VEC, ARL, dst, mask, src[0], none, none)); in nvfx_vertprog_parse_instruction() 561 nvfx_vp_emit(vpc, arith(0, VEC, FLR, tmp.reg, mask, neg(src[0]), none, none)); in nvfx_vertprog_parse_instruction() 562 nvfx_vp_emit(vpc, arith(sat, VEC, MOV, dst, mask, neg(tmp), none, none)); in nvfx_vertprog_parse_instruction() 565 insn = arith(0, VEC, MOV, none.reg, mask, src[0], none, none); in nvfx_vertprog_parse_instruction() 569 insn = arith(sat, VEC, MOV, dst, mask, src[2], none, none); in nvfx_vertprog_parse_instruction() [all …]
|