| 1 |
\documentclass{article} |
| 2 |
\usepackage{graphicx} |
| 3 |
\usepackage{mltex} |
| 4 |
\usepackage{wrapfig} |
| 5 |
\usepackage{float} |
| 6 |
\usepackage{alltt} |
| 7 |
%\usepackage{floatfig} |
| 8 |
\usepackage{fancyheadings} |
| 9 |
%\usepackage{draftcopy} |
| 10 |
%\usepackage{bookman} |
| 11 |
\usepackage{utopia} |
| 12 |
%\usepackage{times} |
| 13 |
%\usepackage{ncntrsbk} |
| 14 |
%\usepackage{palatino} |
| 15 |
|
| 16 |
\setlength{\textwidth}{6.5in} |
| 17 |
\setlength{\evensidemargin}{0in} |
| 18 |
\setlength{\oddsidemargin}{0in} |
| 19 |
\setlength{\textheight}{8in} |
| 20 |
\setlength{\topmargin}{-0.5in} |
| 21 |
|
| 22 |
\pagestyle{fancyplain} |
| 23 |
%\addtolength{\headwidth}{\marginparsep} |
| 24 |
%\addtolength{\headwidth}{\marginparwidth} |
| 25 |
|
| 26 |
\newcommand{\edge}[1]{\rightarrow_{#1}} |
| 27 |
\newcommand{\union}{\cup} |
| 28 |
\newcommand{\Union}{\bigcup} |
| 29 |
\newcommand{\overrides}{overrides} |
| 30 |
\newcommand{\defas}{\stackrel{\rm as}{=}} |
| 31 |
|
| 32 |
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} |
| 33 |
\renewcommand{\subsectionmark}[1]{\markright{\thesubsection\ #1}} |
| 34 |
\newcommand{\Term}[1]{\mbox{\it #1}} |
| 35 |
\lhead[\fancyplain{}{\bfseries\thepage}]% |
| 36 |
{\fancyplain{}{\bfseries\rightmark}} |
| 37 |
\rhead[\fancyplain{}{\bfseries\leftmark}]% |
| 38 |
{\fancyplain{}{\bfseries\thepage}} |
| 39 |
\cfoot{} |
| 40 |
|
| 41 |
\newenvironment{Figure}{\begin{figure}[htbp]}{\end{figure}} |
| 42 |
|
| 43 |
\begin{document} |
| 44 |
\title{\bf \LARGE MLRISC \\ \large A framework for retargetable and optimizing compiler back ends} |
| 45 |
\author{\begin{tabular}{c} |
| 46 |
Lal George \\ \\ |
| 47 |
Bell Laboratories \\ |
| 48 |
600--700 Mountain Ave. \\ |
| 49 |
Murray Hill, NJ 07974--0636. \\ |
| 50 |
{\tt [email protected]} |
| 51 |
\end{tabular} |
| 52 |
\and |
| 53 |
\begin{tabular}{c} |
| 54 |
Allen Leung \\ \\ |
| 55 |
New York University \\ |
| 56 |
719 Broadway, Rm. 708 \\ |
| 57 |
New York, NY 10003. \\ |
| 58 |
{\tt [email protected]} |
| 59 |
\end{tabular} |
| 60 |
} |
| 61 |
|
| 62 |
\date{\today} |
| 63 |
\bibliographystyle{alpha} |
| 64 |
|
| 65 |
\maketitle |
| 66 |
|
| 67 |
\begin{abstract} |
| 68 |
Writing native code generators for modern processors is a significant |
| 69 |
investment. Unfortunately it is difficult |
| 70 |
to reuse this investment for other architectures, and even more |
| 71 |
difficult to reuse for other source language compilers. MLRISC is |
| 72 |
a customizable optimizing back-end written in |
| 73 |
\externhref{http://cm.bell-labs.com/cm/cs/what/smlnj/sml.html}{Standard ML} |
| 74 |
and has been successfully retargeted to multiple architectures. |
| 75 |
MLRISC deals elegantly with the special requirements imposed by the |
| 76 |
execution model of different high-level, typed languages, by allowing |
| 77 |
many components of the system to be customized to fit the source language |
| 78 |
semantics and runtime system requirements. |
| 79 |
\end{abstract} |
| 80 |
\tableofcontents |
| 81 |
\newpage |
| 82 |
|
| 83 |
\majorsection{MLRISC} |
| 84 |
\include{INTRO} |
| 85 |
\include{contributors} |
| 86 |
\include{requirements} |
| 87 |
\include{availability} |
| 88 |
\majorsection{Overview} |
| 89 |
\include{problem} |
| 90 |
\include{contributions} |
| 91 |
\include{mlrisc-compiler} |
| 92 |
\include{mlrisc-ir-rep} |
| 93 |
\include{mlrisc-gen} |
| 94 |
\include{backend-opt} |
| 95 |
\include{mlrisc-ra} |
| 96 |
\include{mlrisc-md} |
| 97 |
\include{gc} |
| 98 |
\include{sys-integration} |
| 99 |
\include{optimizations} |
| 100 |
\include{mlrisc-graphics} |
| 101 |
\include{line-counts} |
| 102 |
\include{systems} |
| 103 |
\include{future-work} |
| 104 |
|
| 105 |
\majorsection{System} |
| 106 |
\include{mlrisc-arch} |
| 107 |
\include{mltree} |
| 108 |
\include{mltree-ext} |
| 109 |
\include{mltree-util} |
| 110 |
\include{instrsel} |
| 111 |
\include{asm} |
| 112 |
\include{mc} |
| 113 |
\include{delayslots} |
| 114 |
\include{span-dep} |
| 115 |
%\include{md} |
| 116 |
|
| 117 |
\include{graphs} |
| 118 |
\include{graphics} |
| 119 |
\include{compiler-graphs} |
| 120 |
\include{mlrisc-ir} |
| 121 |
\include{SSA} |
| 122 |
\include{ILP} |
| 123 |
\include{VLIW} |
| 124 |
\include{ra} |
| 125 |
|
| 126 |
\majorsection{Back Ends} |
| 127 |
\include{alpha} |
| 128 |
\include{hppa} |
| 129 |
\include{sparc} |
| 130 |
\include{x86} |
| 131 |
\include{ppc} |
| 132 |
\include{mips} |
| 133 |
\include{C6} |
| 134 |
|
| 135 |
\majorsection{Basic Types} |
| 136 |
\include{annotations} |
| 137 |
\include{cells} |
| 138 |
\include{cluster} |
| 139 |
\include{constants} |
| 140 |
\include{pseudo-ops} |
| 141 |
\include{instructions} |
| 142 |
\include{streams} |
| 143 |
\include{labelexp} |
| 144 |
\include{labels} |
| 145 |
\include{regions} |
| 146 |
\include{regmap} |
| 147 |
|
| 148 |
\bibliography{mlrisc} |
| 149 |
|
| 150 |
\end{document} |