On 2019/10/16 上午7:27, Maciej W. Rozycki wrote:
On Thu, 10 Oct 2019, Paul Burton wrote:
A Golang developer reported MIPS hwcap isn't reflecting instructions that the processor actually supported so programs can't apply optimized code at runtime.
Thus we export the ASEs that can be used in userspace programs.
Applied to mips-fixes.
This makes a part of the user ABI, so I would advise discussing this with libc folks. Also you probably want to report microMIPS support too.
Hi Maciej,
How can hwcap advance libc? I know that Arm world is using it to probe SIMD extensions in high-level programs like ffmpeg.
microMIPS binary can't be applied at runtime, so userspace programs shouldn't aware that.
Should I Cc this discussion to libc-alpha or other lists?
-- Jiaxun
Maciej