Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/cpu/aarch64/aarch64.ad
Original file line number Diff line number Diff line change
Expand Up @@ -3636,7 +3636,7 @@ encode %{
__ code()->shared_stub_to_interp_for(_method, call - __ begin());
} else {
// Emit stub for static call
address stub = CompiledStaticCall::emit_to_interp_stub(masm, call);
address stub = CompiledDirectCall::emit_to_interp_stub(masm, call);
if (stub == nullptr) {
ciEnv::current()->record_failure("CodeCache is full");
return;
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/cpu/x86/assembler_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4252,7 +4252,6 @@ void Assembler::vpermq(XMMRegister dst, XMMRegister nds, XMMRegister src, int ve

void Assembler::vpermb(XMMRegister dst, XMMRegister nds, XMMRegister src, int vector_len) {
assert(VM_Version::supports_avx512_vbmi(), "");
InstructionMark im(this);
InstructionAttr attributes(vector_len, /* rex_w */ false, /* legacy_mode */ false, /* no_mask_reg */ true, /* uses_vl */ true);
attributes.set_is_evex_instruction();
int encode = vex_prefix_and_encode(dst->encoding(), nds->encoding(), src->encoding(), VEX_SIMD_66, VEX_OPCODE_0F_38, &attributes);
Expand Down
3 changes: 2 additions & 1 deletion src/hotspot/share/asm/assembler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ class AbstractAssembler : public ResourceObj {
bool isByte(int x) const { return 0 <= x && x < 0x100; }
bool isShiftCount(int x) const { return 0 <= x && x < 32; }

// Instruction boundaries (required when emitting relocatable values).
// Mark instruction boundaries, this is required when emitting relocatable values.
// Basically, all instructions that directly or indirectly use Assembler::emit_data* methods.
class InstructionMark: public StackObj {
private:
AbstractAssembler* _assm;
Expand Down