Lines Matching defs:imm32

233 void Assembler::emit_arith(int op1, int op2, Register dst, int32_t imm32) {
237 if (is8bit(imm32)) {
240 emit_byte(imm32 & 0xFF);
244 emit_long(imm32);
249 void Assembler::emit_arith_imm32(int op1, int op2, Register dst, int32_t imm32) {
255 emit_long(imm32);
259 void Assembler::emit_arith_operand(int op1, Register rm, Address adr, int32_t imm32) {
262 if (is8bit(imm32)) {
265 emit_byte(imm32 & 0xFF);
269 emit_long(imm32);
344 // [rsp + imm32]
765 // assert(which != imm_operand || has_imm32, "instruction has no imm32 field");
766 assert(which != imm_operand || has_disp32, "instruction has no imm32 field");
823 assert(which == narrow_oop_operand && !is_64bit, "instruction is not a movl adr, imm32");
902 void Assembler::adcl(Address dst, int32_t imm32) {
905 emit_arith_operand(0x81, rdx, dst, imm32);
915 void Assembler::adcl(Register dst, int32_t imm32) {
917 emit_arith(0x81, 0xD0, dst, imm32);
932 void Assembler::addl(Address dst, int32_t imm32) {
935 emit_arith_operand(0x81, rax, dst, imm32);
945 void Assembler::addl(Register dst, int32_t imm32) {
947 emit_arith(0x81, 0xC0, dst, imm32);
1081 void Assembler::andl(Address dst, int32_t imm32) {
1086 emit_long(imm32);
1089 void Assembler::andl(Register dst, int32_t imm32) {
1091 emit_arith(0x81, 0xE0, dst, imm32);
1205 void Assembler::cmpl(Address dst, int32_t imm32) {
1210 emit_long(imm32);
1213 void Assembler::cmpl(Register dst, int32_t imm32) {
1215 emit_arith(0x81, 0xF8, dst, imm32);
1744 void Assembler::movl(Register dst, int32_t imm32) {
1747 emit_long(imm32);
1763 void Assembler::movl(Address dst, int32_t imm32) {
1768 emit_long(imm32);
2239 void Assembler::orl(Address dst, int32_t imm32) {
2242 emit_arith_operand(0x81, rcx, dst, imm32);
2245 void Assembler::orl(Register dst, int32_t imm32) {
2247 emit_arith(0x81, 0xC8, dst, imm32);
2525 void Assembler::push(int32_t imm32) {
2529 emit_long(imm32);
2644 void Assembler::sbbl(Address dst, int32_t imm32) {
2647 emit_arith_operand(0x81, rbx, dst, imm32);
2650 void Assembler::sbbl(Register dst, int32_t imm32) {
2652 emit_arith(0x81, 0xD8, dst, imm32);
2743 void Assembler::subl(Address dst, int32_t imm32) {
2746 emit_arith_operand(0x81, rbp, dst, imm32);
2756 void Assembler::subl(Register dst, int32_t imm32) {
2758 emit_arith(0x81, 0xE8, dst, imm32);
2762 void Assembler::subl_imm32(Register dst, int32_t imm32) {
2764 emit_arith_imm32(0x81, 0xE8, dst, imm32);
2805 void Assembler::testl(Register dst, int32_t imm32) {
2817 emit_long(imm32);
2874 void Assembler::xorl(Register dst, int32_t imm32) {
2876 emit_arith(0x81, 0xF0, dst, imm32);
3695 void Assembler::cmp_literal32(Register src1, int32_t imm32, RelocationHolder const& rspec) {
3700 emit_data(imm32, rspec, 0);
3703 void Assembler::cmp_literal32(Address src1, int32_t imm32, RelocationHolder const& rspec) {
3708 emit_data(imm32, rspec, 0);
4321 void Assembler::mov_literal32(Address dst, int32_t imm32, RelocationHolder const& rspec) {
4325 emit_data((int)imm32, rspec, 0);
4328 void Assembler::mov_literal32(Register dst, int32_t imm32, RelocationHolder const& rspec) {
4332 emit_data((int)imm32, rspec, 0);
4339 void Assembler::push_literal32(int32_t imm32, RelocationHolder const& rspec) {
4342 emit_data(imm32, rspec, 0);
4703 void Assembler::adcq(Register dst, int32_t imm32) {
4705 emit_arith(0x81, 0xD0, dst, imm32);
4720 void Assembler::addq(Address dst, int32_t imm32) {
4723 emit_arith_operand(0x81, rax, dst,imm32);
4733 void Assembler::addq(Register dst, int32_t imm32) {
4735 emit_arith(0x81, 0xC0, dst, imm32);
4750 void Assembler::andq(Address dst, int32_t imm32) {
4755 emit_long(imm32);
4758 void Assembler::andq(Register dst, int32_t imm32) {
4760 emit_arith(0x81, 0xE0, dst, imm32);
4823 void Assembler::cmpq(Address dst, int32_t imm32) {
4828 emit_long(imm32);
4831 void Assembler::cmpq(Register dst, int32_t imm32) {
4833 emit_arith(0x81, 0xF8, dst, imm32);
5020 void Assembler::mov_narrow_oop(Register dst, int32_t imm32, RelocationHolder const& rspec) {
5024 emit_data((int)imm32, rspec, narrow_oop_operand);
5027 void Assembler::mov_narrow_oop(Address dst, int32_t imm32, RelocationHolder const& rspec) {
5032 emit_data((int)imm32, rspec, narrow_oop_operand);
5035 void Assembler::cmp_narrow_oop(Register src1, int32_t imm32, RelocationHolder const& rspec) {
5040 emit_data((int)imm32, rspec, narrow_oop_operand);
5043 void Assembler::cmp_narrow_oop(Address src1, int32_t imm32, RelocationHolder const& rspec) {
5048 emit_data((int)imm32, rspec, narrow_oop_operand);
5112 void Assembler::movslq(Register dst, int32_t imm32) {
5120 emit_long(imm32);
5123 void Assembler::movslq(Address dst, int32_t imm32) {
5124 assert(is_simm32(imm32), "lost bits");
5129 emit_long(imm32);
5202 void Assembler::orq(Address dst, int32_t imm32) {
5207 emit_long(imm32);
5210 void Assembler::orq(Register dst, int32_t imm32) {
5212 emit_arith(0x81, 0xC8, dst, imm32);
5337 void Assembler::sbbq(Address dst, int32_t imm32) {
5340 emit_arith_operand(0x81, rbx, dst, imm32);
5343 void Assembler::sbbq(Register dst, int32_t imm32) {
5345 emit_arith(0x81, 0xD8, dst, imm32);
5393 void Assembler::subq(Address dst, int32_t imm32) {
5396 emit_arith_operand(0x81, rbp, dst, imm32);
5406 void Assembler::subq(Register dst, int32_t imm32) {
5408 emit_arith(0x81, 0xE8, dst, imm32);
5412 void Assembler::subq_imm32(Register dst, int32_t imm32) {
5414 emit_arith_imm32(0x81, 0xE8, dst, imm32);
5429 void Assembler::testq(Register dst, int32_t imm32) {
5442 emit_long(imm32);
6688 void MacroAssembler::addptr(Register dst, int32_t imm32) {
6689 LP64_ONLY(addq(dst, imm32)) NOT_LP64(addl(dst, imm32));
6746 void MacroAssembler::andptr(Register dst, int32_t imm32) {
6747 LP64_ONLY(andq(dst, imm32)) NOT_LP64(andl(dst, imm32));
8851 void MacroAssembler::subptr(Register dst, int32_t imm32) {
8852 LP64_ONLY(subq(dst, imm32)) NOT_LP64(subl(dst, imm32));
8856 void MacroAssembler::subptr_imm32(Register dst, int32_t imm32) {
8857 LP64_ONLY(subq_imm32(dst, imm32)) NOT_LP64(subl_imm32(dst, imm32));