Debian Codegraph @

lib/mlrisc-lib/MLRISC/backpatch/sdi-jumps.sig

raw
1 (* sdi-jumps.sig --- specification of target information to resolve jumps.
2 *
3 * COPYRIGHT (c) 1996 Bell Laboratories.
4 *
5 *)
6
7 signature SDI_JUMPS = sig
8 structure I : INSTRUCTIONS
9 structure C : CELLS
10 (* sharing I.C = C *)
11
12 val branchDelayedArch : bool
13
14 val isSdi : I.instruction -> bool
15 val minSize : I.instruction -> int
16 val maxSize : I.instruction -> int
17 (* minSize and maxSize are not restricted to SDIs but
18 * instructions that may require NOPs after them, etc.
19 *)
20
21 val sdiSize : I.instruction * (Label.label -> int) * int -> int
22 (* sdiSize(instr, regmaps, labMap, loc) -- return the size of
23 * instr at location loc, assuming an assignment of labels
24 * given by labMap.
25 *)
26
27 val expand : I.instruction * int * int -> I.instruction list
28 (* expand(instr,size,loc) - expands sdi instruction instr,
29 * into size bytes at postion loc.
30 *)
31
32 end
33
34