From aca8d9935b280fb51a2bc2332be63c56301c5dbd Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 07 Feb 2017 19:11:47 -0500 Subject: TODO: Describe ctxsw optimization --- (limited to 'TODO') diff --git a/TODO b/TODO index e60e7e5..a6e79b5 100644 --- a/TODO +++ b/TODO @@ -7,3 +7,12 @@ Example: array `arr_` and index `ind`: stored as `__arr_arr___x__ind` Example: array `arr` and index `_ind`: stored as `__arr_arr__x___ind` Example: array `arr_` and index `_ind`: stored as `__arr_arr___x___ind` + * Consider ctxsw optimization: + - In backend, prefix parameter names (in assignments and expansions) with TU + and function + - In eshrt, remove variable updating code + - Caveat: breaks variable parameter names in eval + - If arrays are implemented, would anyone still need variable parameter + names? + - Maybe add -fno-mangle-vars option to eshtrans to disable prefixing and + insert a flag in generated code to enable eshrt to update variables -- cgit v0.9.1