Messages in this thread | | | Date | Fri, 18 Mar 2022 15:47:49 -0700 | From | "H. Peter Anvin" <> | Subject | RE: [PATCH v5] x86: use builtins to read eflags |
| |
On March 18, 2022 3:36:48 PM PDT, David Laight <David.Laight@ACULAB.COM> wrote: >From: Segher Boessenkool >> Sent: 18 March 2022 22:09 >... >> It generally is a very good idea to >> have a redzone though, without it you pay much more than necessary for >> frame setup and teardown in leaf functions (similar to some of what the >> misnamed "shrink-wrapping" optimisation does, but the two are mostly >> independent, the benefits add up). > >Are there really leaf functions that need to spill data to stack >where the cost of setting up a stack frame is significant? > >I'd have thought that was relatively rare. > > David > >- >Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK >Registration No: 1397386 (Wales) > >
Yes.
| |