Searched defs:arith (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnvfx_vertprog.c22 * - extra arith opcodes
113 #define arith(s,t,o,d,m,s0,s1,s2) \ macro
495 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL,
506 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL,
517 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL,
552 nvfx_vp_emit(vpc, arith(sat, VEC, MOV, dst, mask, abs(src[0]), none, none));
555 nvfx_vp_emit(vpc, arith(sat, VEC, ADD, dst, mask, src[0], none, src[1]));
558 nvfx_vp_emit(vpc, arith(0, VEC, ARL, dst, mask, src[0], none, none));
562 nvfx_vp_emit(vpc, arith(0, VEC, FLR, tmp.reg, mask, neg(src[0]), none, none));
563 nvfx_vp_emit(vpc, arith(sa
[all...]
H A Dnvfx_fragprog.c228 #define arith(s,o,d,m,s0,s1,s2) \ macro
241 struct nvfx_insn insn = arith(0, MOV, none.reg, NVFX_FP_MASK_X, src, none, none);
483 nvfx_fp_emit(fpc, arith(0, ADD, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), addend, none));
489 nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none));
499 nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none));
509 nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none));
532 nvfx_fp_emit(fpc, arith(sat, MOV, dst, mask, abs(src[0]), none, none));
535 nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, src[0], src[1], none));
539 nvfx_fp_emit(fpc, arith(0, FLR, tmp.reg, mask, neg(src[0]), none, none));
540 nvfx_fp_emit(fpc, arith(sa
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnvfx_vertprog.c22 * - extra arith opcodes
113 #define arith(s,t,o,d,m,s0,s1,s2) \ macro
495 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL,
506 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL,
517 nvfx_vp_emit(vpc, arith(0, VEC, MOV, src[i].reg, NVFX_VP_MASK_ALL,
552 nvfx_vp_emit(vpc, arith(sat, VEC, MOV, dst, mask, abs(src[0]), none, none));
555 nvfx_vp_emit(vpc, arith(sat, VEC, ADD, dst, mask, src[0], none, src[1]));
558 nvfx_vp_emit(vpc, arith(0, VEC, ARL, dst, mask, src[0], none, none));
562 nvfx_vp_emit(vpc, arith(0, VEC, FLR, tmp.reg, mask, neg(src[0]), none, none));
563 nvfx_vp_emit(vpc, arith(sa
[all...]
H A Dnvfx_fragprog.c228 #define arith(s,o,d,m,s0,s1,s2) \ macro
241 struct nvfx_insn insn = arith(0, MOV, none.reg, NVFX_FP_MASK_X, src, none, none);
483 nvfx_fp_emit(fpc, arith(0, ADD, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), addend, none));
489 nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none));
499 nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none));
509 nvfx_fp_emit(fpc, arith(0, MOV, src[i].reg, NVFX_FP_MASK_ALL, tgsi_src(fpc, fsrc), none, none));
532 nvfx_fp_emit(fpc, arith(sat, MOV, dst, mask, abs(src[0]), none, none));
535 nvfx_fp_emit(fpc, arith(sat, ADD, dst, mask, src[0], src[1], none));
539 nvfx_fp_emit(fpc, arith(0, FLR, tmp.reg, mask, neg(src[0]), none, none));
540 nvfx_fp_emit(fpc, arith(sa
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkArithmeticMode.cpp80 static int arith(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, function
120 a = arith(k1, k2, k3, k4, sa, da);
121 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc));
122 g = arith(k1, k2, k3, k4, SkGetPackedG32(sc), SkGetPackedG32(dc));
123 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc));
145 a = arith(k1, k2, k3, k4, sa, da);
146 r = arith(k1, k2, k3, k4, sr, dr);
147 g = arith(k1, k2, k3, k4, sg, dg);
148 b = arith(k1, k2, k3, k4, sb, db);
151 a = arith(k
400 const GrArithmeticEffect& arith = drawEffect.castEffect<GrArithmeticEffect>(); local
407 const GrArithmeticEffect& arith = drawEffect.castEffect<GrArithmeticEffect>(); local
[all...]
/external/skia/src/effects/
H A DSkArithmeticMode.cpp80 static int arith(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, function
120 a = arith(k1, k2, k3, k4, sa, da);
121 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc));
122 g = arith(k1, k2, k3, k4, SkGetPackedG32(sc), SkGetPackedG32(dc));
123 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc));
145 a = arith(k1, k2, k3, k4, sa, da);
146 r = arith(k1, k2, k3, k4, sr, dr);
147 g = arith(k1, k2, k3, k4, sg, dg);
148 b = arith(k1, k2, k3, k4, sb, db);
151 a = arith(k
400 const GrArithmeticEffect& arith = drawEffect.castEffect<GrArithmeticEffect>(); local
407 const GrArithmeticEffect& arith = drawEffect.castEffect<GrArithmeticEffect>(); local
[all...]
/external/mksh/src/
H A Dexpr.c160 bool arith; member in struct:expr_state
182 evaluate(const char *expr, mksh_ari_t *rval, int error_ok, bool arith) argument
189 ret = v_evaluate(&v, expr, error_ok, arith);
199 bool arith)
210 curstate.arith = arith;
237 if (es->arith && es->natural)
240 setint_v(vp, v, es->arith);
256 es->arith = false;
326 setint_v(vasn, vl, es->arith);
198 v_evaluate(struct tbl *vp, const char *expr, volatile int error_ok, bool arith) argument
[all...]
H A Dvar.c474 getint(struct tbl *vp, mksh_ari_u *nump, bool arith) argument
492 if (arith && s[0] == '0' && (s[1] | 0x20) == 'x') {
497 if (Flag(FPOSIX) && arith && s[0] == '0' && ksh_isdigit(s[1]) &&
552 setint_v(struct tbl *vq, struct tbl *vp, bool arith) argument
557 if ((base = getint(vp, &num, arith)) == -1)
/external/qemu/tcg/
H A Dtcg.c765 int c, int right, int arith)
773 if (arith) {
791 if (arith)
764 tcg_gen_shifti_i64(TCGv_i64 ret, TCGv_i64 arg1, int c, int right, int arith) argument
/external/valgrind/main/none/tests/ppc32/
H A Dtest_isa_2_07_part1.c215 PPC_TWO_I16 = 0x00000006, // family: arith/logical
1068 int arith, logical, compare, ldst; member in struct:insn_sel_flags_t_struct
1666 "PPC altivec double word integer insns (arith, compare) with two args",
1706 "PPC floating point arith insns with two args",
1764 if ((type == PPC_ARITH && !seln_flags.arith) ||
1769 (type == PPC_POPCNT && !seln_flags.arith)) {
1917 flags.arith = 1;
1971 printf(" arith = %d\n", flags.arith);
H A Djm-insns.c351 PPC_TWO_I16 = 0x00000006, // family: arith/logical
3916 "PPC integer arith insns with two args",
3921 "PPC integer arith insns with two args with flags update",
3926 "PPC integer arith insns with two args and carry",
3931 "PPC integer arith insns with two args and carry with flags update",
3956 "PPC integer arith insns\n with one register + one 16 bits immediate args",
3961 "PPC integer arith insns\n with one register + one 16 bits immediate args with flags update",
3981 "PPC integer arith insns with one arg and carry",
3986 "PPC integer arith insns with one arg and carry with flags update",
4037 "PPC floating point arith insn
7448 int arith, logical, compare, ldst; member in struct:insn_sel_flags_t_struct
[all...]
/external/valgrind/main/none/tests/ppc64/
H A Dtest_isa_2_07_part1.c215 PPC_TWO_I16 = 0x00000006, // family: arith/logical
1068 int arith, logical, compare, ldst; member in struct:insn_sel_flags_t_struct
1666 "PPC altivec double word integer insns (arith, compare) with two args",
1706 "PPC floating point arith insns with two args",
1764 if ((type == PPC_ARITH && !seln_flags.arith) ||
1769 (type == PPC_POPCNT && !seln_flags.arith)) {
1917 flags.arith = 1;
1971 printf(" arith = %d\n", flags.arith);
H A Djm-insns.c351 PPC_TWO_I16 = 0x00000006, // family: arith/logical
3916 "PPC integer arith insns with two args",
3921 "PPC integer arith insns with two args with flags update",
3926 "PPC integer arith insns with two args and carry",
3931 "PPC integer arith insns with two args and carry with flags update",
3956 "PPC integer arith insns\n with one register + one 16 bits immediate args",
3961 "PPC integer arith insns\n with one register + one 16 bits immediate args with flags update",
3981 "PPC integer arith insns with one arg and carry",
3986 "PPC integer arith insns with one arg and carry with flags update",
4037 "PPC floating point arith insn
7448 int arith, logical, compare, ldst; member in struct:insn_sel_flags_t_struct
[all...]
/external/valgrind/main/VEX/switchback/
H A Dtest_ppc_jm1.c4336 int arith, int logical, int compare,
4361 if ((type == PPC_ARITH && !arith) ||
4486 int arith = 0, logical = 0, compare = 0; local
4504 // if (my_strcmp(tmp, "arith") == 0 || my_strcmp(tmp, "a") == 0) {
4505 // arith = 1;
4562 if (arith == 0 && logical == 0 && compare == 0) {
4563 arith = 1;
4586 arith=1;
4599 arith, logical, compare,
4335 do_tests(int one_arg, int two_args, int three_args, int arith, int logical, int compare, int integer, int floats, int p405, int altivec, int faltivec, int cr, unsigned char *filter) argument

Completed in 364 milliseconds