summaryrefslogtreecommitdiff
path: root/miniany/REQUIREMENTS
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-08-30 07:45:27 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2021-08-30 07:45:27 +0000
commit6a647f4c573c0d44e250fc99a69683a55b1afae6 (patch)
treef0537405c1d5dec275943c278a467f68e384c7c0 /miniany/REQUIREMENTS
parentc03c5fb46c0b2bbaa028d823786095a210896627 (diff)
downloadcompilertests-6a647f4c573c0d44e250fc99a69683a55b1afae6.tar.gz
compilertests-6a647f4c573c0d44e250fc99a69683a55b1afae6.tar.bz2
implemented simplistic register spilling
first working binary produced with cc/fasm and run on emul
Diffstat (limited to 'miniany/REQUIREMENTS')
-rw-r--r--miniany/REQUIREMENTS6
1 files changed, 5 insertions, 1 deletions
diff --git a/miniany/REQUIREMENTS b/miniany/REQUIREMENTS
index d49c276..0a6076c 100644
--- a/miniany/REQUIREMENTS
+++ b/miniany/REQUIREMENTS
@@ -7,7 +7,6 @@ implementing:
- requires a 3 parameter syscall to 80h (Linux)
- requires
- inline assembly
-- for loop
not implementing:
- libc
@@ -55,4 +54,9 @@ not implementing:
- enums as constant replacement (instead of preprocessor), realy enum types
are not really useful.
- forward struct definitions or typedefs (handy for Compiler structure), but..
+- for loop: unless we start optimizing (SIMD) there is no real benefit
+ for a generic 'for', a strict for i=0 to N, i++ is easier to optimize, when
+ you have a grammatical construct to help recognizing it.
+- register number for register alloation
+ https://en.wikipedia.org/wiki/Strahler_number