From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 22 Jan 2013 02:49:17 -0800 From: Anthony Martin To: 9fans@9fans.net Message-ID: <20130122104916.GA17544@dinah> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [9fans] maxround and stack frame sizes Topicbox-Message-UUID: 0cb9a806-ead8-11e9-9d60-3106f5b1d025 I'm curious about the origins of the maxround function in the compilers. Specifically, why is 5c different from all the others? It seems the common implementation gives rise to unnecessarily large stack frames. For convenience: /sys/src/cmd/6c/swt.c:/^maxround /sys/src/cmd/5c/swt.c:/^maxround /sys/src/cmd/cc/dcl.c:/^adecl Thanks, Anthony