Changes in / [45f4147:96df7c9c]
- Files:
-
- 6 deleted
- 7 edited
-
doc/papers/concurrency/Paper.tex (modified) (3 diffs)
-
doc/theses/andrew_beach_MMath/cfalab.sty (deleted)
-
doc/theses/andrew_beach_MMath/thesis.tex (modified) (5 diffs)
-
doc/theses/andrew_beach_MMath/unwinding.tex (deleted)
-
doc/theses/andrew_beach_MMath/uw-ethesis.cls (modified) (1 diff)
-
libcfa/src/Makefile.am (modified) (2 diffs)
-
libcfa/src/Makefile.in (modified) (3 diffs)
-
libcfa/src/bitmanip.hfa (deleted)
-
libcfa/src/exception.c (modified) (2 diffs)
-
libcfa/src/interpose.cfa (modified) (2 diffs)
-
tests/.expect/bitmanip.x64.txt (deleted)
-
tests/.expect/bitmanip.x86.txt (deleted)
-
tests/bitmanip.cfa (deleted)
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/concurrency/Paper.tex
r45f4147 r96df7c9c 248 248 } 249 249 250 \new savebox{\myboxA}251 \new savebox{\myboxB}252 \new savebox{\myboxC}253 \new savebox{\myboxD}250 \newbox\myboxA 251 \newbox\myboxB 252 \newbox\myboxC 253 \newbox\myboxD 254 254 255 255 \title{\texorpdfstring{Advanced Control-flow and Concurrency in \protect\CFA}{Advanced Control-flow in Cforall}} … … 2967 2967 \lstset{language=CFA,moredelim=**[is][\color{red}]{@}{@},deletedelim=**[is][]{`}{`}} 2968 2968 \begin{cfa}[aboveskip=0pt,belowskip=0pt] 2969 @coroutine@ C {} ;2970 void main( C & ) { for() { @suspend;@ } }2969 @coroutine@ C {} c; 2970 void main( C & ) { while () { @suspend;@ } } 2971 2971 int main() { // coroutine test 2972 C c;2973 2972 BENCH( for ( N ) { @resume( c );@ } ) 2974 2973 sout | result; … … 2990 2989 \multicolumn{1}{@{}c}{} & \multicolumn{1}{c}{Median} &\multicolumn{1}{c}{Average} & \multicolumn{1}{c@{}}{Std Dev} \\ 2991 2990 C function & 1.8 & 1.8 & 0.0 \\ 2992 \CFA generator & 1.8 & 2.0 & 0.3\\2991 \CFA generator & 1.8 & 1.8 & 0.1 \\ 2993 2992 \CFA coroutine & 32.5 & 32.9 & 0.8 \\ 2994 2993 \CFA thread & 93.8 & 93.6 & 2.2 \\ -
doc/theses/andrew_beach_MMath/thesis.tex
r45f4147 r96df7c9c 1 1 % Main tex file for thesis document. 2 2 \documentclass[digital]{uw-ethesis} 3 \usepackage{comment}4 \usepackage{fullpage}5 \setlength{\textheight}{8.75in}6 \renewcommand\labelitemi{\footnotesize$\bullet$} % shrink bullet for level 1 itemize7 \usepackage{lmodern} % bold typewriter font8 9 \usepackage{listings} % format program code10 % Default underscore is too low and wide. Cannot use lstlisting "literate" as replacing underscore11 % removes it as a variable-name character so keywords in variables are highlighted. MUST APPEAR12 % AFTER HYPERREF.13 %\DeclareTextCommandDefault{\textunderscore}{\leavevmode\makebox[1.2ex][c]{\rule{1ex}{0.1ex}}}14 \renewcommand{\textunderscore}{\leavevmode\makebox[1.2ex][c]{\rule{1ex}{0.075ex}}}15 % parindent is relative, i.e., toggled on/off in environments like itemize, so store the value for16 % use rather than use \parident directly.17 \newlength{\parindentlnth}18 \setlength{\parindentlnth}{\parindent}19 20 % CFA programming language, based on ANSI C (with some gcc additions)21 \lstdefinelanguage{CFA}[ANSI]{C}{22 morekeywords={23 _Alignas, _Alignof, __alignof, __alignof__, asm, __asm, __asm__, __attribute, __attribute__,24 auto, _Bool, catch, catchResume, choose, _Complex, __complex, __complex__, __const, __const__,25 coroutine, disable, dtype, enable, exception, __extension__, fallthrough, fallthru, finally,26 __float80, float80, __float128, float128, forall, ftype, generator, _Generic, _Imaginary, __imag, __imag__,27 inline, __inline, __inline__, __int128, int128, __label__, monitor, mutex, _Noreturn, one_t, or,28 otype, restrict, resume, __restrict, __restrict__, __signed, __signed__, _Static_assert, suspend, thread,29 _Thread_local, throw, throwResume, timeout, trait, try, ttype, typeof, __typeof, __typeof__,30 virtual, __volatile, __volatile__, waitfor, when, with, zero_t},31 moredirectives={defined,include_next},32 % replace/adjust listing characters that look bad in sanserif33 literate={-}{\makebox[1ex][c]{\raisebox{0.5ex}{\rule{0.8ex}{0.1ex}}}}1 {^}{\raisebox{0.6ex}{$\scriptstyle\land\,$}}134 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 % {`}{\ttfamily\upshape\hspace*{-0.1ex}`}135 {<}{\textrm{\textless}}1 {>}{\textrm{\textgreater}}136 {<-}{$\leftarrow$}2 {=>}{$\Rightarrow$}2 {->}{\makebox[1ex][c]{\raisebox{0.5ex}{\rule{0.8ex}{0.075ex}}}\kern-0.2ex{\textrm{\textgreater}}}2,37 }38 39 \lstset{40 language=CFA,41 columns=fullflexible,42 basicstyle=\linespread{0.9}\tt, % reduce line spacing and use sanserif font43 stringstyle=\tt, % use typewriter font44 tabsize=5, % N space tabbing45 xleftmargin=\parindentlnth, % indent code to paragraph indentation46 %mathescape=true, % LaTeX math escape in CFA code $...$47 escapechar=\$, % LaTeX escape in CFA code48 keepspaces=true,49 showstringspaces=false, % do not show spaces with cup50 showlines=true, % show blank lines at end of code51 aboveskip=4pt, % spacing above/below code block52 belowskip=3pt,53 moredelim=**[is][\color{red}]{`}{`},54 }% lstset55 56 \lstnewenvironment{cfa}[1][]57 {\lstset{#1}}58 {}59 % inline code @...@60 3 61 4 % Commands used in documenting how to use the template. To remove. … … 70 13 % For including graphics, sets the pdftex graphics driver. 71 14 \usepackage[pdftex]{graphicx} 72 73 \usepackage{cfalab}74 15 75 16 \usehyperrefpackage[pdftex,pagebackref=false]{ … … 102 43 type=nomenclature, 103 44 name=dingledorf, 104 description={A person of supposed average intelligence who makes incredibly 105 brainless misjudgments} 45 description={A person of supposed average intelligence who makes incredibly brainless misjudgments} 106 46 } 107 47 108 48 % List of Abbreviations (abbreviations are from the glossaries-extra package) 109 \newabbreviation{aaaaz}{AAAAZ}{American Association of Amature Astronomers 110 and Zoologists} 49 \newabbreviation{aaaaz}{AAAAZ}{American Association of Amature Astronomers and Zoologists} 111 50 112 51 % List of Symbols … … 117 56 sort={label}, 118 57 type=symbols, 119 description={Random vector: a location in n-dimensional Cartesian space, where 120 each dimensional component is determined by a random process} 121 } 122 123 % Must be here of cause problems with glossaries-extra. 124 \lstMakeShortInline$% 58 description={Random vector: a location in n-dimensional Cartesian space, where each dimensional component is determined by a random process} 59 } 125 60 126 61 % Generate the glossaries defined above. … … 137 72 % MAIN BODY 138 73 %---------------------------------------------------------------------- 139 \input{unwinding}140 141 74 %====================================================================== 142 75 \chapter{Introduction} -
doc/theses/andrew_beach_MMath/uw-ethesis.cls
r45f4147 r96df7c9c 28 28 % with options in <setup> (set hyperref's \hypersetup for details). 29 29 \NeedsTeXFormat{LaTeX2e} 30 \ProvidesClass{uw-ethesis} [2020/03/09 v0.1 UW E-Thesis Template Document Class]30 \ProvidesClass{uw-ethesis} %[DATE VERSION NOTES] 31 31 32 32 \RequirePackage{etoolbox} -
libcfa/src/Makefile.am
r45f4147 r96df7c9c 11 11 ## Created On : Sun May 31 08:54:01 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Mon Mar 16 18:07:59 202014 ## Update Count : 24 213 ## Last Modified On : Mon Jul 15 22:43:27 2019 14 ## Update Count : 241 15 15 ############################################################################### 16 16 … … 39 39 #---------------------------------------------------------------------------------------------------------------- 40 40 if BUILDLIB 41 headers_nosrc = bitmanip.hfamath.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa41 headers_nosrc = math.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa 42 42 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 43 43 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa -
libcfa/src/Makefile.in
r45f4147 r96df7c9c 237 237 limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 238 238 containers/maybe.hfa containers/pair.hfa containers/result.hfa \ 239 containers/vector.hfa bitmanip.hfamath.hfa gmp.hfa time_t.hfa \239 containers/vector.hfa math.hfa gmp.hfa time_t.hfa \ 240 240 bits/align.hfa bits/containers.hfa bits/defs.hfa \ 241 241 bits/debug.hfa bits/locks.hfa concurrency/coroutine.hfa \ … … 432 432 am__v_GOC_0 = @echo " GOC " $@; 433 433 am__v_GOC_1 = 434 AM_V_PY = $(am__v_PY_@AM_V@)435 am__v_PY_ = $(am__v_PY_@AM_DEFAULT_V@)436 am__v_PY_0 = @echo " PYTHON " $@;437 am__v_PY_1 =438 434 AM_V_RUST = $(am__v_RUST_@AM_V@) 439 435 am__v_RUST_ = $(am__v_RUST_@AM_DEFAULT_V@) 440 am__v_RUST_0 = @echo " RUST " $@;436 am__v_RUST_0 = @echo " RUST " $@; 441 437 am__v_RUST_1 = 442 438 AM_V_NODEJS = $(am__v_NODEJS_@AM_V@) 443 439 am__v_NODEJS_ = $(am__v_NODEJS_@AM_DEFAULT_V@) 444 am__v_NODEJS_0 = @echo " NODEJS " $@;440 am__v_NODEJS_0 = @echo " NODEJS " $@; 445 441 am__v_NODEJS_1 = 446 442 AM_V_JAVAC = $(am__v_JAVAC_@AM_V@) … … 461 457 462 458 #---------------------------------------------------------------------------------------------------------------- 463 @BUILDLIB_TRUE@headers_nosrc = bitmanip.hfamath.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa459 @BUILDLIB_TRUE@headers_nosrc = math.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa 464 460 @BUILDLIB_FALSE@headers = 465 461 @BUILDLIB_TRUE@headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ -
libcfa/src/exception.c
r45f4147 r96df7c9c 252 252 } 253 253 254 #pragma GCC push_options 255 #pragma GCC optimize("O0") 256 254 257 // This is our personality routine. For every stack frame annotated with 255 258 // ".cfi_personality 0x3,__gcfa_personality_v0" this function will be called twice when unwinding. … … 410 413 return _URC_CONTINUE_UNWIND; 411 414 } 412 413 #pragma GCC push_options414 #pragma GCC optimize("O0")415 415 416 416 // Try statements are hoisted out see comments for details. While this could probably be unique -
libcfa/src/interpose.cfa
r45f4147 r96df7c9c 10 10 // Created On : Wed Mar 29 16:10:31 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 13 17:35:37202013 // Update Count : 17 812 // Last Modified On : Mon Mar 2 17:37:00 2020 13 // Update Count : 176 14 14 // 15 15 … … 234 234 235 235 if ( fmt[strlen( fmt ) - 1] != '\n' ) { // add optional newline if missing at the end of the format text 236 __cfaabi_ bits_write( STDERR_FILENO,"\n", 1 );236 __cfaabi_dbg_write( "\n", 1 ); 237 237 } // if 238 238 kernel_abort_msg( kernel_data, abort_text, abort_text_size );
Note:
See TracChangeset
for help on using the changeset viewer.