SCM Repository
[smlnj] / sml / trunk / src / MLRISC / sparc / instructions / sparcExpandCopies.sml |
View of /sml/trunk/src/MLRISC/sparc/instructions/sparcExpandCopies.sml
Parent Directory
|
Revision Log
Revision 796 -
(download)
(annotate)
Tue Mar 6 00:04:33 2001 UTC (20 years ago) by leunga
File size: 561 byte(s)
Tue Mar 6 00:04:33 2001 UTC (20 years ago) by leunga
File size: 561 byte(s)
Support for alternative control-flow, exception handlers added.
(* * Expand copies * * -- Allen *) functor SparcExpandCopies(SparcShuffle : SPARCSHUFFLE) : EXPAND_COPIES = struct structure I = SparcShuffle.I fun expandCopies(I.COPY{dst, src, tmp, ...}) = SparcShuffle.shuffle{tmp=tmp, dst=dst, src=src} | expandCopies(I.FCOPY{dst, src, tmp, ...}) = SparcShuffle.shufflefp{tmp=tmp, dst=dst, src=src} | expandCopies(I.ANNOTATION{i,a}) = (case expandCopies i of [] => [] | i::is => I.ANNOTATION{i=i,a=a}::is ) | expandCopies i = [i] end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |