This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 13/18] hppa: Add memcopy.h
On Wed, 10 Jan 2018, Adhemerval Zanella wrote:
> +extern void link_error(void);
Missing space before '('.
> +static inline op_t
> +MERGE(op_t w0, int shl, op_t w1, int shr)
Likewise.
> + if (OPSIZ == 4)
> + asm("shrpw %1,%2,%%sar,%0" : "=r"(res) : "r"(w0), "r"(w1), "q"(shr));
> + else if (OPSIZ == 8)
> + asm("shrpd %1,%2,%%sar,%0" : "=r"(res) : "r"(w0), "r"(w1), "q"(shr));
> + else
> + link_error(), res = 0;
Likewise, after asm, and after link_error, and after strings in asm.
--
Joseph S. Myers
joseph@codesourcery.com