Re: [PATCH 04/22] aarch64: Add __builtin_aarch64_chkfeat

2024-10-24 Thread Richard Sandiford
Yury Khrustalev writes: > From: Szabolcs Nagy > > Builtin for chkfeat: the input argument is used to initialize x16 then > execute chkfeat and return the updated x16. > > Note: ACLE __chkfeat(x) plans to flip the bits to be more intuitive > (xor the input to output), but for the builtin that seem

[PATCH 04/22] aarch64: Add __builtin_aarch64_chkfeat

2024-10-23 Thread Yury Khrustalev
From: Szabolcs Nagy Builtin for chkfeat: the input argument is used to initialize x16 then execute chkfeat and return the updated x16. Note: ACLE __chkfeat(x) plans to flip the bits to be more intuitive (xor the input to output), but for the builtin that seems unnecessary complication. gcc/Chan