Changeset View
Changeset View
Standalone View
Standalone View
mpi/longlong.h
Context not available. | |||||
(ph) = __ph; \ | (ph) = __ph; \ | ||||
} while (0) | } while (0) | ||||
# define count_leading_zeros(count, x) \ | # define count_leading_zeros(count, x) \ | ||||
__asm__ ("clz %0, %1\n" \ | __asm__ ("clz %w0, %w1\n" \ | ||||
gniibe: Did you checked the output in assembly language?
IIUC, it doesn't work.
%w is for HImode (2… | |||||
gniibeUnsubmitted Not Done Inline ActionsIIUC, I think that what you need is rCc59b5b03a063: aarch64: mpi/longlong.h: fix operand size mismatch. gniibe: IIUC, I think that what you need is {rCc59b5b03a}.
| |||||
: "=r" ((count)) \ | : "=r" ((count)) \ | ||||
: "r" ((UDItype)(x))) | : "r" ((UDItype)(x))) | ||||
#endif /* __aarch64__ */ | #endif /* __aarch64__ */ | ||||
Context not available. |
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>?