--- old/src/cpu/x86/vm/x86_64.ad Tue Jul 26 19:26:42 2011 +++ new/src/cpu/x86/vm/x86_64.ad Tue Jul 26 19:26:41 2011 @@ -4013,7 +4013,6 @@ //----------Instruction Attributes--------------------------------------------- ins_attrib ins_cost(100); // Required cost attribute ins_attrib ins_size(8); // Required size attribute (in bits) -ins_attrib ins_pc_relative(0); // Required PC Relative flag ins_attrib ins_short_branch(0); // Required flag: is this instruction // a non-matching short branch variant // of some long branch? @@ -7547,7 +7546,6 @@ __ jmp(dispatch); %} ins_pipe(pipe_jmp); - ins_pc_relative(1); %} instruct jumpXtnd_addr(rRegL switch_val, immI2 shift, immL32 offset, rRegI dest) %{ @@ -7568,7 +7566,6 @@ __ jmp(dispatch); %} ins_pipe(pipe_jmp); - ins_pc_relative(1); %} instruct jumpXtnd(rRegL switch_val, rRegI dest) %{ @@ -7589,7 +7586,6 @@ __ jmp(dispatch); %} ins_pipe(pipe_jmp); - ins_pc_relative(1); %} // Conditional move @@ -12020,7 +12016,6 @@ opcode(0xE9); ins_encode(OpcP, Lbl(labl)); ins_pipe(pipe_jmp); - ins_pc_relative(1); %} // Jump Direct Conditional - Label defines a relative address from Jcc+1 @@ -12035,7 +12030,6 @@ opcode(0x0F, 0x80); ins_encode(Jcc(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); %} // Jump Direct Conditional - Label defines a relative address from Jcc+1 @@ -12050,7 +12044,6 @@ opcode(0x0F, 0x80); ins_encode(Jcc(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); %} // Jump Direct Conditional - Label defines a relative address from Jcc+1 @@ -12064,7 +12057,6 @@ opcode(0x0F, 0x80); ins_encode(Jcc(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); %} instruct jmpLoopEndUCF(cmpOpUCF cop, rFlagsRegUCF cmp, label labl) %{ @@ -12077,7 +12069,6 @@ opcode(0x0F, 0x80); ins_encode(Jcc(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); %} // Jump Direct Conditional - using unsigned comparison @@ -12091,7 +12082,6 @@ opcode(0x0F, 0x80); ins_encode(Jcc(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); %} instruct jmpConUCF(cmpOpUCF cop, rFlagsRegUCF cmp, label labl) %{ @@ -12104,7 +12094,6 @@ opcode(0x0F, 0x80); ins_encode(Jcc(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); %} instruct jmpConUCF2(cmpOpUCF2 cop, rFlagsRegUCF cmp, label labl) %{ @@ -12144,7 +12133,6 @@ emit_d32(cbuf, disp); %} ins_pipe(pipe_jcc); - ins_pc_relative(1); %} // ============================================================================ @@ -12221,7 +12209,6 @@ opcode(0xEB); ins_encode(OpcP, LblShort(labl)); ins_pipe(pipe_jmp); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12236,7 +12223,6 @@ opcode(0x70); ins_encode(JccShort(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12251,7 +12237,6 @@ opcode(0x70); ins_encode(JccShort(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12266,7 +12251,6 @@ opcode(0x70); ins_encode(JccShort(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12280,7 +12264,6 @@ opcode(0x70); ins_encode(JccShort(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12295,7 +12278,6 @@ opcode(0x70); ins_encode(JccShort(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12309,7 +12291,6 @@ opcode(0x70); ins_encode(JccShort(cop, labl)); ins_pipe(pipe_jcc); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12349,7 +12330,6 @@ assert(-128 <= parity_disp && parity_disp <= 127, "Displacement too large for short jmp"); %} ins_pipe(pipe_jcc); - ins_pc_relative(1); ins_short_branch(1); %} @@ -12366,7 +12346,6 @@ format %{ "fastlock $object,$box,$tmp,$scr" %} ins_encode(Fast_Lock(object, box, tmp, scr)); ins_pipe(pipe_slow); - ins_pc_relative(1); %} instruct cmpFastUnlock(rFlagsReg cr, @@ -12379,7 +12358,6 @@ format %{ "fastunlock $object, $box, $tmp" %} ins_encode(Fast_Unlock(object, box, tmp)); ins_pipe(pipe_slow); - ins_pc_relative(1); %} @@ -12432,7 +12410,6 @@ opcode(0xE8); /* E8 cd */ ins_encode(Java_Static_Call(meth), call_epilog); ins_pipe(pipe_slow); - ins_pc_relative(1); ins_alignment(4); %} @@ -12454,7 +12431,6 @@ restore_SP, call_epilog); ins_pipe(pipe_slow); - ins_pc_relative(1); ins_alignment(4); %} @@ -12472,7 +12448,6 @@ opcode(0xE8); /* E8 cd */ ins_encode(Java_Dynamic_Call(meth), call_epilog); ins_pipe(pipe_slow); - ins_pc_relative(1); ins_alignment(4); %} @@ -12487,7 +12462,6 @@ opcode(0xE8); /* E8 cd */ ins_encode(Java_To_Runtime(meth)); ins_pipe(pipe_slow); - ins_pc_relative(1); %} // Call runtime without safepoint @@ -12501,7 +12475,6 @@ opcode(0xE8); /* E8 cd */ ins_encode(Java_To_Runtime(meth)); ins_pipe(pipe_slow); - ins_pc_relative(1); %} // Call runtime without safepoint @@ -12515,7 +12488,6 @@ opcode(0xE8); /* E8 cd */ ins_encode(Java_To_Runtime(meth)); ins_pipe(pipe_slow); - ins_pc_relative(1); %} // Return Instruction