Updated writeup

This commit is contained in:
York Jasper Niebuhr 2025-10-24 00:43:34 +02:00
parent d17bef1158
commit 471406457f

View File

@ -28,3 +28,9 @@ Constant foldable expressions, e.g. "size_t myOffset = ((size_t)&((struct task_s
CONSTRUCTORs are only turned into COMPONENT_REF at gimplification CONSTRUCTORs are only turned into COMPONENT_REF at gimplification
-> early gimple pass (before cfg) to replace offsets with calls -> early gimple pass (before cfg) to replace offsets with calls
Custom UNSPECs can not get through vregs or a few later passes
-> use asm
-> architecture specific, dynamic operands though
-> can not get optimized (O1+ does optimizations in RTL, mostly after vregs)
-> could replace asm with normal "set" RTL close to final pass to remove architecture dependence