Re: [PATCH][GCC][AARCH64] Use stdint integers in vect_su_add_sub.c

2018-08-29 Thread Kyrill Tkachov
Hi all, On 28/08/18 23:15, James Greenhalgh wrote: On Fri, Aug 03, 2018 at 11:28:08AM -0500, Matthew Malcomson wrote: On 02/08/18 20:18, James Greenhalgh wrote: On Tue, Jul 31, 2018 at 04:53:19AM -0500, Matthew Malcomson wrote: Fixing the ilp32 issue that Christophe found. The existing testc

Re: [PATCH][GCC][AARCH64] Use stdint integers in vect_su_add_sub.c

2018-08-28 Thread James Greenhalgh
On Fri, Aug 03, 2018 at 11:28:08AM -0500, Matthew Malcomson wrote: > On 02/08/18 20:18, James Greenhalgh wrote: > > On Tue, Jul 31, 2018 at 04:53:19AM -0500, Matthew Malcomson wrote: > >> Fixing the ilp32 issue that Christophe found. > >> > >> The existing testcase uses `long` to represent a 64 bit

Re: [PATCH][GCC][AARCH64] Use stdint integers in vect_su_add_sub.c

2018-08-17 Thread Richard Biener
On Fri, Aug 3, 2018 at 6:28 PM Matthew Malcomson wrote: > > On 02/08/18 20:18, James Greenhalgh wrote: > > On Tue, Jul 31, 2018 at 04:53:19AM -0500, Matthew Malcomson wrote: > >> Fixing the ilp32 issue that Christophe found. > >> > >> The existing testcase uses `long` to represent a 64 bit integer

Re: [PATCH][GCC][AARCH64] Use stdint integers in vect_su_add_sub.c

2018-08-03 Thread Matthew Malcomson
On 02/08/18 20:18, James Greenhalgh wrote: On Tue, Jul 31, 2018 at 04:53:19AM -0500, Matthew Malcomson wrote: Fixing the ilp32 issue that Christophe found. The existing testcase uses `long` to represent a 64 bit integer. This breaks when compiled using the `-mabi=ilp32` flag. We switch the use

Re: [PATCH][GCC][AARCH64] Use stdint integers in vect_su_add_sub.c

2018-08-02 Thread James Greenhalgh
On Tue, Jul 31, 2018 at 04:53:19AM -0500, Matthew Malcomson wrote: > Fixing the ilp32 issue that Christophe found. > > The existing testcase uses `long` to represent a 64 bit integer. > This breaks when compiled using the `-mabi=ilp32` flag. > We switch the use of int/long for int32_t/int64_t to a

[PATCH][GCC][AARCH64] Use stdint integers in vect_su_add_sub.c

2018-08-02 Thread Matthew Malcomson
Fixing the ilp32 issue that Christophe found. The existing testcase uses `long` to represent a 64 bit integer. This breaks when compiled using the `-mabi=ilp32` flag. We switch the use of int/long for int32_t/int64_t to avoid this problem and show the requirement of a widening operation more clear