Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH] arm: Silence gcc warnings about arch ABI drift | Date | Mon, 19 Feb 2024 22:04:20 +0000 |
| |
From: Kent Overstreet > Sent: 19 February 2024 21:38 > > On Mon, Feb 19, 2024 at 07:53:15PM +0000, David Laight wrote: > > ... > > > I'm not always trying to write code that will generate the fastest > > > assembly possible; there aro other considerations. As long a the > > > compiler is doing something /reasonable/, the code is fine. > > > > Speaks the man who was writing horrid 'jit' code ... > > > > This also begs the question of why that data is so compressed > > in the first place? > > It is quite likely that a few accesses generate far more code > > than the data you are attempting to save. > > It's easy to understand if you understand profiling, benchmarking and > cache effects.
And how arguments get passed to functions :-)
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
| |