< prev index next >

src/hotspot/cpu/aarch64/foreign_globals_aarch64.hpp

Print this page

25 #ifndef CPU_AARCH64_VM_FOREIGN_GLOBALS_AARCH64_HPP
26 #define CPU_AARCH64_VM_FOREIGN_GLOBALS_AARCH64_HPP
27 
28 #include "asm/macroAssembler.hpp"
29 #include "utilities/growableArray.hpp"
30 
31 constexpr size_t float_reg_size = 16; // bytes
32 
33 struct ABIDescriptor {
34   GrowableArray<Register> _integer_argument_registers;
35   GrowableArray<Register> _integer_return_registers;
36   GrowableArray<FloatRegister> _vector_argument_registers;
37   GrowableArray<FloatRegister> _vector_return_registers;
38 
39   GrowableArray<Register> _integer_additional_volatile_registers;
40   GrowableArray<FloatRegister> _vector_additional_volatile_registers;
41 
42   int32_t _stack_alignment_bytes;
43   int32_t _shadow_space_bytes;
44 



45   bool is_volatile_reg(Register reg) const;
46   bool is_volatile_reg(FloatRegister reg) const;
47 };
48 
49 struct BufferLayout {
50   size_t stack_args_bytes;
51   size_t stack_args;
52   size_t arguments_vector;
53   size_t arguments_integer;
54   size_t arguments_next_pc;
55   size_t returns_vector;
56   size_t returns_integer;
57   size_t buffer_size;
58 };
59 
60 #endif // CPU_AARCH64_VM_FOREIGN_GLOBALS_AARCH64_HPP

25 #ifndef CPU_AARCH64_VM_FOREIGN_GLOBALS_AARCH64_HPP
26 #define CPU_AARCH64_VM_FOREIGN_GLOBALS_AARCH64_HPP
27 
28 #include "asm/macroAssembler.hpp"
29 #include "utilities/growableArray.hpp"
30 
31 constexpr size_t float_reg_size = 16; // bytes
32 
33 struct ABIDescriptor {
34   GrowableArray<Register> _integer_argument_registers;
35   GrowableArray<Register> _integer_return_registers;
36   GrowableArray<FloatRegister> _vector_argument_registers;
37   GrowableArray<FloatRegister> _vector_return_registers;
38 
39   GrowableArray<Register> _integer_additional_volatile_registers;
40   GrowableArray<FloatRegister> _vector_additional_volatile_registers;
41 
42   int32_t _stack_alignment_bytes;
43   int32_t _shadow_space_bytes;
44 
45   Register _target_addr_reg;
46   Register _ret_buf_addr_reg;
47 
48   bool is_volatile_reg(Register reg) const;
49   bool is_volatile_reg(FloatRegister reg) const;
50 };
51 











52 #endif // CPU_AARCH64_VM_FOREIGN_GLOBALS_AARCH64_HPP
< prev index next >