comparison src/share/vm/opto/machnode.hpp @ 3851:95134e034042

7063629: use cbcond in C2 generated code on T4 Summary: Use new short branch instruction in C2 generated code. Reviewed-by: never
author kvn
date Thu, 11 Aug 2011 12:08:11 -0700
parents c7b60b601eb4
children 11211f7cb5a0
comparison
equal deleted inserted replaced
3850:6987871cfb9b 3851:95134e034042
186 186
187 // Support for short branches 187 // Support for short branches
188 virtual MachNode *short_branch_version(Compile* C) { return NULL; } 188 virtual MachNode *short_branch_version(Compile* C) { return NULL; }
189 bool may_be_short_branch() const { return (flags() & Flag_may_be_short_branch) != 0; } 189 bool may_be_short_branch() const { return (flags() & Flag_may_be_short_branch) != 0; }
190 190
191 // Avoid back to back some instructions on some CPUs.
192 bool avoid_back_to_back() const { return (flags() & Flag_avoid_back_to_back) != 0; }
193
191 // First index in _in[] corresponding to operand, or -1 if there is none 194 // First index in _in[] corresponding to operand, or -1 if there is none
192 int operand_index(uint operand) const; 195 int operand_index(uint operand) const;
193 196
194 // Register class input is expected in 197 // Register class input is expected in
195 virtual const RegMask &in_RegMask(uint) const; 198 virtual const RegMask &in_RegMask(uint) const;