Richard Henderson <richard.hender...@linaro.org> writes:
> On 8/9/19 2:53 AM, Peter Maydell wrote: >> Hi -- it's just been pointed out to me that if our 'max' CPU >> supports v8.5-CondM then we ought to be setting the HWCAP2_FLAGM2 >> bit in the hwcaps for linux-user mode. (Maybe we implemented this >> before the kernel defined the hwcap bit?) > > Yep. We added CondM in March and this hwcap bit was added in June. > > I keep thinking that they'll stop adding hwcap bits that can now just as > easily > be "read" (trap and emulated) from id registers. They've filled up HWCAP, and > only have 23 left in HWCAP2. It's impressive on our modern hardware that bits are getting so scarce ;-) We haven't yet started on filling up cs_base for our own flags but where does it all end? -- Alex Bennée