| 1 |
(* |
| 2 |
* WARNING: This file was automatically generated by MDLGen (v3.1) |
| 3 |
* from the machine description file "x86/x86.mdl". |
| 4 |
* DO NOT EDIT this file directly |
| 5 |
*) |
| 6 |
|
| 7 |
|
| 8 |
signature X86INSTR = |
| 9 |
sig |
| 10 |
structure C : X86CELLS |
| 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 operand = |
| 27 |
Immed of Int32.int |
| 28 |
| ImmedLabel of T.labexp |
| 29 |
| Relative of int |
| 30 |
| LabelEA of T.labexp |
| 31 |
| Direct of CellsBasis.cell |
| 32 |
| FDirect of CellsBasis.cell |
| 33 |
| FPR of CellsBasis.cell |
| 34 |
| ST of CellsBasis.cell |
| 35 |
| MemReg of CellsBasis.cell |
| 36 |
| Displace of {base:CellsBasis.cell, disp:operand, mem:Region.region} |
| 37 |
| Indexed of {base:(CellsBasis.cell) option, index:CellsBasis.cell, scale:int, |
| 38 |
disp:operand, mem:Region.region} |
| 39 |
type addressing_mode = operand |
| 40 |
type ea = operand |
| 41 |
datatype cond = |
| 42 |
EQ |
| 43 |
| NE |
| 44 |
| LT |
| 45 |
| LE |
| 46 |
| GT |
| 47 |
| GE |
| 48 |
| B |
| 49 |
| BE |
| 50 |
| A |
| 51 |
| AE |
| 52 |
| C |
| 53 |
| NC |
| 54 |
| P |
| 55 |
| NP |
| 56 |
| O |
| 57 |
| NO |
| 58 |
datatype binaryOp = |
| 59 |
ADDL |
| 60 |
| SUBL |
| 61 |
| ANDL |
| 62 |
| ORL |
| 63 |
| XORL |
| 64 |
| SHLL |
| 65 |
| SARL |
| 66 |
| SHRL |
| 67 |
| IMULL |
| 68 |
| ADCL |
| 69 |
| SBBL |
| 70 |
| ADDW |
| 71 |
| SUBW |
| 72 |
| ANDW |
| 73 |
| ORW |
| 74 |
| XORW |
| 75 |
| SHLW |
| 76 |
| SARW |
| 77 |
| SHRW |
| 78 |
| IMULW |
| 79 |
| ADDB |
| 80 |
| SUBB |
| 81 |
| ANDB |
| 82 |
| ORB |
| 83 |
| XORB |
| 84 |
| SHLB |
| 85 |
| SARB |
| 86 |
| SHRB |
| 87 |
| IMULB |
| 88 |
| BTSW |
| 89 |
| BTCW |
| 90 |
| BTRW |
| 91 |
| BTSL |
| 92 |
| BTCL |
| 93 |
| BTRL |
| 94 |
| ROLW |
| 95 |
| RORW |
| 96 |
| ROLL |
| 97 |
| RORL |
| 98 |
| XCHGB |
| 99 |
| XCHGW |
| 100 |
| XCHGL |
| 101 |
| LOCK_ADCW |
| 102 |
| LOCK_ADCL |
| 103 |
| LOCK_ADDW |
| 104 |
| LOCK_ADDL |
| 105 |
| LOCK_ANDW |
| 106 |
| LOCK_ANDL |
| 107 |
| LOCK_BTSW |
| 108 |
| LOCK_BTSL |
| 109 |
| LOCK_BTRW |
| 110 |
| LOCK_BTRL |
| 111 |
| LOCK_BTCW |
| 112 |
| LOCK_BTCL |
| 113 |
| LOCK_ORW |
| 114 |
| LOCK_ORL |
| 115 |
| LOCK_SBBW |
| 116 |
| LOCK_SBBL |
| 117 |
| LOCK_SUBW |
| 118 |
| LOCK_SUBL |
| 119 |
| LOCK_XORW |
| 120 |
| LOCK_XORL |
| 121 |
| LOCK_XADDB |
| 122 |
| LOCK_XADDW |
| 123 |
| LOCK_XADDL |
| 124 |
datatype multDivOp = |
| 125 |
IMULL1 |
| 126 |
| MULL1 |
| 127 |
| IDIVL1 |
| 128 |
| DIVL1 |
| 129 |
datatype unaryOp = |
| 130 |
DECL |
| 131 |
| INCL |
| 132 |
| NEGL |
| 133 |
| NOTL |
| 134 |
| DECW |
| 135 |
| INCW |
| 136 |
| NEGW |
| 137 |
| NOTW |
| 138 |
| DECB |
| 139 |
| INCB |
| 140 |
| NEGB |
| 141 |
| NOTB |
| 142 |
| LOCK_DECL |
| 143 |
| LOCK_INCL |
| 144 |
| LOCK_NEGL |
| 145 |
| LOCK_NOTL |
| 146 |
datatype shiftOp = |
| 147 |
SHLDL |
| 148 |
| SHRDL |
| 149 |
datatype bitOp = |
| 150 |
BTW |
| 151 |
| BTL |
| 152 |
| LOCK_BTW |
| 153 |
| LOCK_BTL |
| 154 |
datatype move = |
| 155 |
MOVL |
| 156 |
| MOVB |
| 157 |
| MOVW |
| 158 |
| MOVSWL |
| 159 |
| MOVZWL |
| 160 |
| MOVSBL |
| 161 |
| MOVZBL |
| 162 |
datatype fbinOp = |
| 163 |
FADDP |
| 164 |
| FADDS |
| 165 |
| FMULP |
| 166 |
| FMULS |
| 167 |
| FCOMS |
| 168 |
| FCOMPS |
| 169 |
| FSUBP |
| 170 |
| FSUBS |
| 171 |
| FSUBRP |
| 172 |
| FSUBRS |
| 173 |
| FDIVP |
| 174 |
| FDIVS |
| 175 |
| FDIVRP |
| 176 |
| FDIVRS |
| 177 |
| FADDL |
| 178 |
| FMULL |
| 179 |
| FCOML |
| 180 |
| FCOMPL |
| 181 |
| FSUBL |
| 182 |
| FSUBRL |
| 183 |
| FDIVL |
| 184 |
| FDIVRL |
| 185 |
datatype fibinOp = |
| 186 |
FIADDS |
| 187 |
| FIMULS |
| 188 |
| FICOMS |
| 189 |
| FICOMPS |
| 190 |
| FISUBS |
| 191 |
| FISUBRS |
| 192 |
| FIDIVS |
| 193 |
| FIDIVRS |
| 194 |
| FIADDL |
| 195 |
| FIMULL |
| 196 |
| FICOML |
| 197 |
| FICOMPL |
| 198 |
| FISUBL |
| 199 |
| FISUBRL |
| 200 |
| FIDIVL |
| 201 |
| FIDIVRL |
| 202 |
datatype funOp = |
| 203 |
FCHS |
| 204 |
| FABS |
| 205 |
| FTST |
| 206 |
| FXAM |
| 207 |
| FPTAN |
| 208 |
| FPATAN |
| 209 |
| FXTRACT |
| 210 |
| FPREM1 |
| 211 |
| FDECSTP |
| 212 |
| FINCSTP |
| 213 |
| FPREM |
| 214 |
| FYL2XP1 |
| 215 |
| FSQRT |
| 216 |
| FSINCOS |
| 217 |
| FRNDINT |
| 218 |
| FSCALE |
| 219 |
| FSIN |
| 220 |
| FCOS |
| 221 |
datatype fenvOp = |
| 222 |
FLDENV |
| 223 |
| FNLDENV |
| 224 |
| FSTENV |
| 225 |
| FNSTENV |
| 226 |
datatype fsize = |
| 227 |
FP32 |
| 228 |
| FP64 |
| 229 |
| FP80 |
| 230 |
datatype isize = |
| 231 |
I8 |
| 232 |
| I16 |
| 233 |
| I32 |
| 234 |
| I64 |
| 235 |
datatype instr = |
| 236 |
NOP |
| 237 |
| JMP of operand * Label.label list |
| 238 |
| JCC of {cond:cond, opnd:operand} |
| 239 |
| CALL of {opnd:operand, defs:C.cellset, uses:C.cellset, return:C.cellset, |
| 240 |
cutsTo:Label.label list, mem:Region.region, pops:Int32.int} |
| 241 |
| ENTER of {src1:operand, src2:operand} |
| 242 |
| LEAVE |
| 243 |
| RET of operand option |
| 244 |
| MOVE of {mvOp:move, src:operand, dst:operand} |
| 245 |
| LEA of {r32:CellsBasis.cell, addr:operand} |
| 246 |
| CMPL of {lsrc:operand, rsrc:operand} |
| 247 |
| CMPW of {lsrc:operand, rsrc:operand} |
| 248 |
| CMPB of {lsrc:operand, rsrc:operand} |
| 249 |
| TESTL of {lsrc:operand, rsrc:operand} |
| 250 |
| TESTW of {lsrc:operand, rsrc:operand} |
| 251 |
| TESTB of {lsrc:operand, rsrc:operand} |
| 252 |
| BITOP of {bitOp:bitOp, lsrc:operand, rsrc:operand} |
| 253 |
| BINARY of {binOp:binaryOp, src:operand, dst:operand} |
| 254 |
| SHIFT of {shiftOp:shiftOp, src:operand, dst:operand, count:operand} |
| 255 |
| CMPXCHG of {lock:bool, sz:isize, src:operand, dst:operand} |
| 256 |
| MULTDIV of {multDivOp:multDivOp, src:operand} |
| 257 |
| MUL3 of {dst:CellsBasis.cell, src2:Int32.int, src1:operand} |
| 258 |
| UNARY of {unOp:unaryOp, opnd:operand} |
| 259 |
| SET of {cond:cond, opnd:operand} |
| 260 |
| CMOV of {cond:cond, src:operand, dst:CellsBasis.cell} |
| 261 |
| PUSHL of operand |
| 262 |
| PUSHW of operand |
| 263 |
| PUSHB of operand |
| 264 |
| PUSHFD |
| 265 |
| POPFD |
| 266 |
| POP of operand |
| 267 |
| CDQ |
| 268 |
| INTO |
| 269 |
| FBINARY of {binOp:fbinOp, src:operand, dst:operand} |
| 270 |
| FIBINARY of {binOp:fibinOp, src:operand} |
| 271 |
| FUNARY of funOp |
| 272 |
| FUCOM of operand |
| 273 |
| FUCOMP of operand |
| 274 |
| FUCOMPP |
| 275 |
| FCOMPP |
| 276 |
| FCOMI of operand |
| 277 |
| FCOMIP of operand |
| 278 |
| FUCOMI of operand |
| 279 |
| FUCOMIP of operand |
| 280 |
| FXCH of {opnd:CellsBasis.cell} |
| 281 |
| FSTPL of operand |
| 282 |
| FSTPS of operand |
| 283 |
| FSTPT of operand |
| 284 |
| FSTL of operand |
| 285 |
| FSTS of operand |
| 286 |
| FLD1 |
| 287 |
| FLDL2E |
| 288 |
| FLDL2T |
| 289 |
| FLDLG2 |
| 290 |
| FLDLN2 |
| 291 |
| FLDPI |
| 292 |
| FLDZ |
| 293 |
| FLDL of operand |
| 294 |
| FLDS of operand |
| 295 |
| FLDT of operand |
| 296 |
| FILD of operand |
| 297 |
| FILDL of operand |
| 298 |
| FILDLL of operand |
| 299 |
| FNSTSW |
| 300 |
| FENV of {fenvOp:fenvOp, opnd:operand} |
| 301 |
| FMOVE of {fsize:fsize, src:operand, dst:operand} |
| 302 |
| FILOAD of {isize:isize, ea:operand, dst:operand} |
| 303 |
| FBINOP of {fsize:fsize, binOp:fbinOp, lsrc:operand, rsrc:operand, dst:operand} |
| 304 |
| FIBINOP of {isize:isize, binOp:fibinOp, lsrc:operand, rsrc:operand, dst:operand} |
| 305 |
| FUNOP of {fsize:fsize, unOp:funOp, src:operand, dst:operand} |
| 306 |
| FCMP of {i:bool, fsize:fsize, lsrc:operand, rsrc:operand} |
| 307 |
| SAHF |
| 308 |
| LFENCE |
| 309 |
| MFENCE |
| 310 |
| SFENCE |
| 311 |
| PAUSE |
| 312 |
| LAHF |
| 313 |
| SOURCE of {} |
| 314 |
| SINK of {} |
| 315 |
| PHI of {} |
| 316 |
and instruction = |
| 317 |
LIVE of {regs: C.cellset, spilled: C.cellset} |
| 318 |
| KILL of {regs: C.cellset, spilled: C.cellset} |
| 319 |
| COPY of {k: CellsBasis.cellkind, |
| 320 |
sz: int, (* in bits *) |
| 321 |
dst: CellsBasis.cell list, |
| 322 |
src: CellsBasis.cell list, |
| 323 |
tmp: ea option (* NONE if |dst| = {src| = 1 *)} |
| 324 |
| ANNOTATION of {i:instruction, a:Annotations.annotation} |
| 325 |
| INSTR of instr |
| 326 |
val nop : instruction |
| 327 |
val jmp : operand * Label.label list -> instruction |
| 328 |
val jcc : {cond:cond, opnd:operand} -> instruction |
| 329 |
val call : {opnd:operand, defs:C.cellset, uses:C.cellset, return:C.cellset, |
| 330 |
cutsTo:Label.label list, mem:Region.region, pops:Int32.int} -> instruction |
| 331 |
val enter : {src1:operand, src2:operand} -> instruction |
| 332 |
val leave : instruction |
| 333 |
val ret : operand option -> instruction |
| 334 |
val move : {mvOp:move, src:operand, dst:operand} -> instruction |
| 335 |
val lea : {r32:CellsBasis.cell, addr:operand} -> instruction |
| 336 |
val cmpl : {lsrc:operand, rsrc:operand} -> instruction |
| 337 |
val cmpw : {lsrc:operand, rsrc:operand} -> instruction |
| 338 |
val cmpb : {lsrc:operand, rsrc:operand} -> instruction |
| 339 |
val testl : {lsrc:operand, rsrc:operand} -> instruction |
| 340 |
val testw : {lsrc:operand, rsrc:operand} -> instruction |
| 341 |
val testb : {lsrc:operand, rsrc:operand} -> instruction |
| 342 |
val bitop : {bitOp:bitOp, lsrc:operand, rsrc:operand} -> instruction |
| 343 |
val binary : {binOp:binaryOp, src:operand, dst:operand} -> instruction |
| 344 |
val shift : {shiftOp:shiftOp, src:operand, dst:operand, count:operand} -> instruction |
| 345 |
val cmpxchg : {lock:bool, sz:isize, src:operand, dst:operand} -> instruction |
| 346 |
val multdiv : {multDivOp:multDivOp, src:operand} -> instruction |
| 347 |
val mul3 : {dst:CellsBasis.cell, src2:Int32.int, src1:operand} -> instruction |
| 348 |
val unary : {unOp:unaryOp, opnd:operand} -> instruction |
| 349 |
val set : {cond:cond, opnd:operand} -> instruction |
| 350 |
val cmov : {cond:cond, src:operand, dst:CellsBasis.cell} -> instruction |
| 351 |
val pushl : operand -> instruction |
| 352 |
val pushw : operand -> instruction |
| 353 |
val pushb : operand -> instruction |
| 354 |
val pushfd : instruction |
| 355 |
val popfd : instruction |
| 356 |
val pop : operand -> instruction |
| 357 |
val cdq : instruction |
| 358 |
val into : instruction |
| 359 |
val fbinary : {binOp:fbinOp, src:operand, dst:operand} -> instruction |
| 360 |
val fibinary : {binOp:fibinOp, src:operand} -> instruction |
| 361 |
val funary : funOp -> instruction |
| 362 |
val fucom : operand -> instruction |
| 363 |
val fucomp : operand -> instruction |
| 364 |
val fucompp : instruction |
| 365 |
val fcompp : instruction |
| 366 |
val fcomi : operand -> instruction |
| 367 |
val fcomip : operand -> instruction |
| 368 |
val fucomi : operand -> instruction |
| 369 |
val fucomip : operand -> instruction |
| 370 |
val fxch : {opnd:CellsBasis.cell} -> instruction |
| 371 |
val fstpl : operand -> instruction |
| 372 |
val fstps : operand -> instruction |
| 373 |
val fstpt : operand -> instruction |
| 374 |
val fstl : operand -> instruction |
| 375 |
val fsts : operand -> instruction |
| 376 |
val fld1 : instruction |
| 377 |
val fldl2e : instruction |
| 378 |
val fldl2t : instruction |
| 379 |
val fldlg2 : instruction |
| 380 |
val fldln2 : instruction |
| 381 |
val fldpi : instruction |
| 382 |
val fldz : instruction |
| 383 |
val fldl : operand -> instruction |
| 384 |
val flds : operand -> instruction |
| 385 |
val fldt : operand -> instruction |
| 386 |
val fild : operand -> instruction |
| 387 |
val fildl : operand -> instruction |
| 388 |
val fildll : operand -> instruction |
| 389 |
val fnstsw : instruction |
| 390 |
val fenv : {fenvOp:fenvOp, opnd:operand} -> instruction |
| 391 |
val fmove : {fsize:fsize, src:operand, dst:operand} -> instruction |
| 392 |
val fiload : {isize:isize, ea:operand, dst:operand} -> instruction |
| 393 |
val fbinop : {fsize:fsize, binOp:fbinOp, lsrc:operand, rsrc:operand, dst:operand} -> instruction |
| 394 |
val fibinop : {isize:isize, binOp:fibinOp, lsrc:operand, rsrc:operand, dst:operand} -> instruction |
| 395 |
val funop : {fsize:fsize, unOp:funOp, src:operand, dst:operand} -> instruction |
| 396 |
val fcmp : {i:bool, fsize:fsize, lsrc:operand, rsrc:operand} -> instruction |
| 397 |
val sahf : instruction |
| 398 |
val lfence : instruction |
| 399 |
val mfence : instruction |
| 400 |
val sfence : instruction |
| 401 |
val pause : instruction |
| 402 |
val lahf : instruction |
| 403 |
val source : {} -> instruction |
| 404 |
val sink : {} -> instruction |
| 405 |
val phi : {} -> instruction |
| 406 |
end |
| 407 |
|
| 408 |
functor X86Instr(T: MLTREE |
| 409 |
) : X86INSTR = |
| 410 |
struct |
| 411 |
structure C = X86Cells |
| 412 |
structure CB = CellsBasis |
| 413 |
structure T = T |
| 414 |
structure Region = T.Region |
| 415 |
structure Constant = T.Constant |
| 416 |
datatype operand = |
| 417 |
Immed of Int32.int |
| 418 |
| ImmedLabel of T.labexp |
| 419 |
| Relative of int |
| 420 |
| LabelEA of T.labexp |
| 421 |
| Direct of CellsBasis.cell |
| 422 |
| FDirect of CellsBasis.cell |
| 423 |
| FPR of CellsBasis.cell |
| 424 |
| ST of CellsBasis.cell |
| 425 |
| MemReg of CellsBasis.cell |
| 426 |
| Displace of {base:CellsBasis.cell, disp:operand, mem:Region.region} |
| 427 |
| Indexed of {base:(CellsBasis.cell) option, index:CellsBasis.cell, scale:int, |
| 428 |
disp:operand, mem:Region.region} |
| 429 |
type addressing_mode = operand |
| 430 |
type ea = operand |
| 431 |
datatype cond = |
| 432 |
EQ |
| 433 |
| NE |
| 434 |
| LT |
| 435 |
| LE |
| 436 |
| GT |
| 437 |
| GE |
| 438 |
| B |
| 439 |
| BE |
| 440 |
| A |
| 441 |
| AE |
| 442 |
| C |
| 443 |
| NC |
| 444 |
| P |
| 445 |
| NP |
| 446 |
| O |
| 447 |
| NO |
| 448 |
datatype binaryOp = |
| 449 |
ADDL |
| 450 |
| SUBL |
| 451 |
| ANDL |
| 452 |
| ORL |
| 453 |
| XORL |
| 454 |
| SHLL |
| 455 |
| SARL |
| 456 |
| SHRL |
| 457 |
| IMULL |
| 458 |
| ADCL |
| 459 |
| SBBL |
| 460 |
| ADDW |
| 461 |
| SUBW |
| 462 |
| ANDW |
| 463 |
| ORW |
| 464 |
| XORW |
| 465 |
| SHLW |
| 466 |
| SARW |
| 467 |
| SHRW |
| 468 |
| IMULW |
| 469 |
| ADDB |
| 470 |
| SUBB |
| 471 |
| ANDB |
| 472 |
| ORB |
| 473 |
| XORB |
| 474 |
| SHLB |
| 475 |
| SARB |
| 476 |
| SHRB |
| 477 |
| IMULB |
| 478 |
| BTSW |
| 479 |
| BTCW |
| 480 |
| BTRW |
| 481 |
| BTSL |
| 482 |
| BTCL |
| 483 |
| BTRL |
| 484 |
| ROLW |
| 485 |
| RORW |
| 486 |
| ROLL |
| 487 |
| RORL |
| 488 |
| XCHGB |
| 489 |
| XCHGW |
| 490 |
| XCHGL |
| 491 |
| LOCK_ADCW |
| 492 |
| LOCK_ADCL |
| 493 |
| LOCK_ADDW |
| 494 |
| LOCK_ADDL |
| 495 |
| LOCK_ANDW |
| 496 |
| LOCK_ANDL |
| 497 |
| LOCK_BTSW |
| 498 |
| LOCK_BTSL |
| 499 |
| LOCK_BTRW |
| 500 |
| LOCK_BTRL |
| 501 |
| LOCK_BTCW |
| 502 |
| LOCK_BTCL |
| 503 |
| LOCK_ORW |
| 504 |
| LOCK_ORL |
| 505 |
| LOCK_SBBW |
| 506 |
| LOCK_SBBL |
| 507 |
| LOCK_SUBW |
| 508 |
| LOCK_SUBL |
| 509 |
| LOCK_XORW |
| 510 |
| LOCK_XORL |
| 511 |
| LOCK_XADDB |
| 512 |
| LOCK_XADDW |
| 513 |
| LOCK_XADDL |
| 514 |
datatype multDivOp = |
| 515 |
IMULL1 |
| 516 |
| MULL1 |
| 517 |
| IDIVL1 |
| 518 |
| DIVL1 |
| 519 |
datatype unaryOp = |
| 520 |
DECL |
| 521 |
| INCL |
| 522 |
| NEGL |
| 523 |
| NOTL |
| 524 |
| DECW |
| 525 |
| INCW |
| 526 |
| NEGW |
| 527 |
| NOTW |
| 528 |
| DECB |
| 529 |
| INCB |
| 530 |
| NEGB |
| 531 |
| NOTB |
| 532 |
| LOCK_DECL |
| 533 |
| LOCK_INCL |
| 534 |
| LOCK_NEGL |
| 535 |
| LOCK_NOTL |
| 536 |
datatype shiftOp = |
| 537 |
SHLDL |
| 538 |
| SHRDL |
| 539 |
datatype bitOp = |
| 540 |
BTW |
| 541 |
| BTL |
| 542 |
| LOCK_BTW |
| 543 |
| LOCK_BTL |
| 544 |
datatype move = |
| 545 |
MOVL |
| 546 |
| MOVB |
| 547 |
| MOVW |
| 548 |
| MOVSWL |
| 549 |
| MOVZWL |
| 550 |
| MOVSBL |
| 551 |
| MOVZBL |
| 552 |
datatype fbinOp = |
| 553 |
FADDP |
| 554 |
| FADDS |
| 555 |
| FMULP |
| 556 |
| FMULS |
| 557 |
| FCOMS |
| 558 |
| FCOMPS |
| 559 |
| FSUBP |
| 560 |
| FSUBS |
| 561 |
| FSUBRP |
| 562 |
| FSUBRS |
| 563 |
| FDIVP |
| 564 |
| FDIVS |
| 565 |
| FDIVRP |
| 566 |
| FDIVRS |
| 567 |
| FADDL |
| 568 |
| FMULL |
| 569 |
| FCOML |
| 570 |
| FCOMPL |
| 571 |
| FSUBL |
| 572 |
| FSUBRL |
| 573 |
| FDIVL |
| 574 |
| FDIVRL |
| 575 |
datatype fibinOp = |
| 576 |
FIADDS |
| 577 |
| FIMULS |
| 578 |
| FICOMS |
| 579 |
| FICOMPS |
| 580 |
| FISUBS |
| 581 |
| FISUBRS |
| 582 |
| FIDIVS |
| 583 |
| FIDIVRS |
| 584 |
| FIADDL |
| 585 |
| FIMULL |
| 586 |
| FICOML |
| 587 |
| FICOMPL |
| 588 |
| FISUBL |
| 589 |
| FISUBRL |
| 590 |
| FIDIVL |
| 591 |
| FIDIVRL |
| 592 |
datatype funOp = |
| 593 |
FCHS |
| 594 |
| FABS |
| 595 |
| FTST |
| 596 |
| FXAM |
| 597 |
| FPTAN |
| 598 |
| FPATAN |
| 599 |
| FXTRACT |
| 600 |
| FPREM1 |
| 601 |
| FDECSTP |
| 602 |
| FINCSTP |
| 603 |
| FPREM |
| 604 |
| FYL2XP1 |
| 605 |
| FSQRT |
| 606 |
| FSINCOS |
| 607 |
| FRNDINT |
| 608 |
| FSCALE |
| 609 |
| FSIN |
| 610 |
| FCOS |
| 611 |
datatype fenvOp = |
| 612 |
FLDENV |
| 613 |
| FNLDENV |
| 614 |
| FSTENV |
| 615 |
| FNSTENV |
| 616 |
datatype fsize = |
| 617 |
FP32 |
| 618 |
| FP64 |
| 619 |
| FP80 |
| 620 |
datatype isize = |
| 621 |
I8 |
| 622 |
| I16 |
| 623 |
| I32 |
| 624 |
| I64 |
| 625 |
datatype instr = |
| 626 |
NOP |
| 627 |
| JMP of operand * Label.label list |
| 628 |
| JCC of {cond:cond, opnd:operand} |
| 629 |
| CALL of {opnd:operand, defs:C.cellset, uses:C.cellset, return:C.cellset, |
| 630 |
cutsTo:Label.label list, mem:Region.region, pops:Int32.int} |
| 631 |
| ENTER of {src1:operand, src2:operand} |
| 632 |
| LEAVE |
| 633 |
| RET of operand option |
| 634 |
| MOVE of {mvOp:move, src:operand, dst:operand} |
| 635 |
| LEA of {r32:CellsBasis.cell, addr:operand} |
| 636 |
| CMPL of {lsrc:operand, rsrc:operand} |
| 637 |
| CMPW of {lsrc:operand, rsrc:operand} |
| 638 |
| CMPB of {lsrc:operand, rsrc:operand} |
| 639 |
| TESTL of {lsrc:operand, rsrc:operand} |
| 640 |
| TESTW of {lsrc:operand, rsrc:operand} |
| 641 |
| TESTB of {lsrc:operand, rsrc:operand} |
| 642 |
| BITOP of {bitOp:bitOp, lsrc:operand, rsrc:operand} |
| 643 |
| BINARY of {binOp:binaryOp, src:operand, dst:operand} |
| 644 |
| SHIFT of {shiftOp:shiftOp, src:operand, dst:operand, count:operand} |
| 645 |
| CMPXCHG of {lock:bool, sz:isize, src:operand, dst:operand} |
| 646 |
| MULTDIV of {multDivOp:multDivOp, src:operand} |
| 647 |
| MUL3 of {dst:CellsBasis.cell, src2:Int32.int, src1:operand} |
| 648 |
| UNARY of {unOp:unaryOp, opnd:operand} |
| 649 |
| SET of {cond:cond, opnd:operand} |
| 650 |
| CMOV of {cond:cond, src:operand, dst:CellsBasis.cell} |
| 651 |
| PUSHL of operand |
| 652 |
| PUSHW of operand |
| 653 |
| PUSHB of operand |
| 654 |
| PUSHFD |
| 655 |
| POPFD |
| 656 |
| POP of operand |
| 657 |
| CDQ |
| 658 |
| INTO |
| 659 |
| FBINARY of {binOp:fbinOp, src:operand, dst:operand} |
| 660 |
| FIBINARY of {binOp:fibinOp, src:operand} |
| 661 |
| FUNARY of funOp |
| 662 |
| FUCOM of operand |
| 663 |
| FUCOMP of operand |
| 664 |
| FUCOMPP |
| 665 |
| FCOMPP |
| 666 |
| FCOMI of operand |
| 667 |
| FCOMIP of operand |
| 668 |
| FUCOMI of operand |
| 669 |
| FUCOMIP of operand |
| 670 |
| FXCH of {opnd:CellsBasis.cell} |
| 671 |
| FSTPL of operand |
| 672 |
| FSTPS of operand |
| 673 |
| FSTPT of operand |
| 674 |
| FSTL of operand |
| 675 |
| FSTS of operand |
| 676 |
| FLD1 |
| 677 |
| FLDL2E |
| 678 |
| FLDL2T |
| 679 |
| FLDLG2 |
| 680 |
| FLDLN2 |
| 681 |
| FLDPI |
| 682 |
| FLDZ |
| 683 |
| FLDL of operand |
| 684 |
| FLDS of operand |
| 685 |
| FLDT of operand |
| 686 |
| FILD of operand |
| 687 |
| FILDL of operand |
| 688 |
| FILDLL of operand |
| 689 |
| FNSTSW |
| 690 |
| FENV of {fenvOp:fenvOp, opnd:operand} |
| 691 |
| FMOVE of {fsize:fsize, src:operand, dst:operand} |
| 692 |
| FILOAD of {isize:isize, ea:operand, dst:operand} |
| 693 |
| FBINOP of {fsize:fsize, binOp:fbinOp, lsrc:operand, rsrc:operand, dst:operand} |
| 694 |
| FIBINOP of {isize:isize, binOp:fibinOp, lsrc:operand, rsrc:operand, dst:operand} |
| 695 |
| FUNOP of {fsize:fsize, unOp:funOp, src:operand, dst:operand} |
| 696 |
| FCMP of {i:bool, fsize:fsize, lsrc:operand, rsrc:operand} |
| 697 |
| SAHF |
| 698 |
| LFENCE |
| 699 |
| MFENCE |
| 700 |
| SFENCE |
| 701 |
| PAUSE |
| 702 |
| LAHF |
| 703 |
| SOURCE of {} |
| 704 |
| SINK of {} |
| 705 |
| PHI of {} |
| 706 |
and instruction = |
| 707 |
LIVE of {regs: C.cellset, spilled: C.cellset} |
| 708 |
| KILL of {regs: C.cellset, spilled: C.cellset} |
| 709 |
| COPY of {k: CellsBasis.cellkind, |
| 710 |
sz: int, (* in bits *) |
| 711 |
dst: CellsBasis.cell list, |
| 712 |
src: CellsBasis.cell list, |
| 713 |
tmp: ea option (* NONE if |dst| = {src| = 1 *)} |
| 714 |
| ANNOTATION of {i:instruction, a:Annotations.annotation} |
| 715 |
| INSTR of instr |
| 716 |
val nop = INSTR NOP |
| 717 |
and jmp = INSTR o JMP |
| 718 |
and jcc = INSTR o JCC |
| 719 |
and call = INSTR o CALL |
| 720 |
and enter = INSTR o ENTER |
| 721 |
and leave = INSTR LEAVE |
| 722 |
and ret = INSTR o RET |
| 723 |
and move = INSTR o MOVE |
| 724 |
and lea = INSTR o LEA |
| 725 |
and cmpl = INSTR o CMPL |
| 726 |
and cmpw = INSTR o CMPW |
| 727 |
and cmpb = INSTR o CMPB |
| 728 |
and testl = INSTR o TESTL |
| 729 |
and testw = INSTR o TESTW |
| 730 |
and testb = INSTR o TESTB |
| 731 |
and bitop = INSTR o BITOP |
| 732 |
and binary = INSTR o BINARY |
| 733 |
and shift = INSTR o SHIFT |
| 734 |
and cmpxchg = INSTR o CMPXCHG |
| 735 |
and multdiv = INSTR o MULTDIV |
| 736 |
and mul3 = INSTR o MUL3 |
| 737 |
and unary = INSTR o UNARY |
| 738 |
and set = INSTR o SET |
| 739 |
and cmov = INSTR o CMOV |
| 740 |
and pushl = INSTR o PUSHL |
| 741 |
and pushw = INSTR o PUSHW |
| 742 |
and pushb = INSTR o PUSHB |
| 743 |
and pushfd = INSTR PUSHFD |
| 744 |
and popfd = INSTR POPFD |
| 745 |
and pop = INSTR o POP |
| 746 |
and cdq = INSTR CDQ |
| 747 |
and into = INSTR INTO |
| 748 |
and fbinary = INSTR o FBINARY |
| 749 |
and fibinary = INSTR o FIBINARY |
| 750 |
and funary = INSTR o FUNARY |
| 751 |
and fucom = INSTR o FUCOM |
| 752 |
and fucomp = INSTR o FUCOMP |
| 753 |
and fucompp = INSTR FUCOMPP |
| 754 |
and fcompp = INSTR FCOMPP |
| 755 |
and fcomi = INSTR o FCOMI |
| 756 |
and fcomip = INSTR o FCOMIP |
| 757 |
and fucomi = INSTR o FUCOMI |
| 758 |
and fucomip = INSTR o FUCOMIP |
| 759 |
and fxch = INSTR o FXCH |
| 760 |
and fstpl = INSTR o FSTPL |
| 761 |
and fstps = INSTR o FSTPS |
| 762 |
and fstpt = INSTR o FSTPT |
| 763 |
and fstl = INSTR o FSTL |
| 764 |
and fsts = INSTR o FSTS |
| 765 |
and fld1 = INSTR FLD1 |
| 766 |
and fldl2e = INSTR FLDL2E |
| 767 |
and fldl2t = INSTR FLDL2T |
| 768 |
and fldlg2 = INSTR FLDLG2 |
| 769 |
and fldln2 = INSTR FLDLN2 |
| 770 |
and fldpi = INSTR FLDPI |
| 771 |
and fldz = INSTR FLDZ |
| 772 |
and fldl = INSTR o FLDL |
| 773 |
and flds = INSTR o FLDS |
| 774 |
and fldt = INSTR o FLDT |
| 775 |
and fild = INSTR o FILD |
| 776 |
and fildl = INSTR o FILDL |
| 777 |
and fildll = INSTR o FILDLL |
| 778 |
and fnstsw = INSTR FNSTSW |
| 779 |
and fenv = INSTR o FENV |
| 780 |
and fmove = INSTR o FMOVE |
| 781 |
and fiload = INSTR o FILOAD |
| 782 |
and fbinop = INSTR o FBINOP |
| 783 |
and fibinop = INSTR o FIBINOP |
| 784 |
and funop = INSTR o FUNOP |
| 785 |
and fcmp = INSTR o FCMP |
| 786 |
and sahf = INSTR SAHF |
| 787 |
and lfence = INSTR LFENCE |
| 788 |
and mfence = INSTR MFENCE |
| 789 |
and sfence = INSTR SFENCE |
| 790 |
and pause = INSTR PAUSE |
| 791 |
and lahf = INSTR LAHF |
| 792 |
and source = INSTR o SOURCE |
| 793 |
and sink = INSTR o SINK |
| 794 |
and phi = INSTR o PHI |
| 795 |
end |
| 796 |
|