| 1 |
(* alphaPseudoInstr.sig --- alpha pseudo instructions *) |
| 2 |
|
| 3 |
signature ALPHA_PSEUDO_INSTR = |
| 4 |
sig |
| 5 |
structure I : ALPHAINSTR |
| 6 |
structure T : MLTREE |
| 7 |
where type Basis.cond = I.T.Basis.cond |
| 8 |
and type Basis.div_rounding_mode = I.T.Basis.div_rounding_mode |
| 9 |
and type Basis.ext = I.T.Basis.ext |
| 10 |
and type Basis.fcond = I.T.Basis.fcond |
| 11 |
and type Basis.rounding_mode = I.T.Basis.rounding_mode |
| 12 |
and type Constant.const = I.T.Constant.const |
| 13 |
and type ('s,'r,'f,'c) Extension.ccx = ('s,'r,'f,'c) I.T.Extension.ccx |
| 14 |
and type ('s,'r,'f,'c) Extension.fx = ('s,'r,'f,'c) I.T.Extension.fx |
| 15 |
and type ('s,'r,'f,'c) Extension.rx = ('s,'r,'f,'c) I.T.Extension.rx |
| 16 |
and type ('s,'r,'f,'c) Extension.sx = ('s,'r,'f,'c) I.T.Extension.sx |
| 17 |
and type I.div_rounding_mode = I.T.I.div_rounding_mode |
| 18 |
and type Region.region = I.T.Region.region |
| 19 |
and type ccexp = I.T.ccexp |
| 20 |
and type fexp = I.T.fexp |
| 21 |
(* and type labexp = I.T.labexp *) |
| 22 |
and type mlrisc = I.T.mlrisc |
| 23 |
and type oper = I.T.oper |
| 24 |
and type rep = I.T.rep |
| 25 |
and type rexp = I.T.rexp |
| 26 |
and type stm = I.T.stm |
| 27 |
structure C : ALPHACELLS |
| 28 |
(* sharing C = I.C *) |
| 29 |
(* sharing I.T = T *) |
| 30 |
structure CB: CELLS_BASIS (* = CellsBasis *) |
| 31 |
where type CellSet.cellset = CellsBasis.CellSet.cellset |
| 32 |
and type 'a ColorTable.hash_table = 'a CellsBasis.ColorTable.hash_table |
| 33 |
and type 'a HashTable.hash_table = 'a CellsBasis.HashTable.hash_table |
| 34 |
and type SortedCells.sorted_cells = CellsBasis.SortedCells.sorted_cells |
| 35 |
and type cell = CellsBasis.cell |
| 36 |
and type cellColor = CellsBasis.cellColor |
| 37 |
and type cellkind = CellsBasis.cellkind |
| 38 |
and type cellkindDesc = CellsBasis.cellkindDesc |
| 39 |
and type cellkindInfo = CellsBasis.cellkindInfo |
| 40 |
|
| 41 |
type reduceOpnd = I.operand -> CB.cell |
| 42 |
|
| 43 |
val divlv : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 44 |
val divl : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 45 |
val divlu : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 46 |
val remlv : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 47 |
val reml : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 48 |
val remlu : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 49 |
val divqv : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 50 |
val divq : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 51 |
val divqu : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 52 |
val remqv : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 53 |
val remq : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 54 |
val remqu : {ra:CB.cell, rb:I.operand, rc:CB.cell} * reduceOpnd -> I.instruction list |
| 55 |
|
| 56 |
val cvtls : {opnd:I.operand, fd:CB.cell} * reduceOpnd -> I.instruction list |
| 57 |
val cvtlt : {opnd:I.operand, fd:CB.cell} * reduceOpnd -> I.instruction list |
| 58 |
val cvtqs : {opnd:I.operand, fd:CB.cell} * reduceOpnd -> I.instruction list |
| 59 |
val cvtqt : {opnd:I.operand, fd:CB.cell} * reduceOpnd -> I.instruction list |
| 60 |
|
| 61 |
val cvtsl : {mode:T.rounding_mode, fs:CB.cell, rd:CB.cell} -> I.instruction list |
| 62 |
val cvttl : {mode:T.rounding_mode, fs:CB.cell, rd:CB.cell} -> I.instruction list |
| 63 |
val cvtsq : {mode:T.rounding_mode, fs:CB.cell, rd:CB.cell} -> I.instruction list |
| 64 |
val cvttq : {mode:T.rounding_mode, fs:CB.cell, rd:CB.cell} -> I.instruction list |
| 65 |
end |
| 66 |
|