formssel.hpp (5982:044b28168e20) | formssel.hpp (5988:318d0622a6d7) |
---|---|
1/* 2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * --- 69 unchanged lines hidden (view full) --- 78 // Members used for tracking CISC-spilling 79 int _cisc_spill_operand;// Which operand may cisc-spill 80 void set_cisc_spill_operand(uint op_index) { _cisc_spill_operand = op_index; } 81 bool _is_cisc_alternate; 82 InstructForm *_cisc_spill_alternate;// cisc possible replacement 83 const char *_cisc_reg_mask_name; 84 InstructForm *_short_branch_form; 85 bool _is_short_branch; | 1/* 2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * --- 69 unchanged lines hidden (view full) --- 78 // Members used for tracking CISC-spilling 79 int _cisc_spill_operand;// Which operand may cisc-spill 80 void set_cisc_spill_operand(uint op_index) { _cisc_spill_operand = op_index; } 81 bool _is_cisc_alternate; 82 InstructForm *_cisc_spill_alternate;// cisc possible replacement 83 const char *_cisc_reg_mask_name; 84 InstructForm *_short_branch_form; 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 89public: 90 // Public Data 91 const char *_ident; // Name of this instruction 92 NameList _parameters; // Locally defined names 93 FormDict _localNames; // Table of operands & their types 94 MatchRule *_matrule; // Matching rule for this instruction --- 162 unchanged lines hidden (view full) --- 257 258 bool check_branch_variant(ArchDesc &AD, InstructForm *short_branch); 259 260 bool is_short_branch() { return _is_short_branch; } 261 void set_short_branch(bool val) { _is_short_branch = val; } 262 263 bool is_mach_constant() const { return _is_mach_constant; } 264 void set_is_mach_constant(bool x) { _is_mach_constant = x; } | 88 uint _alignment; 89 90public: 91 // Public Data 92 const char *_ident; // Name of this instruction 93 NameList _parameters; // Locally defined names 94 FormDict _localNames; // Table of operands & their types 95 MatchRule *_matrule; // Matching rule for this instruction --- 162 unchanged lines hidden (view full) --- 258 259 bool check_branch_variant(ArchDesc &AD, InstructForm *short_branch); 260 261 bool is_short_branch() { return _is_short_branch; } 262 void set_short_branch(bool val) { _is_short_branch = val; } 263 264 bool is_mach_constant() const { return _is_mach_constant; } 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 266 InstructForm *short_branch_form() { return _short_branch_form; } 267 bool has_short_branch_form() { return _short_branch_form != NULL; } 268 // Output short branch prototypes and method bodies 269 void declare_short_branch_methods(FILE *fp_cpp); 270 bool define_short_branch_methods(ArchDesc &AD, FILE *fp_cpp); 271 272 uint alignment() { return _alignment; } --- 817 unchanged lines hidden --- | 268 269 InstructForm *short_branch_form() { return _short_branch_form; } 270 bool has_short_branch_form() { return _short_branch_form != NULL; } 271 // Output short branch prototypes and method bodies 272 void declare_short_branch_methods(FILE *fp_cpp); 273 bool define_short_branch_methods(ArchDesc &AD, FILE *fp_cpp); 274 275 uint alignment() { return _alignment; } --- 817 unchanged lines hidden --- |