gcc-5-20170117 is now available

2017-01-17 Thread gccadmin
Snapshot gcc-5-20170117 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/5-20170117/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-5

Re: Help math RTL patterns...

2017-01-17 Thread Nathan Sidwell
On 01/17/2017 03:41 PM, Steve Silva wrote: Hi Nathan, Thanks for your advice. I retooled the addhi3 sequence to look like this: The md.texi file seems to have exactly the example you need: Here for example, is how the 68000 halfword-add instruction is defined: @smallexample (define_insn "

Re: Help math RTL patterns...

2017-01-17 Thread Steve Silva via gcc
Hi Nathan, Thanks for your advice. I retooled the addhi3 sequence to look like this: (define_expand "addhi3" [(set (match_operand:HI 0 "snap_mem_or_reg""+a,m") (plus:HI (match_operand:HI 1 "snap_mem_or_reg" "%0,0") (match_operand:HI 2 "general_operand" "aim,aim")))] "" "" ) (define

Re: Help math RTL patterns...

2017-01-17 Thread Nathan Sidwell
On 01/17/2017 12:19 PM, Steve Silva via gcc wrote: Hi All, I am porting gcc for an internal processor and I am having some issues with math instructions. Our processor uses two operands for math instructions which are usually of the form OP0 = OP0 + OP1. The RTL pattern (for addm3) in gcc

Re: make[1]: *** wait: No child processes during make -j8 check

2017-01-17 Thread Jeff Law
On 01/17/2017 09:59 AM, Martin Sebor wrote: On 01/17/2017 08:30 AM, Jeff Law wrote: On 01/16/2017 05:37 PM, Martin Sebor wrote: I've run into this failure during make check in the past with a very large make -j value (such as -j128), but today I've had two consecutive make check runs fail with

Help math RTL patterns...

2017-01-17 Thread Steve Silva via gcc
Hi All, I am porting gcc for an internal processor and I am having some issues with math instructions. Our processor uses two operands for math instructions which are usually of the form OP0 = OP0 + OP1. The RTL pattern (for addm3) in gcc uses the form OP0 = OP1 + OP2. I understand that gcc

Re: make[1]: *** wait: No child processes during make -j8 check

2017-01-17 Thread David Edelsohn
On Tue, Jan 17, 2017 at 11:59 AM, Martin Sebor wrote: > On 01/17/2017 08:30 AM, Jeff Law wrote: >> >> On 01/16/2017 05:37 PM, Martin Sebor wrote: >>> >>> I've run into this failure during make check in the past with >>> a very large make -j value (such as -j128), but today I've had >>> two consecu

Re: GCC libatomic ABI specification draft

2017-01-17 Thread Torvald Riegel
On Thu, 2016-11-17 at 12:12 -0800, Bin Fan wrote: > On 11/14/2016 4:34 PM, Bin Fan wrote: > > Hi All, > > > > I have an updated version of libatomic ABI specification draft. Please > > take a look to see if it matches GCC implementation. The purpose of > > this document is to establish an officia

Re: make[1]: *** wait: No child processes during make -j8 check

2017-01-17 Thread Martin Sebor
On 01/17/2017 08:30 AM, Jeff Law wrote: On 01/16/2017 05:37 PM, Martin Sebor wrote: I've run into this failure during make check in the past with a very large make -j value (such as -j128), but today I've had two consecutive make check runs fail with -j12 and -j8 on my 8 core laptop with no much

we can submit your scenario to more than 2,500 lenders today

2017-01-17 Thread Elba Tran
Now you can benefit from our network of over 2,400 lenders and fund managers. If you have a scenario (comm. or residential) that you can't seem to get funded using your regular channels, why not send it to us and we'll try and match your deal to a lender who can get it closed. Our lenders don't

Re: make[1]: *** wait: No child processes during make -j8 check

2017-01-17 Thread Jeff Law
On 01/16/2017 05:37 PM, Martin Sebor wrote: I've run into this failure during make check in the past with a very large make -j value (such as -j128), but today I've had two consecutive make check runs fail with -j12 and -j8 on my 8 core laptop with no much else going on. The last thing running w

Re: Missed optimizations at -Os

2017-01-17 Thread Richard Biener
On Tue, 17 Jan 2017, Senthil Kumar Selvaraj wrote: > Hi, > > For this (reduced) test case > > > extern int x, y, z; > void foo(void); > void bar(void); > void blah(void); > > void test (void) > { > int flag = 0; > flag = ((x && y) || z); > > if (flag && x && y) { > bar(); > }

Missed optimizations at -Os

2017-01-17 Thread Senthil Kumar Selvaraj
Hi, For this (reduced) test case extern int x, y, z; void foo(void); void bar(void); void blah(void); void test (void) { int flag = 0; flag = ((x && y) || z); if (flag && x && y) { bar(); } } I expected gcc -Os (x86_64, if it matters) to generate code equivalent to if (x &