6749 } else {
6750 NearLabel done;
6751 z_brc(Assembler::inverse_condition(cc), done);
6752 z_lhi(dst, i2);
6753 bind(done);
6754 }
6755 }
6756
6757 // LOAD HALFWORD IMMEDIATE ON CONDITION (64 <- 16)
6758 void MacroAssembler::load_on_condition_imm_64(Register dst, int64_t i2, branch_condition cc) {
6759 if (VM_Version::has_LoadStoreConditional2()) { // z_locghi works on z13 or above
6760 assert(Assembler::is_simm16(i2), "sanity");
6761 z_locghi(dst, i2, cc);
6762 } else {
6763 NearLabel done;
6764 z_brc(Assembler::inverse_condition(cc), done);
6765 z_lghi(dst, i2);
6766 bind(done);
6767 }
6768 }
|
6749 } else {
6750 NearLabel done;
6751 z_brc(Assembler::inverse_condition(cc), done);
6752 z_lhi(dst, i2);
6753 bind(done);
6754 }
6755 }
6756
6757 // LOAD HALFWORD IMMEDIATE ON CONDITION (64 <- 16)
6758 void MacroAssembler::load_on_condition_imm_64(Register dst, int64_t i2, branch_condition cc) {
6759 if (VM_Version::has_LoadStoreConditional2()) { // z_locghi works on z13 or above
6760 assert(Assembler::is_simm16(i2), "sanity");
6761 z_locghi(dst, i2, cc);
6762 } else {
6763 NearLabel done;
6764 z_brc(Assembler::inverse_condition(cc), done);
6765 z_lghi(dst, i2);
6766 bind(done);
6767 }
6768 }
6769
6770 // Unimplemented methods for inline types.
6771 int MacroAssembler::store_inline_type_fields_to_buf(ciInlineKlass* vk, bool from_interpreter) {
6772 Unimplemented();
6773 }
6774
6775 bool MacroAssembler::move_helper(VMReg from, VMReg to, BasicType bt, RegState reg_state[]) {
6776 Unimplemented();
6777 }
6778
6779 bool MacroAssembler::unpack_inline_helper(const GrowableArray<SigEntry>* sig, int& sig_index,
6780 VMReg from, int& from_index, VMRegPair* to, int to_count, int& to_index,
6781 RegState reg_state[]) {
6782 Unimplemented();
6783 }
6784
6785 bool MacroAssembler::pack_inline_helper(const GrowableArray<SigEntry>* sig, int& sig_index, int vtarg_index,
6786 VMRegPair* from, int from_count, int& from_index, VMReg to,
6787 RegState reg_state[], Register val_array) {
6788 Unimplemented();
6789 }
6790
6791 int MacroAssembler::extend_stack_for_inline_args(int args_on_stack) {
6792 Unimplemented();
6793 }
6794
6795 VMReg MacroAssembler::spill_reg_for(VMReg reg) {
6796 Unimplemented();
6797 }
|