This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 13/18] hppa: Add memcopy.h



On 11/01/2018 11:36, Joseph Myers wrote:
> 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.
> 

I fixed all locally.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]