| 1 |
(* |
| 2 |
* WARNING: This file was automatically generated by MDLGen (v3.1) |
| 3 |
* from the machine description file "alpha/alpha.mdl". |
| 4 |
* DO NOT EDIT this file directly |
| 5 |
*) |
| 6 |
|
| 7 |
|
| 8 |
signature ALPHAINSTR = |
| 9 |
sig |
| 10 |
structure C : ALPHACELLS |
| 11 |
structure CB : CELLS_BASIS (* = CellsBasis *) |
| 12 |
where type CellSet.cellset = CellsBasis.CellSet.cellset |
| 13 |
and type 'a ColorTable.hash_table = 'a CellsBasis.ColorTable.hash_table |
| 14 |
and type 'a HashTable.hash_table = 'a CellsBasis.HashTable.hash_table |
| 15 |
and type SortedCells.sorted_cells = CellsBasis.SortedCells.sorted_cells |
| 16 |
and type cell = CellsBasis.cell |
| 17 |
and type cellColor = CellsBasis.cellColor |
| 18 |
and type cellkind = CellsBasis.cellkind |
| 19 |
and type cellkindDesc = CellsBasis.cellkindDesc |
| 20 |
and type cellkindInfo = CellsBasis.cellkindInfo |
| 21 |
structure T : MLTREE |
| 22 |
structure Constant: CONSTANT |
| 23 |
structure Region : REGION |
| 24 |
sharing Constant = T.Constant |
| 25 |
sharing Region = T.Region |
| 26 |
datatype ea = |
| 27 |
Direct of CellsBasis.cell |
| 28 |
| FDirect of CellsBasis.cell |
| 29 |
| Displace of {base:CellsBasis.cell, disp:T.labexp, mem:Region.region} |
| 30 |
datatype operand = |
| 31 |
REGop of CellsBasis.cell |
| 32 |
| IMMop of int |
| 33 |
| HILABop of T.labexp |
| 34 |
| LOLABop of T.labexp |
| 35 |
| LABop of T.labexp |
| 36 |
datatype branch = |
| 37 |
BR |
| 38 |
| BLBC |
| 39 |
| BEQ |
| 40 |
| BLT |
| 41 |
| BLE |
| 42 |
| BLBS |
| 43 |
| BNE |
| 44 |
| BGE |
| 45 |
| BGT |
| 46 |
datatype fbranch = |
| 47 |
FBEQ |
| 48 |
| FBLT |
| 49 |
| FBLE |
| 50 |
| FBNE |
| 51 |
| FBGE |
| 52 |
| FBGT |
| 53 |
datatype load = |
| 54 |
LDB |
| 55 |
| LDW |
| 56 |
| LDBU |
| 57 |
| LDWU |
| 58 |
| LDL |
| 59 |
| LDL_L |
| 60 |
| LDQ |
| 61 |
| LDQ_L |
| 62 |
| LDQ_U |
| 63 |
datatype store = |
| 64 |
STB |
| 65 |
| STW |
| 66 |
| STL |
| 67 |
| STQ |
| 68 |
| STQ_U |
| 69 |
datatype fload = |
| 70 |
LDF |
| 71 |
| LDG |
| 72 |
| LDS |
| 73 |
| LDT |
| 74 |
datatype fstore = |
| 75 |
STF |
| 76 |
| STG |
| 77 |
| STS |
| 78 |
| STT |
| 79 |
datatype operate = |
| 80 |
ADDL |
| 81 |
| ADDQ |
| 82 |
| CMPBGE |
| 83 |
| CMPEQ |
| 84 |
| CMPLE |
| 85 |
| CMPLT |
| 86 |
| CMPULE |
| 87 |
| CMPULT |
| 88 |
| SUBL |
| 89 |
| SUBQ |
| 90 |
| S4ADDL |
| 91 |
| S4ADDQ |
| 92 |
| S4SUBL |
| 93 |
| S4SUBQ |
| 94 |
| S8ADDL |
| 95 |
| S8ADDQ |
| 96 |
| S8SUBL |
| 97 |
| S8SUBQ |
| 98 |
| AND |
| 99 |
| BIC |
| 100 |
| BIS |
| 101 |
| EQV |
| 102 |
| ORNOT |
| 103 |
| XOR |
| 104 |
| EXTBL |
| 105 |
| EXTLH |
| 106 |
| EXTLL |
| 107 |
| EXTQH |
| 108 |
| EXTQL |
| 109 |
| EXTWH |
| 110 |
| EXTWL |
| 111 |
| INSBL |
| 112 |
| INSLH |
| 113 |
| INSLL |
| 114 |
| INSQH |
| 115 |
| INSQL |
| 116 |
| INSWH |
| 117 |
| INSWL |
| 118 |
| MSKBL |
| 119 |
| MSKLH |
| 120 |
| MSKLL |
| 121 |
| MSKQH |
| 122 |
| MSKQL |
| 123 |
| MSKWH |
| 124 |
| MSKWL |
| 125 |
| SLL |
| 126 |
| SRA |
| 127 |
| SRL |
| 128 |
| ZAP |
| 129 |
| ZAPNOT |
| 130 |
| MULL |
| 131 |
| MULQ |
| 132 |
| UMULH |
| 133 |
datatype cmove = |
| 134 |
CMOVEQ |
| 135 |
| CMOVLBC |
| 136 |
| CMOVLBS |
| 137 |
| CMOVGE |
| 138 |
| CMOVGT |
| 139 |
| CMOVLE |
| 140 |
| CMOVLT |
| 141 |
| CMOVNE |
| 142 |
datatype pseudo_op = |
| 143 |
DIVL |
| 144 |
| DIVLU |
| 145 |
| DIVQ |
| 146 |
| DIVQU |
| 147 |
| REML |
| 148 |
| REMLU |
| 149 |
| REMQ |
| 150 |
| REMQU |
| 151 |
datatype operateV = |
| 152 |
ADDLV |
| 153 |
| ADDQV |
| 154 |
| SUBLV |
| 155 |
| SUBQV |
| 156 |
| MULLV |
| 157 |
| MULQV |
| 158 |
datatype funary = |
| 159 |
CVTLQ |
| 160 |
| CVTQL |
| 161 |
| CVTQLSV |
| 162 |
| CVTQLV |
| 163 |
| CVTQS |
| 164 |
| CVTQSC |
| 165 |
| CVTQT |
| 166 |
| CVTQTC |
| 167 |
| CVTTS |
| 168 |
| CVTTSC |
| 169 |
| CVTST |
| 170 |
| CVTSTS |
| 171 |
| CVTTQ |
| 172 |
| CVTTQC |
| 173 |
datatype foperate = |
| 174 |
CPYS |
| 175 |
| CPYSE |
| 176 |
| CPYSN |
| 177 |
| MF_FPCR |
| 178 |
| MT_FPCR |
| 179 |
| CMPTEQ |
| 180 |
| CMPTLT |
| 181 |
| CMPTLE |
| 182 |
| CMPTUN |
| 183 |
| CMPTEQSU |
| 184 |
| CMPTLTSU |
| 185 |
| CMPTLESU |
| 186 |
| CMPTUNSU |
| 187 |
| ADDS |
| 188 |
| ADDT |
| 189 |
| DIVS |
| 190 |
| DIVT |
| 191 |
| MULS |
| 192 |
| MULT |
| 193 |
| SUBS |
| 194 |
| SUBT |
| 195 |
datatype fcmove = |
| 196 |
FCMOVEQ |
| 197 |
| FCMOVGE |
| 198 |
| FCMOVGT |
| 199 |
| FCMOVLE |
| 200 |
| FCMOVLT |
| 201 |
| FCMOVNE |
| 202 |
datatype foperateV = |
| 203 |
ADDSSUD |
| 204 |
| ADDSSU |
| 205 |
| ADDTSUD |
| 206 |
| ADDTSU |
| 207 |
| DIVSSUD |
| 208 |
| DIVSSU |
| 209 |
| DIVTSUD |
| 210 |
| DIVTSU |
| 211 |
| MULSSUD |
| 212 |
| MULSSU |
| 213 |
| MULTSUD |
| 214 |
| MULTSU |
| 215 |
| SUBSSUD |
| 216 |
| SUBSSU |
| 217 |
| SUBTSUD |
| 218 |
| SUBTSU |
| 219 |
datatype osf_user_palcode = |
| 220 |
BPT |
| 221 |
| BUGCHK |
| 222 |
| CALLSYS |
| 223 |
| GENTRAP |
| 224 |
| IMB |
| 225 |
| RDUNIQUE |
| 226 |
| WRUNIQUE |
| 227 |
type addressing_mode = CellsBasis.cell * operand |
| 228 |
datatype instr = |
| 229 |
LDA of {r:CellsBasis.cell, b:CellsBasis.cell, d:operand} |
| 230 |
| LDAH of {r:CellsBasis.cell, b:CellsBasis.cell, d:operand} |
| 231 |
| LOAD of {ldOp:load, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, mem:Region.region} |
| 232 |
| STORE of {stOp:store, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 233 |
mem:Region.region} |
| 234 |
| FLOAD of {ldOp:fload, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 235 |
mem:Region.region} |
| 236 |
| FSTORE of {stOp:fstore, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 237 |
mem:Region.region} |
| 238 |
| JMPL of {r:CellsBasis.cell, b:CellsBasis.cell, d:int} * Label.label list |
| 239 |
| JSR of {r:CellsBasis.cell, b:CellsBasis.cell, d:int, defs:C.cellset, uses:C.cellset, |
| 240 |
cutsTo:Label.label list, mem:Region.region} |
| 241 |
| BSR of {r:CellsBasis.cell, lab:Label.label, defs:C.cellset, uses:C.cellset, |
| 242 |
cutsTo:Label.label list, mem:Region.region} |
| 243 |
| RET of {r:CellsBasis.cell, b:CellsBasis.cell, d:int} |
| 244 |
| BRANCH of {b:branch, r:CellsBasis.cell, lab:Label.label} |
| 245 |
| FBRANCH of {b:fbranch, f:CellsBasis.cell, lab:Label.label} |
| 246 |
| OPERATE of {oper:operate, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} |
| 247 |
| OPERATEV of {oper:operateV, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} |
| 248 |
| CMOVE of {oper:cmove, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} |
| 249 |
| PSEUDOARITH of {oper:pseudo_op, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell, |
| 250 |
tmps:C.cellset} |
| 251 |
| FUNARY of {oper:funary, fb:CellsBasis.cell, fc:CellsBasis.cell} |
| 252 |
| FOPERATE of {oper:foperate, fa:CellsBasis.cell, fb:CellsBasis.cell, fc:CellsBasis.cell} |
| 253 |
| FOPERATEV of {oper:foperateV, fa:CellsBasis.cell, fb:CellsBasis.cell, |
| 254 |
fc:CellsBasis.cell} |
| 255 |
| FCMOVE of {oper:fcmove, fa:CellsBasis.cell, fb:CellsBasis.cell, fc:CellsBasis.cell} |
| 256 |
| TRAPB |
| 257 |
| CALL_PAL of {code:osf_user_palcode, def:C.cellset, use:C.cellset} |
| 258 |
| SOURCE of {} |
| 259 |
| SINK of {} |
| 260 |
| PHI of {} |
| 261 |
and instruction = |
| 262 |
LIVE of {regs: C.cellset, spilled: C.cellset} |
| 263 |
| KILL of {regs: C.cellset, spilled: C.cellset} |
| 264 |
| COPY of {k: CellsBasis.cellkind, |
| 265 |
sz: int, (* in bits *) |
| 266 |
dst: CellsBasis.cell list, |
| 267 |
src: CellsBasis.cell list, |
| 268 |
tmp: ea option (* NONE if |dst| = {src| = 1 *)} |
| 269 |
| ANNOTATION of {i:instruction, a:Annotations.annotation} |
| 270 |
| INSTR of instr |
| 271 |
val lda : {r:CellsBasis.cell, b:CellsBasis.cell, d:operand} -> instruction |
| 272 |
val ldah : {r:CellsBasis.cell, b:CellsBasis.cell, d:operand} -> instruction |
| 273 |
val load : {ldOp:load, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 274 |
mem:Region.region} -> instruction |
| 275 |
val store : {stOp:store, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 276 |
mem:Region.region} -> instruction |
| 277 |
val fload : {ldOp:fload, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 278 |
mem:Region.region} -> instruction |
| 279 |
val fstore : {stOp:fstore, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 280 |
mem:Region.region} -> instruction |
| 281 |
val jmpl : {r:CellsBasis.cell, b:CellsBasis.cell, d:int} * Label.label list -> instruction |
| 282 |
val jsr : {r:CellsBasis.cell, b:CellsBasis.cell, d:int, defs:C.cellset, |
| 283 |
uses:C.cellset, cutsTo:Label.label list, mem:Region.region} -> instruction |
| 284 |
val bsr : {r:CellsBasis.cell, lab:Label.label, defs:C.cellset, uses:C.cellset, |
| 285 |
cutsTo:Label.label list, mem:Region.region} -> instruction |
| 286 |
val ret : {r:CellsBasis.cell, b:CellsBasis.cell, d:int} -> instruction |
| 287 |
val branch : {b:branch, r:CellsBasis.cell, lab:Label.label} -> instruction |
| 288 |
val fbranch : {b:fbranch, f:CellsBasis.cell, lab:Label.label} -> instruction |
| 289 |
val operate : {oper:operate, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} -> instruction |
| 290 |
val operatev : {oper:operateV, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} -> instruction |
| 291 |
val cmove : {oper:cmove, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} -> instruction |
| 292 |
val pseudoarith : {oper:pseudo_op, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell, |
| 293 |
tmps:C.cellset} -> instruction |
| 294 |
val funary : {oper:funary, fb:CellsBasis.cell, fc:CellsBasis.cell} -> instruction |
| 295 |
val foperate : {oper:foperate, fa:CellsBasis.cell, fb:CellsBasis.cell, fc:CellsBasis.cell} -> instruction |
| 296 |
val foperatev : {oper:foperateV, fa:CellsBasis.cell, fb:CellsBasis.cell, |
| 297 |
fc:CellsBasis.cell} -> instruction |
| 298 |
val fcmove : {oper:fcmove, fa:CellsBasis.cell, fb:CellsBasis.cell, fc:CellsBasis.cell} -> instruction |
| 299 |
val trapb : instruction |
| 300 |
val call_pal : {code:osf_user_palcode, def:C.cellset, use:C.cellset} -> instruction |
| 301 |
val source : {} -> instruction |
| 302 |
val sink : {} -> instruction |
| 303 |
val phi : {} -> instruction |
| 304 |
end |
| 305 |
|
| 306 |
functor AlphaInstr(T: MLTREE |
| 307 |
) : ALPHAINSTR = |
| 308 |
struct |
| 309 |
structure C = AlphaCells |
| 310 |
structure CB = CellsBasis |
| 311 |
structure T = T |
| 312 |
structure Region = T.Region |
| 313 |
structure Constant = T.Constant |
| 314 |
datatype ea = |
| 315 |
Direct of CellsBasis.cell |
| 316 |
| FDirect of CellsBasis.cell |
| 317 |
| Displace of {base:CellsBasis.cell, disp:T.labexp, mem:Region.region} |
| 318 |
datatype operand = |
| 319 |
REGop of CellsBasis.cell |
| 320 |
| IMMop of int |
| 321 |
| HILABop of T.labexp |
| 322 |
| LOLABop of T.labexp |
| 323 |
| LABop of T.labexp |
| 324 |
datatype branch = |
| 325 |
BR |
| 326 |
| BLBC |
| 327 |
| BEQ |
| 328 |
| BLT |
| 329 |
| BLE |
| 330 |
| BLBS |
| 331 |
| BNE |
| 332 |
| BGE |
| 333 |
| BGT |
| 334 |
datatype fbranch = |
| 335 |
FBEQ |
| 336 |
| FBLT |
| 337 |
| FBLE |
| 338 |
| FBNE |
| 339 |
| FBGE |
| 340 |
| FBGT |
| 341 |
datatype load = |
| 342 |
LDB |
| 343 |
| LDW |
| 344 |
| LDBU |
| 345 |
| LDWU |
| 346 |
| LDL |
| 347 |
| LDL_L |
| 348 |
| LDQ |
| 349 |
| LDQ_L |
| 350 |
| LDQ_U |
| 351 |
datatype store = |
| 352 |
STB |
| 353 |
| STW |
| 354 |
| STL |
| 355 |
| STQ |
| 356 |
| STQ_U |
| 357 |
datatype fload = |
| 358 |
LDF |
| 359 |
| LDG |
| 360 |
| LDS |
| 361 |
| LDT |
| 362 |
datatype fstore = |
| 363 |
STF |
| 364 |
| STG |
| 365 |
| STS |
| 366 |
| STT |
| 367 |
datatype operate = |
| 368 |
ADDL |
| 369 |
| ADDQ |
| 370 |
| CMPBGE |
| 371 |
| CMPEQ |
| 372 |
| CMPLE |
| 373 |
| CMPLT |
| 374 |
| CMPULE |
| 375 |
| CMPULT |
| 376 |
| SUBL |
| 377 |
| SUBQ |
| 378 |
| S4ADDL |
| 379 |
| S4ADDQ |
| 380 |
| S4SUBL |
| 381 |
| S4SUBQ |
| 382 |
| S8ADDL |
| 383 |
| S8ADDQ |
| 384 |
| S8SUBL |
| 385 |
| S8SUBQ |
| 386 |
| AND |
| 387 |
| BIC |
| 388 |
| BIS |
| 389 |
| EQV |
| 390 |
| ORNOT |
| 391 |
| XOR |
| 392 |
| EXTBL |
| 393 |
| EXTLH |
| 394 |
| EXTLL |
| 395 |
| EXTQH |
| 396 |
| EXTQL |
| 397 |
| EXTWH |
| 398 |
| EXTWL |
| 399 |
| INSBL |
| 400 |
| INSLH |
| 401 |
| INSLL |
| 402 |
| INSQH |
| 403 |
| INSQL |
| 404 |
| INSWH |
| 405 |
| INSWL |
| 406 |
| MSKBL |
| 407 |
| MSKLH |
| 408 |
| MSKLL |
| 409 |
| MSKQH |
| 410 |
| MSKQL |
| 411 |
| MSKWH |
| 412 |
| MSKWL |
| 413 |
| SLL |
| 414 |
| SRA |
| 415 |
| SRL |
| 416 |
| ZAP |
| 417 |
| ZAPNOT |
| 418 |
| MULL |
| 419 |
| MULQ |
| 420 |
| UMULH |
| 421 |
datatype cmove = |
| 422 |
CMOVEQ |
| 423 |
| CMOVLBC |
| 424 |
| CMOVLBS |
| 425 |
| CMOVGE |
| 426 |
| CMOVGT |
| 427 |
| CMOVLE |
| 428 |
| CMOVLT |
| 429 |
| CMOVNE |
| 430 |
datatype pseudo_op = |
| 431 |
DIVL |
| 432 |
| DIVLU |
| 433 |
| DIVQ |
| 434 |
| DIVQU |
| 435 |
| REML |
| 436 |
| REMLU |
| 437 |
| REMQ |
| 438 |
| REMQU |
| 439 |
datatype operateV = |
| 440 |
ADDLV |
| 441 |
| ADDQV |
| 442 |
| SUBLV |
| 443 |
| SUBQV |
| 444 |
| MULLV |
| 445 |
| MULQV |
| 446 |
datatype funary = |
| 447 |
CVTLQ |
| 448 |
| CVTQL |
| 449 |
| CVTQLSV |
| 450 |
| CVTQLV |
| 451 |
| CVTQS |
| 452 |
| CVTQSC |
| 453 |
| CVTQT |
| 454 |
| CVTQTC |
| 455 |
| CVTTS |
| 456 |
| CVTTSC |
| 457 |
| CVTST |
| 458 |
| CVTSTS |
| 459 |
| CVTTQ |
| 460 |
| CVTTQC |
| 461 |
datatype foperate = |
| 462 |
CPYS |
| 463 |
| CPYSE |
| 464 |
| CPYSN |
| 465 |
| MF_FPCR |
| 466 |
| MT_FPCR |
| 467 |
| CMPTEQ |
| 468 |
| CMPTLT |
| 469 |
| CMPTLE |
| 470 |
| CMPTUN |
| 471 |
| CMPTEQSU |
| 472 |
| CMPTLTSU |
| 473 |
| CMPTLESU |
| 474 |
| CMPTUNSU |
| 475 |
| ADDS |
| 476 |
| ADDT |
| 477 |
| DIVS |
| 478 |
| DIVT |
| 479 |
| MULS |
| 480 |
| MULT |
| 481 |
| SUBS |
| 482 |
| SUBT |
| 483 |
datatype fcmove = |
| 484 |
FCMOVEQ |
| 485 |
| FCMOVGE |
| 486 |
| FCMOVGT |
| 487 |
| FCMOVLE |
| 488 |
| FCMOVLT |
| 489 |
| FCMOVNE |
| 490 |
datatype foperateV = |
| 491 |
ADDSSUD |
| 492 |
| ADDSSU |
| 493 |
| ADDTSUD |
| 494 |
| ADDTSU |
| 495 |
| DIVSSUD |
| 496 |
| DIVSSU |
| 497 |
| DIVTSUD |
| 498 |
| DIVTSU |
| 499 |
| MULSSUD |
| 500 |
| MULSSU |
| 501 |
| MULTSUD |
| 502 |
| MULTSU |
| 503 |
| SUBSSUD |
| 504 |
| SUBSSU |
| 505 |
| SUBTSUD |
| 506 |
| SUBTSU |
| 507 |
datatype osf_user_palcode = |
| 508 |
BPT |
| 509 |
| BUGCHK |
| 510 |
| CALLSYS |
| 511 |
| GENTRAP |
| 512 |
| IMB |
| 513 |
| RDUNIQUE |
| 514 |
| WRUNIQUE |
| 515 |
type addressing_mode = CellsBasis.cell * operand |
| 516 |
datatype instr = |
| 517 |
LDA of {r:CellsBasis.cell, b:CellsBasis.cell, d:operand} |
| 518 |
| LDAH of {r:CellsBasis.cell, b:CellsBasis.cell, d:operand} |
| 519 |
| LOAD of {ldOp:load, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, mem:Region.region} |
| 520 |
| STORE of {stOp:store, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 521 |
mem:Region.region} |
| 522 |
| FLOAD of {ldOp:fload, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 523 |
mem:Region.region} |
| 524 |
| FSTORE of {stOp:fstore, r:CellsBasis.cell, b:CellsBasis.cell, d:operand, |
| 525 |
mem:Region.region} |
| 526 |
| JMPL of {r:CellsBasis.cell, b:CellsBasis.cell, d:int} * Label.label list |
| 527 |
| JSR of {r:CellsBasis.cell, b:CellsBasis.cell, d:int, defs:C.cellset, uses:C.cellset, |
| 528 |
cutsTo:Label.label list, mem:Region.region} |
| 529 |
| BSR of {r:CellsBasis.cell, lab:Label.label, defs:C.cellset, uses:C.cellset, |
| 530 |
cutsTo:Label.label list, mem:Region.region} |
| 531 |
| RET of {r:CellsBasis.cell, b:CellsBasis.cell, d:int} |
| 532 |
| BRANCH of {b:branch, r:CellsBasis.cell, lab:Label.label} |
| 533 |
| FBRANCH of {b:fbranch, f:CellsBasis.cell, lab:Label.label} |
| 534 |
| OPERATE of {oper:operate, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} |
| 535 |
| OPERATEV of {oper:operateV, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} |
| 536 |
| CMOVE of {oper:cmove, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell} |
| 537 |
| PSEUDOARITH of {oper:pseudo_op, ra:CellsBasis.cell, rb:operand, rc:CellsBasis.cell, |
| 538 |
tmps:C.cellset} |
| 539 |
| FUNARY of {oper:funary, fb:CellsBasis.cell, fc:CellsBasis.cell} |
| 540 |
| FOPERATE of {oper:foperate, fa:CellsBasis.cell, fb:CellsBasis.cell, fc:CellsBasis.cell} |
| 541 |
| FOPERATEV of {oper:foperateV, fa:CellsBasis.cell, fb:CellsBasis.cell, |
| 542 |
fc:CellsBasis.cell} |
| 543 |
| FCMOVE of {oper:fcmove, fa:CellsBasis.cell, fb:CellsBasis.cell, fc:CellsBasis.cell} |
| 544 |
| TRAPB |
| 545 |
| CALL_PAL of {code:osf_user_palcode, def:C.cellset, use:C.cellset} |
| 546 |
| SOURCE of {} |
| 547 |
| SINK of {} |
| 548 |
| PHI of {} |
| 549 |
and instruction = |
| 550 |
LIVE of {regs: C.cellset, spilled: C.cellset} |
| 551 |
| KILL of {regs: C.cellset, spilled: C.cellset} |
| 552 |
| COPY of {k: CellsBasis.cellkind, |
| 553 |
sz: int, (* in bits *) |
| 554 |
dst: CellsBasis.cell list, |
| 555 |
src: CellsBasis.cell list, |
| 556 |
tmp: ea option (* NONE if |dst| = {src| = 1 *)} |
| 557 |
| ANNOTATION of {i:instruction, a:Annotations.annotation} |
| 558 |
| INSTR of instr |
| 559 |
val lda = INSTR o LDA |
| 560 |
and ldah = INSTR o LDAH |
| 561 |
and load = INSTR o LOAD |
| 562 |
and store = INSTR o STORE |
| 563 |
and fload = INSTR o FLOAD |
| 564 |
and fstore = INSTR o FSTORE |
| 565 |
and jmpl = INSTR o JMPL |
| 566 |
and jsr = INSTR o JSR |
| 567 |
and bsr = INSTR o BSR |
| 568 |
and ret = INSTR o RET |
| 569 |
and branch = INSTR o BRANCH |
| 570 |
and fbranch = INSTR o FBRANCH |
| 571 |
and operate = INSTR o OPERATE |
| 572 |
and operatev = INSTR o OPERATEV |
| 573 |
and cmove = INSTR o CMOVE |
| 574 |
and pseudoarith = INSTR o PSEUDOARITH |
| 575 |
and funary = INSTR o FUNARY |
| 576 |
and foperate = INSTR o FOPERATE |
| 577 |
and foperatev = INSTR o FOPERATEV |
| 578 |
and fcmove = INSTR o FCMOVE |
| 579 |
and trapb = INSTR TRAPB |
| 580 |
and call_pal = INSTR o CALL_PAL |
| 581 |
and source = INSTR o SOURCE |
| 582 |
and sink = INSTR o SINK |
| 583 |
and phi = INSTR o PHI |
| 584 |
end |
| 585 |
|