Re: [PATCH] vsyscall: use __iter_div_u64_rem()

From: Nick Desaulniers
Date: Thu Jul 11 2019 - 13:14:26 EST


On Thu, Jul 11, 2019 at 5:28 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
> clang does not like an inline assembly with a "=q" contraint for
> a 64-bit output:

Seems like starting in GCC 7, GCC may not like it either:
https://godbolt.org/z/UyBUfh
it simply warns then proceeds with code gen. Another difference may
come from when GCC vs Clang perform dead code elimination (DCE) vs
semantic analysis.

--
Thanks,
~Nick Desaulniers