Re: [TESTING]: boot2 compilation with -mregparm=3

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Sun, 20 Mar 2011 20:41:04 +0100
Roman Divacky <rdivacky_at_freebsd.org> wrote:

> This patch:
> 
> 
>         http://lev.vlakno.cz/~rdivacky/boot2-mregparm.patch
> 
> 
> makes boot2 to be compiled with -mregparm=3 (which shrinks it
> some). It changes CFLAGS to include -mregparm=3 and also
> rewrites sio.S to use register passing.
> 
> This survived my testing in qemu and jhb_at_s review.

Works for me on amd64 with gcc, but I don't use either
a serial console or gptboot/zfsboot.

Fabian

Received on Sun Mar 20 2011 - 18:41:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC