source: docs/PACT2011/main.tex @ 1068

Last change on this file since 1068 was 1039, checked in by lindanl, 9 years ago

macros for core2 corei3 sandybridge

File size: 5.9 KB
Line 
1\input{preamble-final-acm}
2%\input{preamble-tr}
3%\input{preamble-submit}
4%\usepackage{trbibtex}   % use bib-style bibliographic database
5\usepackage{multicol}
6\usepackage{verbatim}   % for \comment environment
7\usepackage{cite}       % sort references
8\usepackage{times}
9\usepackage{setspace}
10\usepackage{subfigure}
11\usepackage{wrapfig}
12\usepackage{amssymb}    % for \varnothing (empty set) symbol
13\def\lb{\linebreak[1]}
14\def\CI{Core-i3}
15\def\SB{SandyBridge}
16\def\CO{Core2}
17\DeclareRobustCommand{\=}{\_\linebreak[1]}
18\pagenumbering{arabic}
19\newcommand{\notekai}[1]{{\Large Kai:} {\bf #1}}
20\newcommand{\notesandhya}[1]{{\Large Sandhya:} {\bf #1}}
21
22%\renewcommand{\floatpagefraction}{.9}   % instead of .5
23%\renewcommand{\dblfloatpagefraction}{.8}
24%\renewcommand{\topfraction}{.95}
25%\renewcommand{\dbltopfraction}{.9}
26%\renewcommand{\textfraction}{.1}        % instead of .2
27%\renewcommand{\bottomfraction}{.5}      % instead of .3
28\setcounter{topnumber}{3}       % allow lots of floats at top of page
29\addtolength{\abovecaptionskip}{-10pt} %reduce space above captions
30
31% reduce space before \paragraph:
32\makeatletter
33\renewcommand\paragraph{%
34  \@startsection{paragraph}{4}{\z@}%
35    {\medskipamount}%
36    {-0.5em}%
37    {\normalsize\bfseries\indent}}
38\makeatother
39
40\makeatletter
41\renewcommand\section{\@startsection
42{section}{1}{0pt}%
43{0.2\baselineskip}%
44{0.1\baselineskip}%
45{\normalfont\Large\bfseries\raggedright}%
46}
47\makeatother
48
49\makeatletter
50\renewcommand\subsection{\@startsection
51{subsection}{2}{0pt}%
52{0.1\baselineskip}%
53{0.01\baselineskip}%
54{\normalfont\large\bfseries\raggedright}%
55}
56\makeatother
57
58%% Environment changes for multiple col package. Figure and Table
59%% appear with only these commands
60\makeatletter
61\newenvironment{tablehere}
62{\def\@captype{table}}
63{}
64
65\newenvironment{figurehere}
66{\def\@captype{figure}}
67{}
68\makeatother
69
70%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
71% mls: \code{...} command.
72% Like \verb|...| but with braces, and not so fragile.
73%
74% Give me back the <, >, and _ characters in chosen modes
75% unfortunately, this hack does not work when the <, >, or _ is embedded
76% in another command.  In such circumstances use $<$, $>$, and \_
77%
78\makeatletter
79\def\real@ltgtus{%
80    \catcode`<=\active
81    \catcode`>=\active
82    \catcode`\_=\active
83}
84{\real@ltgtus
85    \gdef<{\futurelet\@let@token\less@than}%
86    \gdef>{\futurelet\@let@token\greater@than}%
87    \gdef_{\underscore}%
88}
89% modify \textunderscore (standard LaTeX macro) to print as the _
90% character in \tt font; as an appropriate rule in other fonts.
91\renewcommand{\textunderscore}{\ifdim\fontdimen4\font=0pt\string_\else
92    \leavevmode\kern.06em\vbox{\hrule width0.3em}\fi}
93% \underscore is subscript in math mode, textunderscore otherwise
94\DeclareRobustCommand{\underscore}{\ifmmode\sb\else\textunderscore\fi}
95% similarly, create backslash, lessthan, and greaterthan macros that use
96% the proper font:
97\def\bs{\ifdim\fontdimen4\font=0pt\char92\relax\else
98    \leavevmode$\backslash$\fi}
99\newcommand{\less@than}{\ifdim\fontdimen4\font=0pt\string<\else
100    \leavevmode\mathhexbox13C\fi}
101\newcommand{\greater@than}{\ifdim\fontdimen4\font=0pt\string>\else
102    \leavevmode\mathhexbox13E\fi}
103
104% \code prints its argument in fixed-width font.
105% There are no special characters in a code command, other than braces
106% and backslash.
107% It's similar to \verb, except that it's delimited normally (with
108% braces).
109\def\verythinspace{\kern .05em }
110\DeclareRobustCommand{\code}{\begingroup
111    \frenchspacing
112    \real@ltgtus
113    \@makeother\$\@makeother\&\@makeother\#%
114    \@makeother\^\@makeother\%\@makeother\~%
115    \@code}
116\let\codefont\tt
117\def\@code#1{\strut\verythinspace{\codefont
118    #1}\verythinspace\strut\endgroup}
119% For some reason I don't understand, escaped curly braces don't work
120% right in \code commands.  Use the following instead:
121\def\ttlb{{\tt\char123}}
122\def\ttrb{{\tt\char125}}
123\def\ttcaret{{\tt\char94}}
124\def\tttilde{{\tt\char126}}
125\makeatother
126%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
127% ACM title header format
128\title{\vspace{-30pt}Energy Efficiency and Scalability of XML Parsing Using SIMD%
129% \thanks{%
130%   This work was supported in part by NSF grants
131%             CCR-0204344,        % MLS synch 2
132%             CNS-0411127,        % SD/MLS energy
133%             CNS-0615139,        % MLS/SD synch 3
134%             and
135%             CNS-0509270;        % CD et al phase detection
136%         an IBM Faculty Partnership Award;
137%         equipment support from Sun Microsystems Laboratories;
138%         and financial support from Intel and Microsoft.
139%     }
140    \vspace*{-2.0\baselineskip}
141}
142
143%\title{\vspace*{-.5\baselineskip}%
144%    \textbf{Flexible Decoupled Transactional Memory Support}%
145%    \thanks{
146%       This work was supported in part by NSF grants
147%           CCR-0204344,        % MLS synch 2
148%           CNS-0411127,        % SD/MLS energy
149%           CNS-0615139,        % MSL/SD synch 3
150%           and
151%           CNS-0509270;        % CD et al phase detection
152%       an IBM Faculty Partnership Award;
153%       financial and equipment support from Sun Microsystems Laboratories;
154%       and financial support from Intel and Microsoft.
155%   }
156%}
157%\author{  \\
158%{Department of Computer Science, University of Rochester} \\
159%{$\{$ashriram,sandhya,kshen$\}$@cs.rochester.edu}
160%}
161\date{}
162\begin{document}
163\toappear{}
164\maketitle
165\vspace{20pt}
166\begin{abstract}
167%\centerline{\large\textbf{Abstract}}
168\begin{singlespace}
169%\bigskip
170%\begin{quotation}
171\emph{\input{00-abstract.tex}}
172%\end{quotation}
173\end{singlespace}
174\end{abstract}
175
176\input{01-intro.tex}
177\input{02-background.tex}
178\input{03-research.tex}
179\input{04-methodology.tex}
180\input{05-corei3.tex}
181\input{06-scalability.tex}
182\input{07-avx.tex}
183\input{08-conclusions.tex}
184% tighten spacing:
185\let\oldthebibliography\thebibliography
186\def\thebibliography#1{\oldthebibliography{#1}\parsep-5pt\itemsep0pt}
187% \vspace{-\baselineskip}
188{
189\setstretch{1}
190 \footnotesize
191% \scriptsize
192\bibliographystyle{abbrv}
193 \bibliography{reference}
194}
195\end{document}
Note: See TracBrowser for help on using the repository browser.