Lines Matching refs:elem_size
3941 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_mov() local
3954 if ((type & SLJIT_SIMD_FLOAT) && (elem_size < 2 || elem_size > 3)) in sljit_emit_simd_mov()
3985 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_replicate() local
3998 if ((type & SLJIT_SIMD_FLOAT) && elem_size < 2) in sljit_emit_simd_replicate()
4007 | R32A(addr.index) | R28A(addr.base) | disp_s20(addr.offset) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_replicate()
4014 …sh_inst(compiler, 0xe7000000004d /* vrep */ | F36(freg) | F32(src) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_replicate()
4020 switch (elem_size) { in sljit_emit_simd_replicate()
4050 | ((sljit_ins)srcw << 16) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_replicate()
4058 …_inst(compiler, 0xe70000000022 /* vlvg */ | F36(freg) | R32A(reg) | ((sljit_ins)elem_size << 12))); in sljit_emit_simd_replicate()
4059 …h_inst(compiler, 0xe7000000004d /* vrep */ | F36(freg) | F32(freg) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_replicate()
4067 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_lane_mov() local
4080 if ((type & SLJIT_SIMD_FLOAT) && elem_size < 2) in sljit_emit_simd_lane_mov()
4092 if ((srcdst & SLJIT_MEM) && lane_index == ((1 << (3 - elem_size)) - 1)) in sljit_emit_simd_lane_mov()
4093 return push_inst(compiler, 0xe70000000004 /* vllez */ | ins | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_lane_mov()
4105 switch (elem_size) { in sljit_emit_simd_lane_mov()
4129 … vrep */ | F36(srcdst) | F32(freg) | ((sljit_ins)lane_index << 16) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_lane_mov()
4131 if (elem_size == 3) { in sljit_emit_simd_lane_mov()
4145 switch (elem_size) { in sljit_emit_simd_lane_mov()
4177 ins = ((sljit_ins)lane_index << 16) | ((sljit_ins)elem_size << 12); in sljit_emit_simd_lane_mov()
4184 if (!(type & SLJIT_SIMD_LANE_SIGNED) || elem_size >= 3) in sljit_emit_simd_lane_mov()
4187 switch (elem_size) { in sljit_emit_simd_lane_mov()
4207 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_lane_replicate() local
4215 if ((type & SLJIT_SIMD_FLOAT) && elem_size < 2) in sljit_emit_simd_lane_replicate()
4222 | ((sljit_ins)src_lane_index << 16) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_lane_replicate()
4230 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_extend() local
4243 if ((type & SLJIT_SIMD_FLOAT) && elem_size < 2) in sljit_emit_simd_extend()
4253 switch (elem2_size - elem_size) { in sljit_emit_simd_extend()
4278 FAIL_IF(push_inst(compiler, ins | F32(src) | ((sljit_ins)elem_size << 12))); in sljit_emit_simd_extend()
4280 } while (++elem_size < elem2_size); in sljit_emit_simd_extend()
4290 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_sign() local
4301 if ((type & SLJIT_SIMD_FLOAT) && elem_size < 2) in sljit_emit_simd_sign()
4307 switch (elem_size) { in sljit_emit_simd_sign()
4324 if (elem_size != 0) in sljit_emit_simd_sign()
4331 | (elem_size == 0 ? ((3 << 16) | (1 << 12)) : (7 << 16)))); in sljit_emit_simd_sign()
4343 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_op2() local
4352 if ((type & SLJIT_SIMD_FLOAT) && (elem_size < 2 || elem_size > 3)) in sljit_emit_simd_op2()