Lines Matching refs:offset
304 void AssemblerX64::EmitJmp(int32_t offset)
306 offset--;
307 if (InRange8(offset - SIZE_OF_INT8)) {
310 EmitI8(offset - SIZE_OF_INT8);
314 EmitI32(offset - SIZE_OF_INT32);
318 void AssemblerX64::EmitJa(int32_t offset)
320 offset--;
321 if (InRange8(offset - SIZE_OF_INT8)) {
324 EmitI8(offset - SIZE_OF_INT8);
326 offset--;
330 EmitI32(offset - SIZE_OF_INT32);
334 void AssemblerX64::EmitJb(int32_t offset)
336 offset--;
337 if (InRange8(offset - SIZE_OF_INT8)) {
340 EmitI8(offset - SIZE_OF_INT8);
342 offset--;
346 EmitI32(offset - SIZE_OF_INT32);
350 void AssemblerX64::EmitJz(int32_t offset)
352 offset--;
353 if (InRange8(offset - SIZE_OF_INT8)) {
356 EmitI8(offset - SIZE_OF_INT8);
358 offset--;
362 EmitI32(offset - SIZE_OF_INT32);
366 void AssemblerX64::EmitJne(int32_t offset)
368 offset--;
369 if (InRange8(offset - SIZE_OF_INT8)) {
372 EmitI8(offset - SIZE_OF_INT8);
374 offset--;
378 EmitI32(offset - SIZE_OF_INT32);
382 void AssemblerX64::EmitJbe(int32_t offset)
384 offset--;
385 if (InRange8(offset - SIZE_OF_INT8)) {
388 EmitI8(offset - SIZE_OF_INT8);
390 offset--;
394 EmitI32(offset - SIZE_OF_INT32);
398 void AssemblerX64::EmitJnz(int32_t offset)
400 offset--;
401 if (InRange8(offset)) {
404 EmitI8(offset - SIZE_OF_INT8);
406 offset--;
410 EmitI32(offset - SIZE_OF_INT32);
414 void AssemblerX64::EmitJle(int32_t offset)
416 offset--;
417 if (InRange8(offset)) {
420 EmitI8(offset - SIZE_OF_INT8);
422 offset--;
426 EmitI32(offset - SIZE_OF_INT32);
430 void AssemblerX64::EmitJae(int32_t offset)
432 offset--;
433 if (InRange8(offset)) {
436 EmitI8(offset - SIZE_OF_INT8);
438 offset--;
442 EmitI32(offset - SIZE_OF_INT32);
446 void AssemblerX64::EmitJg(int32_t offset)
448 offset--;
449 if (InRange8(offset)) {
452 EmitI8(offset - SIZE_OF_INT8);
454 offset--;
458 EmitI32(offset - SIZE_OF_INT32);
462 void AssemblerX64::EmitJge(int32_t offset)
464 offset--;
465 if (InRange8(offset)) {
468 EmitI8(offset - SIZE_OF_INT8);
470 offset--;
474 EmitI32(offset - SIZE_OF_INT32);
478 void AssemblerX64::EmitJe(int32_t offset)
480 offset--;
481 if (InRange8(offset)) {
484 EmitI8(offset - SIZE_OF_INT8);
486 offset--;
490 EmitI32(offset - SIZE_OF_INT32);
494 void AssemblerX64::EmitCall(int32_t offset)
496 offset--;
499 EmitI32(offset - SIZE_OF_INT32);
502 void AssemblerX64::EmitJnb(int32_t offset)
504 offset--;
505 if (InRange8(offset)) {
508 EmitI8(offset - SIZE_OF_INT8);
510 offset--;
514 EmitI32(offset - SIZE_OF_INT32);
531 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
532 EmitCall(offset);
557 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
558 EmitJmp(offset);
595 void AssemblerX64::Jmp(Immediate offset)
597 if (InRange8(offset.Value())) {
600 EmitI8(static_cast<int8_t>(offset.Value()));
604 EmitI32(offset.Value());
611 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
612 EmitJa(offset);
643 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
644 EmitJb(offset);
674 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
675 EmitJz(offset);
706 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
707 EmitJe(offset);
918 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
919 EmitJne(offset);
958 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
959 EmitJbe(offset);
1122 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
1123 EmitJnz(offset);
1154 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
1155 EmitJle(offset);
1186 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
1187 EmitJae(offset);
1218 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
1219 EmitJg(offset);
1250 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
1251 EmitJge(offset);
1385 int32_t offset = static_cast<int32_t>(target->GetPos() - GetCurrentPosition());
1386 EmitJnb(offset);