src/share/vm/adlc/Doc/Syntax.doc

changeset 1040
98cb887364d3
parent 435
a61af66fc99e
child 1907
c18cbe5936b8
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
86 86
87 reg_class X_REG(AX, BX); // form a matcher register class of X_REG 87 reg_class X_REG(AX, BX); // form a matcher register class of X_REG
88 // these are used for constraints, etc. 88 // these are used for constraints, etc.
89 89
90 alloc_class class1(AX, BX); // form an allocation class of registers 90 alloc_class class1(AX, BX); // form an allocation class of registers
91 // used by the register allocator for seperate 91 // used by the register allocator for separate
92 // allocation of target register classes 92 // allocation of target register classes
93 93
94 3. Pipeline Syntax for Scheduling 94 3. Pipeline Syntax for Scheduling
95 95
96 96
148 3. Terminators 148 3. Terminators
149 a. ; (standard statement terminator) 149 a. ; (standard statement terminator)
150 b. %} (block terminator) 150 b. %} (block terminator)
151 c. EOF (file terminator) 151 c. EOF (file terminator)
152 152
153 4. Each statement must start on a seperate line 153 4. Each statement must start on a separate line
154 154
155 5. Identifiers cannot contain: (){}%;,"/\ 155 5. Identifiers cannot contain: (){}%;,"/\
156 156
157 E. Instruction Form: instruct instr1(oper1 dst, oper2 src) %{ ... %} 157 E. Instruction Form: instruct instr1(oper1 dst, oper2 src) %{ ... %}
158 158

mercurial