- getentropy needs sys/random.h
- leading zero counting needs w constraint due to wider types than int.
Just tried to build in a mac m1
Unit Tests Skipped
Please note that we also have a commit rC477355047e5c: mpi/longlong: make use of compiler provided __builtin_ctz/__builtin_clz.
Did you checked the output in assembly language?
IIUC, it doesn't work.
%w is for HImode (2-byte) register.
Do you mean %q, which specifies DImode, to generate register name of X<something>?
IIUC, I think that what you need is rCc59b5b03a063: aarch64: mpi/longlong.h: fix operand size mismatch.