Re: [ACPI] ACPI mentioned on lwn.net/kernel

Andrey Panin (pazke@orbita1.ru)
Wed, 30 Jan 2002 11:00:25 +0300


--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 29, 2002 at 02:14:32PM -0500, Mark Hahn wrote:
> > - what stop us from using -mregparm=3D3 gcc switch ?
>=20
> I dimly recall that it can generage bad code, perhaps only
> on old compilers.

Bad code, hmm ... slow code or wrong code ?
IIRC gcc 2.95.3 declared as minimal requirement for kernel compilation,
so may be it's not an issue anymore ?

>=20
> > - same with -Os -malign-loops=3D1 -malign-jumps=3D1 ?
>=20
> 2 is probably always the lowest you should go, and indeed,
> I think that's all the compiler permits.
>

gcc (at least 2.95.2) permits 1, but i didn't check generated code.

> > - any tool to measure perfomance gain/penalty of above ?
>=20
> lmbench. it has to be a microbenchmark to measure this sort of thing,
> though a sanity check (kernel compile) would also be useful.

Thanks, i'll test these issues this weekend.=20

Best regards.

--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
--ibTvN161/egqYuK8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8V6gZBm4rlNOo3YgRAq+mAJ48f8SwXB3fwa02oImdrN67IxniXwCbB0Cz
HqgNnXLWOeaqQn/l58SRuDY=
=OrYw
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/