From 6a647f4c573c0d44e250fc99a69683a55b1afae6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 30 Aug 2021 07:45:27 +0000 Subject: implemented simplistic register spilling first working binary produced with cc/fasm and run on emul --- miniany/REQUIREMENTS | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'miniany/REQUIREMENTS') 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 -- cgit v1.2.3-54-g00ecf