Re: Generating gimple assign stmt that changes sign

2018-05-21 Thread Marc Glisse
On Tue, 22 May 2018, Kugan Vivekanandarajah wrote: Hi, I am looking to introduce ABSU_EXPR and that would create: unsigned short res = ABSU_EXPR (short); Note that the argument is signed and result is unsigned. As per the review, I have a match.pd entry to generate this as: (simplify (abs (co

Re: Generating gimple assign stmt that changes sign

2018-05-21 Thread Kugan Vivekanandarajah
Hi Jeff, Thanks for the prompt reply. On 22 May 2018 at 09:10, Jeff Law wrote: > On 05/21/2018 04:50 PM, Kugan Vivekanandarajah wrote: >> Hi, >> >> I am looking to introduce ABSU_EXPR and that would create: >> >> unsigned short res = ABSU_EXPR (short); >> >> Note that the argument is signed and

Re: Generating gimple assign stmt that changes sign

2018-05-21 Thread Jeff Law
On 05/21/2018 04:50 PM, Kugan Vivekanandarajah wrote: > Hi, > > I am looking to introduce ABSU_EXPR and that would create: > > unsigned short res = ABSU_EXPR (short); > > Note that the argument is signed and result is unsigned. As per the > review, I have a match.pd entry to generate this as: >

Generating gimple assign stmt that changes sign

2018-05-21 Thread Kugan Vivekanandarajah
Hi, I am looking to introduce ABSU_EXPR and that would create: unsigned short res = ABSU_EXPR (short); Note that the argument is signed and result is unsigned. As per the review, I have a match.pd entry to generate this as: (simplify (abs (convert @0)) (if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (@0)))

Re: wrong comment in gcc/testsuite/gcc.c-torture/compile/simd-5.c

2018-05-21 Thread Jeff Law
On 05/02/2018 04:49 AM, Christian Groessler wrote: > Hi, > > --- a/gcc/testsuite/gcc.c-torture/compile/simd-5.c > +++ b/gcc/testsuite/gcc.c-torture/compile/simd-5.c > @@ -6,7 +6,7 @@ main(){ >  vector64 int a = {1, -1}; >  vector64 int b = {2, -2}; >  c = -a + b*b*(-1LL); > -/* c is now {5, 3} */

Let's stay in touch!

2018-05-21 Thread YouPic Team
Welcome http://youpic.com?utm_content=Email&utm_campaign=Email%20marketing&utm_source=SendGrid&utm_term=Email%20marketing&utm_medium=Email Hello YouPic Community! We need your help. Due to the recent tragedy in Manchester, we have decided to bring our community together and show every day life

Bin Cheng appointed Loop Optimizer co-maintainer

2018-05-21 Thread David Edelsohn
I am pleased to announce that the GCC Steering Committee has appointed Bin Cheng as Loop Optimizer co-maintainer. Please join me in congratulating Bin on his new role. Bin, please update your listing in the MAINTAINERS file. Happy hacking! David

Re: gcc-6-branch test failures: g++ c-c++-common/asan/pr59063-2.c

2018-05-21 Thread Jason Vas Dias
To me it looks like the definition of 'real_sigaction' in 'asan_interceptors.cc' is actually going to recursively call itself - so I tried patching libsanitizer: {BEGIN PATCH: Index: asan/asan_interceptors.cc === --- asan/asan_interc

gcc-6-branch test failures: g++ c-c++-common/asan/pr59063-2.c

2018-05-21 Thread Jason Vas Dias
Good day - Attempts to build latest GCC gcc-6-branch version from SVN ( Revision 260441 ), with the GCC 6.4.1 from the last time I built it ( git commit starting '4f2cbe2' ), now fail in 'make check' , on a Linux x86_64 host (RHEL 7.5, glibc 2.17) : When 'pr59063-2.c' is built with the '-static-