Re: [nvptx] Fix missing mode warnings in nvptx.md, omp part

2019-06-17 Thread Jakub Jelinek
On Mon, Jun 17, 2019 at 04:53:24PM +0200, Tom de Vries wrote: > Updated accordingly, and committed as attached. Note, current trunk allows one to define expanders that take mode as the first argument, so you could (define_insn "@set_softstack_" [(unspec [(match_operand:P 0 "nvptx_register_operan

Re: [nvptx] Fix missing mode warnings in nvptx.md, omp part

2019-06-17 Thread Tom de Vries
quot;set_softstack_insn" >> - [(unspec [(match_operand 0 "nvptx_register_operand" "R")] >> +(define_insn "set_softstack_insn_" >> + [(unspec [(match_operand:P 0 "nvptx_register_operand" "R")] > > A purely cosmetic issue, b

Re: [nvptx] Fix missing mode warnings in nvptx.md, omp part

2019-06-17 Thread Alexander Monakov
On Mon, 17 Jun 2019, Tom de Vries wrote: > Hi Alexander, > > any comments? A couple suggestions (see below), but no serious concerns from my side. > --- a/gcc/config/nvptx/nvptx.c > +++ b/gcc/config/nvptx/nvptx.c > @@ -112,6 +112,17 @@ enum nvptx_data_area >DATA_AREA_MAX > }; > > +rtx >

[nvptx] Fix missing mode warnings in nvptx.md, omp part

2019-06-16 Thread Tom de Vries
Hi Alexander, any comments? Thanks, - Tom [nvptx] Fix missing mode warnings in nvptx.md, omp part Fix these warnings: ... gcc/config/nvptx/nvptx.md:1074:1: warning: operand 0 missing mode? gcc/config/nvptx/nvptx.md:1240:1: warning: operand 0 missing mode? gcc/config/nvptx/nvptx.md:1240:1