comparison src/share/vm/adlc/formssel.hpp @ 14434:318d0622a6d7

8028580: PPC64 (part 114/120): Support for Call nodes with constants. Summary: extends MachCall nodes so that they can issue constants to the constant table Reviewed-by: kvn
author goetz
date Wed, 20 Nov 2013 11:08:09 -0800
parents 044b28168e20
children abec000618bf
comparison
equal deleted inserted replaced
14433:018b357638aa 14434:318d0622a6d7
81 bool _is_cisc_alternate; 81 bool _is_cisc_alternate;
82 InstructForm *_cisc_spill_alternate;// cisc possible replacement 82 InstructForm *_cisc_spill_alternate;// cisc possible replacement
83 const char *_cisc_reg_mask_name; 83 const char *_cisc_reg_mask_name;
84 InstructForm *_short_branch_form; 84 InstructForm *_short_branch_form;
85 bool _is_short_branch; 85 bool _is_short_branch;
86 bool _is_mach_constant; // true if Node is a MachConstantNode 86 bool _is_mach_constant; // True if Node is a MachConstantNode.
87 bool _needs_constant_base; // True if Node needs the mach_constant_base input.
87 uint _alignment; 88 uint _alignment;
88 89
89 public: 90 public:
90 // Public Data 91 // Public Data
91 const char *_ident; // Name of this instruction 92 const char *_ident; // Name of this instruction
260 bool is_short_branch() { return _is_short_branch; } 261 bool is_short_branch() { return _is_short_branch; }
261 void set_short_branch(bool val) { _is_short_branch = val; } 262 void set_short_branch(bool val) { _is_short_branch = val; }
262 263
263 bool is_mach_constant() const { return _is_mach_constant; } 264 bool is_mach_constant() const { return _is_mach_constant; }
264 void set_is_mach_constant(bool x) { _is_mach_constant = x; } 265 void set_is_mach_constant(bool x) { _is_mach_constant = x; }
266 bool needs_constant_base() const { return _needs_constant_base; }
267 void set_needs_constant_base(bool x) { _needs_constant_base = x; }
265 268
266 InstructForm *short_branch_form() { return _short_branch_form; } 269 InstructForm *short_branch_form() { return _short_branch_form; }
267 bool has_short_branch_form() { return _short_branch_form != NULL; } 270 bool has_short_branch_form() { return _short_branch_form != NULL; }
268 // Output short branch prototypes and method bodies 271 // Output short branch prototypes and method bodies
269 void declare_short_branch_methods(FILE *fp_cpp); 272 void declare_short_branch_methods(FILE *fp_cpp);