Home
last modified time | relevance | path

Searched refs:imm (Results 1 – 6 of 6) sorted by relevance

/system/core/libpixelflinger/codeflinger/
DARMAssemblerInterface.cpp36 uint32_t immediate, uint32_t& rot, uint32_t& imm) in buildImmediate() argument
39 imm = immediate; in buildImmediate()
40 if (imm > 0x7F) { // skip the easy cases in buildImmediate()
41 while (!(imm&3) || (imm&0xFC000000)) { in buildImmediate()
43 newval = imm >> 2; in buildImmediate()
44 newval |= (imm&3) << 30; in buildImmediate()
45 imm = newval; in buildImmediate()
55 if (imm>=0x100) in buildImmediate()
58 if (((imm>>(rot<<1)) | (imm<<(32-(rot<<1)))) != immediate) in buildImmediate()
68 uint32_t rot, imm; in isValidImmediate() local
[all …]
Dtexturing.cpp163 parts.iterated.reg, imm(0xFF)); in init_iterated_color()
514 SUB(AL, 0, u, u, imm(1<<(FRAC_BITS-1))); in build_textures()
515 SUB(AL, 0, v, v, imm(1<<(FRAC_BITS-1))); in build_textures()
518 AND(AL, 0, U, u, imm((1<<FRAC_BITS)-1)); in build_textures()
519 AND(AL, 0, V, v, imm((1<<FRAC_BITS)-1)); in build_textures()
522 SUB(AL, 0, width, width, imm(1)); in build_textures()
523 SUB(AL, 0, height, height, imm(1)); in build_textures()
532 MOV(LT, 0, width, imm(1 << shift)); in build_textures()
535 RSB(GE, 0, width, width, imm(0)); in build_textures()
552 MOV(LE, 0, width, imm(0)); in build_textures()
[all …]
Dblending.cpp56 CMP(AL, factor.reg, imm( 0x10000 )); in build_fog()
57 MOV(HS, 0, factor.reg, imm( 0x10000 )); in build_fog()
298 RSB(AL, 0, factor.reg, factor.reg, imm((1<<factor.s))); in build_blend_factor()
365 RSB(AL, 0, factor.reg, factor.reg, imm((1<<factor.s))); in build_blend_factor()
658 CMP(AL, v.reg, imm( 1<<v.h )); in component_sat()
660 MOV(HS, 0, v.reg, imm( one )); in component_sat()
662 MVN(HS, 0, v.reg, imm( ~one )); in component_sat()
664 MOV(HS, 0, v.reg, imm( 1<<v.h )); in component_sat()
665 SUB(HS, 0, v.reg, v.reg, imm( 1<<v.l )); in component_sat()
Dload_store.cpp52 ADD(AL, 0, addr.reg, addr.reg, imm(3)); in store()
96 ADD(AL, 0, addr.reg, addr.reg, imm(3)); in load()
123 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; in extract()
125 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; in extract()
133 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; in extract()
135 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; in extract()
DGGLAssembler.cpp210 imm( 1 << (32 - GGL_DITHER_ORDER_SHIFT))); in scanline_core()
262 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); in scanline_core()
321 SUB(AL, S, parts.count.reg, parts.count.reg, imm(1<<16)); in scanline_core()
336 ADD(AL, 0, parts.cbPtr.reg, parts.cbPtr.reg, imm(parts.cbPtr.size>>3)); in scanline_core()
338 SUB(AL, S, parts.count.reg, parts.count.reg, imm(1<<16)); in scanline_core()
365 SUB(AL, 0, parts.count.reg, parts.count.reg, imm(1)); in build_scanline_prolog()
375 AND(AL, 0, tx, Rx, imm(GGL_DITHER_MASK)); in build_scanline_prolog()
376 AND(AL, 0, ty, Ry, imm(GGL_DITHER_MASK)); in build_scanline_prolog()
829 case GGL_CLEAR: MOV(AL, 0, pixel.reg, imm(0)); break; in build_logic_op()
851 case GGL_SET: MVN(AL, 0, pixel.reg, imm(0)); break; in build_logic_op()
[all …]
DARMAssemblerInterface.h71 static int buildImmediate(uint32_t i, uint32_t& rot, uint32_t& imm);
73 static uint32_t imm(uint32_t immediate);