1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
|
(*
* WARNING: This file was automatically generated by MDLGen (v3.1)
* from the machine description file "hppa/hppa.mdl".
* DO NOT EDIT this file directly
*)
signature HPPAINSTR =
sig
structure C : HPPACELLS
structure CB : CELLS_BASIS (* = CellsBasis *)
where type CellSet.cellset = CellsBasis.CellSet.cellset
and type 'a ColorTable.hash_table = 'a CellsBasis.ColorTable.hash_table
and type 'a HashTable.hash_table = 'a CellsBasis.HashTable.hash_table
and type SortedCells.sorted_cells = CellsBasis.SortedCells.sorted_cells
and type cell = CellsBasis.cell
and type cellColor = CellsBasis.cellColor
and type cellkind = CellsBasis.cellkind
and type cellkindDesc = CellsBasis.cellkindDesc
and type cellkindInfo = CellsBasis.cellkindInfo
structure T : MLTREE
structure Constant: CONSTANT
structure Region : REGION
sharing Constant = T.Constant
sharing Region = T.Region
datatype fmt =
SGL
| DBL
| QUAD
datatype loadi =
LDW
| LDH
| LDB
datatype store =
STW
| STH
| STB
datatype load =
LDWX
| LDWX_S
| LDWX_M
| LDWX_SM
| LDHX
| LDHX_S
| LDHX_M
| LDHX_SM
| LDBX
| LDBX_M
datatype cmp =
COMBT
| COMBF
datatype cmpi =
COMIBT
| COMIBF
datatype arith =
ADD
| ADDL
| ADDO
| SH1ADD
| SH1ADDL
| SH1ADDO
| SH2ADD
| SH2ADDL
| SH2ADDO
| SH3ADD
| SH3ADDL
| SH3ADDO
| SUB
| SUBO
| OR
| XOR
| AND
| ANDCM
datatype arithi =
ADDI
| ADDIO
| ADDIL
| SUBI
| SUBIO
datatype shiftv =
VEXTRU
| VEXTRS
| ZVDEP
datatype shift =
EXTRU
| EXTRS
| ZDEP
datatype farith =
FADD_S
| FADD_D
| FADD_Q
| FSUB_S
| FSUB_D
| FSUB_Q
| FMPY_S
| FMPY_D
| FMPY_Q
| FDIV_S
| FDIV_D
| FDIV_Q
| XMPYU
datatype funary =
FCPY_S
| FCPY_D
| FCPY_Q
| FABS_S
| FABS_D
| FABS_Q
| FSQRT_S
| FSQRT_D
| FSQRT_Q
| FRND_S
| FRND_D
| FRND_Q
datatype fcnv =
FCNVFF_SD
| FCNVFF_SQ
| FCNVFF_DS
| FCNVFF_DQ
| FCNVFF_QS
| FCNVFF_QD
| FCNVXF_S
| FCNVXF_D
| FCNVXF_Q
| FCNVFX_S
| FCNVFX_D
| FCNVFX_Q
| FCNVFXT_S
| FCNVFXT_D
| FCNVFXT_Q
datatype fstore =
FSTDS
| FSTWS
datatype fstorex =
FSTDX
| FSTDX_S
| FSTDX_M
| FSTDX_SM
| FSTWX
| FSTWX_S
| FSTWX_M
| FSTWX_SM
datatype floadx =
FLDDX
| FLDDX_S
| FLDDX_M
| FLDDX_SM
| FLDWX
| FLDWX_S
| FLDWX_M
| FLDWX_SM
datatype fload =
FLDDS
| FLDWS
datatype bcond =
EQ
| LT
| LE
| LTU
| LEU
| NE
| GE
| GT
| GTU
| GEU
datatype bitcond =
BSET
| BCLR
datatype fcond =
False_
| False
| ?
| !<=>
| ==
| EQT
| ?=
| !<>
| !?>=
| <
| ?<
| !>=
| !?>
| <=
| ?<=
| !>
| !?<=
| >
| ?>
| !<=
| !?<
| >=
| ?>=
| !<
| !?=
| <>
| !=
| NET
| !?
| <=>
| True_
| True
datatype scond =
ALL_ZERO
| LEFTMOST_ONE
| LEFTMOST_ZERO
| RIGHTMOST_ONE
| RIGHTMOST_ZERO
datatype field_selector =
F
| S
| D
| R
| T
| P
datatype ea =
Direct of CellsBasis.cell
| FDirect of CellsBasis.cell
| Displace of {base:CellsBasis.cell, disp:T.labexp, mem:Region.region}
datatype operand =
REG of CellsBasis.cell
| IMMED of int
| LabExp of T.labexp * field_selector
| HILabExp of T.labexp * field_selector
| LOLabExp of T.labexp * field_selector
datatype addressing_mode =
DISPea of CellsBasis.cell * operand
| INDXea of CellsBasis.cell * CellsBasis.cell
| INDXSCALEDea of CellsBasis.cell * CellsBasis.cell
datatype instr =
LOADI of {li:loadi, r:CellsBasis.cell, i:operand, t:CellsBasis.cell, mem:Region.region}
| LOAD of {l:load, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell,
mem:Region.region}
| STORE of {st:store, b:CellsBasis.cell, d:operand, r:CellsBasis.cell, mem:Region.region}
| ARITH of {a:arith, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell}
| ARITHI of {ai:arithi, i:operand, r:CellsBasis.cell, t:CellsBasis.cell}
| COMCLR_LDO of {cc:bcond, r1:CellsBasis.cell, r2:CellsBasis.cell, t1:CellsBasis.cell,
i:int, b:CellsBasis.cell, t2:CellsBasis.cell}
| COMICLR_LDO of {cc:bcond, i1:operand, r2:CellsBasis.cell, t1:CellsBasis.cell,
i2:int, b:CellsBasis.cell, t2:CellsBasis.cell}
| SHIFTV of {sv:shiftv, r:CellsBasis.cell, len:int, t:CellsBasis.cell}
| SHIFT of {s:shift, r:CellsBasis.cell, p:int, len:int, t:CellsBasis.cell}
| BCOND of {cmp:cmp, bc:bcond, r1:CellsBasis.cell, r2:CellsBasis.cell, n:bool,
nop:bool, t:Label.label, f:Label.label}
| BCONDI of {cmpi:cmpi, bc:bcond, i:int, r2:CellsBasis.cell, n:bool, nop:bool,
t:Label.label, f:Label.label}
| BB of {bc:bitcond, r:CellsBasis.cell, p:int, n:bool, nop:bool, t:Label.label,
f:Label.label}
| B of {lab:Label.label, n:bool}
| LONGJUMP of {lab:Label.label, n:bool, tmp:CellsBasis.cell, tmpLab:Label.label}
| BE of {b:CellsBasis.cell, d:operand, sr:int, n:bool, labs:Label.label list}
| BV of {x:CellsBasis.cell, b:CellsBasis.cell, labs:Label.label list, n:bool}
| BLR of {x:CellsBasis.cell, t:CellsBasis.cell, labs:Label.label list, n:bool}
| BL of {lab:Label.label, t:CellsBasis.cell, defs:C.cellset, uses:C.cellset,
cutsTo:Label.label list, mem:Region.region, n:bool}
| BLE of {d:operand, b:CellsBasis.cell, sr:int, t:CellsBasis.cell, defs:C.cellset,
uses:C.cellset, cutsTo:Label.label list, mem:Region.region}
| LDIL of {i:operand, t:CellsBasis.cell}
| LDO of {i:operand, b:CellsBasis.cell, t:CellsBasis.cell}
| MTCTL of {r:CellsBasis.cell, t:CellsBasis.cell}
| FSTORE of {fst:fstore, b:CellsBasis.cell, d:int, r:CellsBasis.cell, mem:Region.region}
| FSTOREX of {fstx:fstorex, b:CellsBasis.cell, x:CellsBasis.cell, r:CellsBasis.cell,
mem:Region.region}
| FLOAD of {fl:fload, b:CellsBasis.cell, d:int, t:CellsBasis.cell, mem:Region.region}
| FLOADX of {flx:floadx, b:CellsBasis.cell, x:CellsBasis.cell, t:CellsBasis.cell,
mem:Region.region}
| FARITH of {fa:farith, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell}
| FUNARY of {fu:funary, f:CellsBasis.cell, t:CellsBasis.cell}
| FCNV of {fcnv:fcnv, f:CellsBasis.cell, t:CellsBasis.cell}
| FBRANCH of {cc:fcond, fmt:fmt, f1:CellsBasis.cell, f2:CellsBasis.cell,
t:Label.label, f:Label.label, n:bool, long:bool}
| BREAK of {code1:int, code2:int}
| NOP
| SOURCE of {}
| SINK of {}
| PHI of {}
and instruction =
LIVE of {regs: C.cellset, spilled: C.cellset}
| KILL of {regs: C.cellset, spilled: C.cellset}
| COPY of {k: CellsBasis.cellkind,
sz: int, (* in bits *)
dst: CellsBasis.cell list,
src: CellsBasis.cell list,
tmp: ea option (* NONE if |dst| = {src| = 1 *)}
| ANNOTATION of {i:instruction, a:Annotations.annotation}
| INSTR of instr
val loadi : {li:loadi, r:CellsBasis.cell, i:operand, t:CellsBasis.cell,
mem:Region.region} -> instruction
val load : {l:load, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell,
mem:Region.region} -> instruction
val store : {st:store, b:CellsBasis.cell, d:operand, r:CellsBasis.cell,
mem:Region.region} -> instruction
val arith : {a:arith, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell} -> instruction
val arithi : {ai:arithi, i:operand, r:CellsBasis.cell, t:CellsBasis.cell} -> instruction
val comclr_ldo : {cc:bcond, r1:CellsBasis.cell, r2:CellsBasis.cell, t1:CellsBasis.cell,
i:int, b:CellsBasis.cell, t2:CellsBasis.cell} -> instruction
val comiclr_ldo : {cc:bcond, i1:operand, r2:CellsBasis.cell, t1:CellsBasis.cell,
i2:int, b:CellsBasis.cell, t2:CellsBasis.cell} -> instruction
val shiftv : {sv:shiftv, r:CellsBasis.cell, len:int, t:CellsBasis.cell} -> instruction
val shift : {s:shift, r:CellsBasis.cell, p:int, len:int, t:CellsBasis.cell} -> instruction
val bcond : {cmp:cmp, bc:bcond, r1:CellsBasis.cell, r2:CellsBasis.cell,
n:bool, nop:bool, t:Label.label, f:Label.label} -> instruction
val bcondi : {cmpi:cmpi, bc:bcond, i:int, r2:CellsBasis.cell, n:bool, nop:bool,
t:Label.label, f:Label.label} -> instruction
val bb : {bc:bitcond, r:CellsBasis.cell, p:int, n:bool, nop:bool, t:Label.label,
f:Label.label} -> instruction
val b : {lab:Label.label, n:bool} -> instruction
val longjump : {lab:Label.label, n:bool, tmp:CellsBasis.cell, tmpLab:Label.label} -> instruction
val be : {b:CellsBasis.cell, d:operand, sr:int, n:bool, labs:Label.label list} -> instruction
val bv : {x:CellsBasis.cell, b:CellsBasis.cell, labs:Label.label list, n:bool} -> instruction
val blr : {x:CellsBasis.cell, t:CellsBasis.cell, labs:Label.label list,
n:bool} -> instruction
val bl : {lab:Label.label, t:CellsBasis.cell, defs:C.cellset, uses:C.cellset,
cutsTo:Label.label list, mem:Region.region, n:bool} -> instruction
val ble : {d:operand, b:CellsBasis.cell, sr:int, t:CellsBasis.cell, defs:C.cellset,
uses:C.cellset, cutsTo:Label.label list, mem:Region.region} -> instruction
val ldil : {i:operand, t:CellsBasis.cell} -> instruction
val ldo : {i:operand, b:CellsBasis.cell, t:CellsBasis.cell} -> instruction
val mtctl : {r:CellsBasis.cell, t:CellsBasis.cell} -> instruction
val fstore : {fst:fstore, b:CellsBasis.cell, d:int, r:CellsBasis.cell, mem:Region.region} -> instruction
val fstorex : {fstx:fstorex, b:CellsBasis.cell, x:CellsBasis.cell, r:CellsBasis.cell,
mem:Region.region} -> instruction
val fload : {fl:fload, b:CellsBasis.cell, d:int, t:CellsBasis.cell, mem:Region.region} -> instruction
val floadx : {flx:floadx, b:CellsBasis.cell, x:CellsBasis.cell, t:CellsBasis.cell,
mem:Region.region} -> instruction
val farith : {fa:farith, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell} -> instruction
val funary : {fu:funary, f:CellsBasis.cell, t:CellsBasis.cell} -> instruction
val fcnv : {fcnv:fcnv, f:CellsBasis.cell, t:CellsBasis.cell} -> instruction
val fbranch : {cc:fcond, fmt:fmt, f1:CellsBasis.cell, f2:CellsBasis.cell,
t:Label.label, f:Label.label, n:bool, long:bool} -> instruction
val break : {code1:int, code2:int} -> instruction
val nop : instruction
val source : {} -> instruction
val sink : {} -> instruction
val phi : {} -> instruction
end
functor HppaInstr(T: MLTREE
) : HPPAINSTR =
struct
structure C = HppaCells
structure CB = CellsBasis
structure T = T
structure Region = T.Region
structure Constant = T.Constant
datatype fmt =
SGL
| DBL
| QUAD
datatype loadi =
LDW
| LDH
| LDB
datatype store =
STW
| STH
| STB
datatype load =
LDWX
| LDWX_S
| LDWX_M
| LDWX_SM
| LDHX
| LDHX_S
| LDHX_M
| LDHX_SM
| LDBX
| LDBX_M
datatype cmp =
COMBT
| COMBF
datatype cmpi =
COMIBT
| COMIBF
datatype arith =
ADD
| ADDL
| ADDO
| SH1ADD
| SH1ADDL
| SH1ADDO
| SH2ADD
| SH2ADDL
| SH2ADDO
| SH3ADD
| SH3ADDL
| SH3ADDO
| SUB
| SUBO
| OR
| XOR
| AND
| ANDCM
datatype arithi =
ADDI
| ADDIO
| ADDIL
| SUBI
| SUBIO
datatype shiftv =
VEXTRU
| VEXTRS
| ZVDEP
datatype shift =
EXTRU
| EXTRS
| ZDEP
datatype farith =
FADD_S
| FADD_D
| FADD_Q
| FSUB_S
| FSUB_D
| FSUB_Q
| FMPY_S
| FMPY_D
| FMPY_Q
| FDIV_S
| FDIV_D
| FDIV_Q
| XMPYU
datatype funary =
FCPY_S
| FCPY_D
| FCPY_Q
| FABS_S
| FABS_D
| FABS_Q
| FSQRT_S
| FSQRT_D
| FSQRT_Q
| FRND_S
| FRND_D
| FRND_Q
datatype fcnv =
FCNVFF_SD
| FCNVFF_SQ
| FCNVFF_DS
| FCNVFF_DQ
| FCNVFF_QS
| FCNVFF_QD
| FCNVXF_S
| FCNVXF_D
| FCNVXF_Q
| FCNVFX_S
| FCNVFX_D
| FCNVFX_Q
| FCNVFXT_S
| FCNVFXT_D
| FCNVFXT_Q
datatype fstore =
FSTDS
| FSTWS
datatype fstorex =
FSTDX
| FSTDX_S
| FSTDX_M
| FSTDX_SM
| FSTWX
| FSTWX_S
| FSTWX_M
| FSTWX_SM
datatype floadx =
FLDDX
| FLDDX_S
| FLDDX_M
| FLDDX_SM
| FLDWX
| FLDWX_S
| FLDWX_M
| FLDWX_SM
datatype fload =
FLDDS
| FLDWS
datatype bcond =
EQ
| LT
| LE
| LTU
| LEU
| NE
| GE
| GT
| GTU
| GEU
datatype bitcond =
BSET
| BCLR
datatype fcond =
False_
| False
| ?
| !<=>
| ==
| EQT
| ?=
| !<>
| !?>=
| <
| ?<
| !>=
| !?>
| <=
| ?<=
| !>
| !?<=
| >
| ?>
| !<=
| !?<
| >=
| ?>=
| !<
| !?=
| <>
| !=
| NET
| !?
| <=>
| True_
| True
datatype scond =
ALL_ZERO
| LEFTMOST_ONE
| LEFTMOST_ZERO
| RIGHTMOST_ONE
| RIGHTMOST_ZERO
datatype field_selector =
F
| S
| D
| R
| T
| P
datatype ea =
Direct of CellsBasis.cell
| FDirect of CellsBasis.cell
| Displace of {base:CellsBasis.cell, disp:T.labexp, mem:Region.region}
datatype operand =
REG of CellsBasis.cell
| IMMED of int
| LabExp of T.labexp * field_selector
| HILabExp of T.labexp * field_selector
| LOLabExp of T.labexp * field_selector
datatype addressing_mode =
DISPea of CellsBasis.cell * operand
| INDXea of CellsBasis.cell * CellsBasis.cell
| INDXSCALEDea of CellsBasis.cell * CellsBasis.cell
datatype instr =
LOADI of {li:loadi, r:CellsBasis.cell, i:operand, t:CellsBasis.cell, mem:Region.region}
| LOAD of {l:load, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell,
mem:Region.region}
| STORE of {st:store, b:CellsBasis.cell, d:operand, r:CellsBasis.cell, mem:Region.region}
| ARITH of {a:arith, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell}
| ARITHI of {ai:arithi, i:operand, r:CellsBasis.cell, t:CellsBasis.cell}
| COMCLR_LDO of {cc:bcond, r1:CellsBasis.cell, r2:CellsBasis.cell, t1:CellsBasis.cell,
i:int, b:CellsBasis.cell, t2:CellsBasis.cell}
| COMICLR_LDO of {cc:bcond, i1:operand, r2:CellsBasis.cell, t1:CellsBasis.cell,
i2:int, b:CellsBasis.cell, t2:CellsBasis.cell}
| SHIFTV of {sv:shiftv, r:CellsBasis.cell, len:int, t:CellsBasis.cell}
| SHIFT of {s:shift, r:CellsBasis.cell, p:int, len:int, t:CellsBasis.cell}
| BCOND of {cmp:cmp, bc:bcond, r1:CellsBasis.cell, r2:CellsBasis.cell, n:bool,
nop:bool, t:Label.label, f:Label.label}
| BCONDI of {cmpi:cmpi, bc:bcond, i:int, r2:CellsBasis.cell, n:bool, nop:bool,
t:Label.label, f:Label.label}
| BB of {bc:bitcond, r:CellsBasis.cell, p:int, n:bool, nop:bool, t:Label.label,
f:Label.label}
| B of {lab:Label.label, n:bool}
| LONGJUMP of {lab:Label.label, n:bool, tmp:CellsBasis.cell, tmpLab:Label.label}
| BE of {b:CellsBasis.cell, d:operand, sr:int, n:bool, labs:Label.label list}
| BV of {x:CellsBasis.cell, b:CellsBasis.cell, labs:Label.label list, n:bool}
| BLR of {x:CellsBasis.cell, t:CellsBasis.cell, labs:Label.label list, n:bool}
| BL of {lab:Label.label, t:CellsBasis.cell, defs:C.cellset, uses:C.cellset,
cutsTo:Label.label list, mem:Region.region, n:bool}
| BLE of {d:operand, b:CellsBasis.cell, sr:int, t:CellsBasis.cell, defs:C.cellset,
uses:C.cellset, cutsTo:Label.label list, mem:Region.region}
| LDIL of {i:operand, t:CellsBasis.cell}
| LDO of {i:operand, b:CellsBasis.cell, t:CellsBasis.cell}
| MTCTL of {r:CellsBasis.cell, t:CellsBasis.cell}
| FSTORE of {fst:fstore, b:CellsBasis.cell, d:int, r:CellsBasis.cell, mem:Region.region}
| FSTOREX of {fstx:fstorex, b:CellsBasis.cell, x:CellsBasis.cell, r:CellsBasis.cell,
mem:Region.region}
| FLOAD of {fl:fload, b:CellsBasis.cell, d:int, t:CellsBasis.cell, mem:Region.region}
| FLOADX of {flx:floadx, b:CellsBasis.cell, x:CellsBasis.cell, t:CellsBasis.cell,
mem:Region.region}
| FARITH of {fa:farith, r1:CellsBasis.cell, r2:CellsBasis.cell, t:CellsBasis.cell}
| FUNARY of {fu:funary, f:CellsBasis.cell, t:CellsBasis.cell}
| FCNV of {fcnv:fcnv, f:CellsBasis.cell, t:CellsBasis.cell}
| FBRANCH of {cc:fcond, fmt:fmt, f1:CellsBasis.cell, f2:CellsBasis.cell,
t:Label.label, f:Label.label, n:bool, long:bool}
| BREAK of {code1:int, code2:int}
| NOP
| SOURCE of {}
| SINK of {}
| PHI of {}
and instruction =
LIVE of {regs: C.cellset, spilled: C.cellset}
| KILL of {regs: C.cellset, spilled: C.cellset}
| COPY of {k: CellsBasis.cellkind,
sz: int, (* in bits *)
dst: CellsBasis.cell list,
src: CellsBasis.cell list,
tmp: ea option (* NONE if |dst| = {src| = 1 *)}
| ANNOTATION of {i:instruction, a:Annotations.annotation}
| INSTR of instr
val loadi = INSTR o LOADI
and load = INSTR o LOAD
and store = INSTR o STORE
and arith = INSTR o ARITH
and arithi = INSTR o ARITHI
and comclr_ldo = INSTR o COMCLR_LDO
and comiclr_ldo = INSTR o COMICLR_LDO
and shiftv = INSTR o SHIFTV
and shift = INSTR o SHIFT
and bcond = INSTR o BCOND
and bcondi = INSTR o BCONDI
and bb = INSTR o BB
and b = INSTR o B
and longjump = INSTR o LONGJUMP
and be = INSTR o BE
and bv = INSTR o BV
and blr = INSTR o BLR
and bl = INSTR o BL
and ble = INSTR o BLE
and ldil = INSTR o LDIL
and ldo = INSTR o LDO
and mtctl = INSTR o MTCTL
and fstore = INSTR o FSTORE
and fstorex = INSTR o FSTOREX
and fload = INSTR o FLOAD
and floadx = INSTR o FLOADX
and farith = INSTR o FARITH
and funary = INSTR o FUNARY
and fcnv = INSTR o FCNV
and fbranch = INSTR o FBRANCH
and break = INSTR o BREAK
and nop = INSTR NOP
and source = INSTR o SOURCE
and sink = INSTR o SINK
and phi = INSTR o PHI
end
|