[coreboot] __attribute__((stdcall)) vs. __attribute__((regparm(0)))

ron minnich rminnich at gmail.com
Thu Oct 16 17:41:05 CEST 2008

On Thu, Oct 16, 2008 at 7:58 AM, Myles Watson <mylesgw at gmail.com> wrote:

> The question is what attribute can be used to make those functions have the
> normal calling convention when compiling with -mregparm=3.  We're using
> -mregparm=3 for speed reasons.

The simplest thing: put all the functions that need regparm=0 in one
file, compile that file with regparm=0


More information about the coreboot mailing list