21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "asm/assembler.inline.hpp"
28 #include "compiler/disassembler.hpp"
29 #include "gc/shared/collectedHeap.inline.hpp"
30 #include "interpreter/interpreter.hpp"
31 #include "gc/shared/cardTableBarrierSet.hpp"
32 #include "memory/resourceArea.hpp"
33 #include "prims/methodHandles.hpp"
34 #include "runtime/biasedLocking.hpp"
35 #include "runtime/interfaceSupport.inline.hpp"
36 #include "runtime/objectMonitor.hpp"
37 #include "runtime/os.hpp"
38 #include "runtime/sharedRuntime.hpp"
39 #include "runtime/stubRoutines.hpp"
40 #include "utilities/macros.hpp"
41 #if INCLUDE_ALL_GCS
42 #include "gc/g1/g1BarrierSet.hpp"
43 #include "gc/g1/heapRegion.hpp"
44 #endif
45
46 // Convention: Use Z_R0 and Z_R1 instead of Z_scratch_* in all
47 // assembler_s390.* files.
48
49 // Convert the raw encoding form into the form expected by the
50 // constructor for Address. This is called by adlc generated code.
51 Address Address::make_raw(int base, int index, int scale, int disp, relocInfo::relocType disp_reloc) {
52 assert(scale == 0, "Scale should not be used on z/Architecture. The call to make_raw is "
53 "generated by adlc and this must mirror all features of Operands from machnode.hpp.");
54 assert(disp_reloc == relocInfo::none, "not implemented on z/Architecture.");
55
56 Address madr(as_Register(base), as_Register(index), in_ByteSize(disp));
57 return madr;
58 }
59
60 int AbstractAssembler::code_fill_byte() {
61 return 0x00; // Illegal instruction 0x00000000.
62 }
63
64 // Condition code masks. Details see enum branch_condition.
|
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "asm/assembler.inline.hpp"
28 #include "compiler/disassembler.hpp"
29 #include "gc/shared/collectedHeap.inline.hpp"
30 #include "interpreter/interpreter.hpp"
31 #include "gc/shared/cardTableBarrierSet.hpp"
32 #include "memory/resourceArea.hpp"
33 #include "prims/methodHandles.hpp"
34 #include "runtime/biasedLocking.hpp"
35 #include "runtime/interfaceSupport.inline.hpp"
36 #include "runtime/objectMonitor.hpp"
37 #include "runtime/os.hpp"
38 #include "runtime/sharedRuntime.hpp"
39 #include "runtime/stubRoutines.hpp"
40 #include "utilities/macros.hpp"
41
42 // Convention: Use Z_R0 and Z_R1 instead of Z_scratch_* in all
43 // assembler_s390.* files.
44
45 // Convert the raw encoding form into the form expected by the
46 // constructor for Address. This is called by adlc generated code.
47 Address Address::make_raw(int base, int index, int scale, int disp, relocInfo::relocType disp_reloc) {
48 assert(scale == 0, "Scale should not be used on z/Architecture. The call to make_raw is "
49 "generated by adlc and this must mirror all features of Operands from machnode.hpp.");
50 assert(disp_reloc == relocInfo::none, "not implemented on z/Architecture.");
51
52 Address madr(as_Register(base), as_Register(index), in_ByteSize(disp));
53 return madr;
54 }
55
56 int AbstractAssembler::code_fill_byte() {
57 return 0x00; // Illegal instruction 0x00000000.
58 }
59
60 // Condition code masks. Details see enum branch_condition.
|