< prev index next >

src/cpu/s390/vm/nativeInst_s390.cpp

Print this page
rev 12273 : 8169317: [s390] Various minor bug fixes and adaptions.


 604     tty->print_cr("NativeMovRegMem::verify(): verifying addr " PTR_FORMAT, p2i(l1));
 605     tty->cr();
 606     ((NativeMovRegMem*)l1)->dump(64, "NativeMovConstReg::verify()");
 607     fatal("this is not a `NativeMovRegMem' site");
 608   }
 609 
 610   unsigned long inst1;
 611   Assembler::get_instruction(l2, &inst1);
 612 
 613   if (!Assembler::is_z_lb(inst1)                         &&
 614       !Assembler::is_z_llgh(inst1)                       &&
 615       !Assembler::is_z_lh(inst1)                         &&
 616       !Assembler::is_z_l(inst1)                          &&
 617       !Assembler::is_z_llgf(inst1)                       &&
 618       !Assembler::is_z_lg(inst1)                         &&
 619       !Assembler::is_z_le(inst1)                         &&
 620       !Assembler::is_z_ld(inst1)                         &&
 621       !Assembler::is_z_stc(inst1)                        &&
 622       !Assembler::is_z_sth(inst1)                        &&
 623       !Assembler::is_z_st(inst1)                         &&
 624       !(Assembler::is_z_lgr(inst1) && UseCompressedOops) &&
 625       !Assembler::is_z_stg(inst1)                        &&
 626       !Assembler::is_z_ste(inst1)                        &&
 627       !Assembler::is_z_std(inst1)) {
 628     tty->cr();
 629     tty->print_cr("NativeMovRegMem::verify(): verifying addr " PTR_FORMAT
 630                   ": wrong or missing load or store at " PTR_FORMAT, p2i(l1), p2i(l2));
 631     tty->cr();
 632     ((NativeMovRegMem*)l1)->dump(64, "NativeMovConstReg::verify()");
 633     fatal("this is not a `NativeMovRegMem' site");
 634   }
 635 }
 636 #endif // COMPILER1
 637 
 638 //-----------------------
 639 //  N a t i v e J u m p
 640 //-----------------------
 641 
 642 void NativeJump::verify() {
 643   if (NativeJump::is_jump_at(addr_at(0))) return;
 644   fatal("this is not a `NativeJump' site");




 604     tty->print_cr("NativeMovRegMem::verify(): verifying addr " PTR_FORMAT, p2i(l1));
 605     tty->cr();
 606     ((NativeMovRegMem*)l1)->dump(64, "NativeMovConstReg::verify()");
 607     fatal("this is not a `NativeMovRegMem' site");
 608   }
 609 
 610   unsigned long inst1;
 611   Assembler::get_instruction(l2, &inst1);
 612 
 613   if (!Assembler::is_z_lb(inst1)   &&
 614       !Assembler::is_z_llgh(inst1) &&
 615       !Assembler::is_z_lh(inst1)   &&
 616       !Assembler::is_z_l(inst1)    &&
 617       !Assembler::is_z_llgf(inst1) &&
 618       !Assembler::is_z_lg(inst1)   &&
 619       !Assembler::is_z_le(inst1)   &&
 620       !Assembler::is_z_ld(inst1)   &&
 621       !Assembler::is_z_stc(inst1)  &&
 622       !Assembler::is_z_sth(inst1)  &&
 623       !Assembler::is_z_st(inst1)   &&
 624       !UseCompressedOops           &&
 625       !Assembler::is_z_stg(inst1)  &&
 626       !Assembler::is_z_ste(inst1)  &&
 627       !Assembler::is_z_std(inst1)) {
 628     tty->cr();
 629     tty->print_cr("NativeMovRegMem::verify(): verifying addr " PTR_FORMAT
 630                   ": wrong or missing load or store at " PTR_FORMAT, p2i(l1), p2i(l2));
 631     tty->cr();
 632     ((NativeMovRegMem*)l1)->dump(64, "NativeMovConstReg::verify()");
 633     fatal("this is not a `NativeMovRegMem' site");
 634   }
 635 }
 636 #endif // COMPILER1
 637 
 638 //-----------------------
 639 //  N a t i v e J u m p
 640 //-----------------------
 641 
 642 void NativeJump::verify() {
 643   if (NativeJump::is_jump_at(addr_at(0))) return;
 644   fatal("this is not a `NativeJump' site");


< prev index next >