Lines Matching defs:imm

672         int imm;
673 if (this->allImm(cond.id,&imm)) { SkASSERT(imm); return; }
1816 static Mod mod(int imm) {
1817 if (imm == 0) { return Mod::Indirect; }
1818 if (SkTFitsIn<int8_t>(imm)) { return Mod::OneByteImm; }
1963 void Assembler::op(int opcode, int opcode_ext, Operand dst, int imm) {
1967 if (SkTFitsIn<int8_t>(imm)) {
1973 this->bytes(&imm, imm_bytes);
1976 void Assembler::add(Operand dst, int imm) { this->op(0x01,0b000, dst,imm); }
1977 void Assembler::sub(Operand dst, int imm) { this->op(0x01,0b101, dst,imm); }
1978 void Assembler::cmp(Operand dst, int imm) { this->op(0x01,0b111, dst,imm); }
1982 void Assembler::mov(Operand dst, int imm) {
1984 this->word(imm);
1986 void Assembler::movb(Operand dst, int imm) {
1988 this->byte(imm);
2059 void Assembler::imm_byte_after_operand(const Operand& operand, int imm) {
2069 this->byte(imm);
2072 void Assembler::vcmpps(Ymm dst, Ymm x, Operand y, int imm) {
2074 this->imm_byte_after_operand(y, imm);
2083 void Assembler::vpslld(Ymm dst, Ymm x, int imm) {
2085 this->byte(imm);
2087 void Assembler::vpsrld(Ymm dst, Ymm x, int imm) {
2089 this->byte(imm);
2091 void Assembler::vpsrad(Ymm dst, Ymm x, int imm) {
2093 this->byte(imm);
2095 void Assembler::vpsllw(Ymm dst, Ymm x, int imm) {
2097 this->byte(imm);
2099 void Assembler::vpsrlw(Ymm dst, Ymm x, int imm) {
2101 this->byte(imm);
2103 void Assembler::vpsraw(Ymm dst, Ymm x, int imm) {
2105 this->byte(imm);
2108 void Assembler::vpermq(Ymm dst, Operand x, int imm) {
2111 this->imm_byte_after_operand(x, imm);
2114 void Assembler::vperm2f128(Ymm dst, Ymm x, Operand y, int imm) {
2116 this->imm_byte_after_operand(y, imm);
2123 void Assembler::vroundps(Ymm dst, Operand x, Rounding imm) {
2125 this->imm_byte_after_operand(x, imm);
2139 void Assembler::vcvtps2ph(Operand dst, Ymm x, Rounding imm) {
2141 this->imm_byte_after_operand(dst, imm);
2244 void Assembler::vpinsrd(Xmm dst, Xmm src, Operand y, int imm) {
2246 this->imm_byte_after_operand(y, imm);
2248 void Assembler::vpinsrw(Xmm dst, Xmm src, Operand y, int imm) {
2250 this->imm_byte_after_operand(y, imm);
2252 void Assembler::vpinsrb(Xmm dst, Xmm src, Operand y, int imm) {
2254 this->imm_byte_after_operand(y, imm);
2257 void Assembler::vextracti128(Operand dst, Ymm src, int imm) {
2260 this->byte(imm);
2262 void Assembler::vpextrd(Operand dst, Xmm src, int imm) {
2265 this->byte(imm);
2267 void Assembler::vpextrw(Operand dst, Xmm src, int imm) {
2270 this->byte(imm);
2272 void Assembler::vpextrb(Operand dst, Xmm src, int imm) {
2275 this->byte(imm);
2306 void Assembler::op(uint32_t op22, V n, V d, int imm) {
2308 | imm // size and location depends on the instruction
2406 int imm = (imm6 & 6_mask) << 0
2410 this->op(0b1'0'0'01011'00'0'00000'000000, n,d, imm << 10);
4251 auto add = [&](A::GP64 gp, int imm) { a->add(gp, imm); };
4252 auto sub = [&](A::GP64 gp, int imm) { a->sub(gp, imm); };
4257 auto add = [&](A::X gp, int imm) { a->add(gp, gp, imm); };
4258 auto sub = [&](A::X gp, int imm) { a->sub(gp, gp, imm); };
4338 constants.foreach([&](int imm, A::Label* label) {
4342 a->word(imm);