Re: [gomp4] Offload option handling

2014-10-03 Thread Andrey Turetskiy
On Wed, Sep 17, 2014 at 5:11 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: On Wed, Sep 17, 2014 at 3:19 PM, Bernd Schmidt ber...@codesourcery.com wrote: I have no objections to supporting a -ftarget-options switch. I had posted a patch a while ago that looked somewhat similar

Re: [gomp4] Offload option handling

2014-09-17 Thread Andrey Turetskiy
such a user-adjustable options for the accel compilers. https://gcc.gnu.org/ml/gcc-patches/2013-12/msg01242.html -- Ilya -- Best regards, Andrey Turetskiy offload-option-gomp4.patch Description: Binary data

Re: [gomp4] Offload option handling

2014-09-17 Thread Andrey Turetskiy
that looked somewhat similar, but also contained an automatic translation step from things like -march=x86_64 to a generic -foffload-abi=lp64. I still think such a mechanism is desirable. I'm going to apply your patch on '-ftarget-options' stuff and check if it works together. -- Best regards, Andrey

Re: [PATH] Intel offload library

2014-09-10 Thread Andrey Turetskiy
Ping. On Thu, Sep 4, 2014 at 11:41 AM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Ping. On Tue, Aug 26, 2014 at 10:41 AM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Ping. On Tue, Aug 19, 2014 at 12:45 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Hello, On 12 Aug 10

Re: [PATH] Intel offload library

2014-09-04 Thread Andrey Turetskiy
Ping. On Tue, Aug 26, 2014 at 10:41 AM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Ping. On Tue, Aug 19, 2014 at 12:45 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Hello, On 12 Aug 10:58, Andrey Turetskiy wrote: All remarks from https://gcc.gnu.org/ml/gcc-patches/2014-06

Re: [PATH] Intel offload library

2014-08-26 Thread Andrey Turetskiy
Ping. On Tue, Aug 19, 2014 at 12:45 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Hello, On 12 Aug 10:58, Andrey Turetskiy wrote: All remarks from https://gcc.gnu.org/ml/gcc-patches/2014-06/msg02166.html are fixed. Updated version of liboffloadmic you can find in GIT branch kyukhin/gomp4

Re: [PATH] Intel offload library

2014-08-12 Thread Andrey Turetskiy
with offloading emulator). On Thu, Jul 31, 2014 at 1:00 AM, Joseph S. Myers jos...@codesourcery.com wrote: On Wed, 2 Jul 2014, Andrey Turetskiy wrote: * Don't duplicate the logic for what's a hosted POSIX system; refactor it to a common fragment in config/ (I guess it needs to be a shell script fragment

Re: [PATH] Intel offload library

2014-07-28 Thread Andrey Turetskiy
Ping. On Mon, Jul 21, 2014 at 1:25 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Ping. On Wed, Jul 2, 2014 at 3:13 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: * Don't duplicate the logic for what's a hosted POSIX system; refactor it to a common fragment in config/ (I

Re: [PATH] Intel offload library

2014-07-21 Thread Andrey Turetskiy
Ping. On Wed, Jul 2, 2014 at 3:13 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: * Don't duplicate the logic for what's a hosted POSIX system; refactor it to a common fragment in config/ (I guess it needs to be a shell script fragment there rather than an actual autoconf macro, since

Re: [PATH] Intel offload library

2014-07-02 Thread Andrey Turetskiy
the patch with changes related to the point. Do you mean something like this? -- Best regards, Andrey Turetskiy liboffload_config.patch Description: Binary data

Re: [RFC][gomp4] Offloading patches (1/3): Add '-fopenmp_target' option

2014-01-22 Thread Andrey Turetskiy
soon, that gives a functional and runnable executable (or DSO) with actual offloading to MIC. Do you have a testcase that can be used to see what this does in action? Bernd -- Best regards, Andrey Turetskiy #define NUM 128 #pragma omp declare target int cnt = 100; int calc (int x

Re: [GOMP4] Patch to add option for offloading

2014-01-10 Thread Andrey Turetskiy
Ping On Wed, Dec 18, 2013 at 4:28 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Ping On Fri, Dec 13, 2013 at 3:09 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Hi, I've added option -foffload-target to specify target and options for target compiler for offloading. Please

Re: [GOMP4] Patch to add option for offloading

2013-12-18 Thread Andrey Turetskiy
Ping On Fri, Dec 13, 2013 at 3:09 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Hi, I've added option -foffload-target to specify target and options for target compiler for offloading. Please, have a look. -- Best regards, Andrey Turetskiy -- Best regards, Andrey Turetskiy

[GOMP4] Patch to add option for offloading

2013-12-13 Thread Andrey Turetskiy
Hi, I've added option -foffload-target to specify target and options for target compiler for offloading. Please, have a look. -- Best regards, Andrey Turetskiy foffload_option.patch Description: Binary data

Re: [RFC] Target compilation for offloading

2013-11-19 Thread Andrey Turetskiy
Ping On Fri, Nov 15, 2013 at 7:45 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Let's suppose, we are going to run target gcc driver from lto-wrapper. How could a list of offload targets be passed there from option parser? In my opinion, the simpliest way to do it is to use

Re: [RFC] Target compilation for offloading

2013-11-15 Thread Andrey Turetskiy
Jelinek ja...@redhat.com wrote: On Fri, Nov 08, 2013 at 06:26:53PM +0400, Andrey Turetskiy wrote: Thanks. And a few questions about compiler options: 1) You've mentioned two options for offloading: -foffload-target=set of targets - to specify targets for offloading -foffload-target-target

Re: [RFC] Target compilation for offloading

2013-11-08 Thread Andrey Turetskiy
:36:06PM +0400, Andrey Turetskiy wrote: Note, configure options should be either --with- or --enable- prefixed. Plus, it is probably better to use configuration triplets there. Do you mean smth like this: configure --build=x86 --host=x86 --target=x86,mic,ptx Then make should build 3 gcc: x86

Re: [RFC] Target compilation for offloading

2013-11-07 Thread Andrey Turetskiy
. -- Best regards, Andrey Turetskiy

Re: [RFC] Target compilation for offloading

2013-11-06 Thread Andrey Turetskiy
Ping On Thu, Oct 31, 2013 at 7:42 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Let's check my understanding: 1) We can configure gcc with, say, --offload-target=mic,ptx. It means that after build and install we have 3 compilers: for host, for mic and for ptx. In general case

Re: [RFC] Target compilation for offloading

2013-10-31 Thread Andrey Turetskiy
-linux=set of options if offload target hasn't been set during configuration? On Tue, Oct 29, 2013 at 1:49 PM, Jakub Jelinek ja...@redhat.com wrote: On Tue, Oct 29, 2013 at 01:33:17PM +0400, Andrey Turetskiy wrote: I wonder how compiler is going to choose which target binaries should be created

[RFC] Target compilation for offloading

2013-10-29 Thread Andrey Turetskiy
variables or paths will be set during compiler configuration? -- Best regards, Andrey Turetskiy

Re: [PATCH] Replace const_vector with match_operand in sse.md

2012-11-13 Thread Andrey Turetskiy
BTW: Probably, pmulhrsw insn patterns can be merged, too, but this can be a follow-up patch. Please, have a look at patch which merge pmulhrsw patterns. Changelog: 2012-11-13 Andrey Turetskiy andrey.turets...@gmail.com * config/i386/sse.md (*ssse3_avx2_pmulhrswmode3): Merge

Re: [PATCH] Replace const_vector with match_operand in sse.md

2012-10-30 Thread Andrey Turetskiy
I changed the patch according Uros' remarks. Please, have a look. Changelog: 2012-10-30 Andrey Turetskiy andrey.turets...@gmail.com * config/i386/i386.c (bdesc_args): Rename CODE_FOR_avx2_umulhrswv16hi3 to CODE_FOR_avx2_pmulhrswv16hi3. * config/i386/predicates.md

Re: [PATCH] Replace const_vector with match_operand in sse.md

2012-10-30 Thread Andrey Turetskiy
Thanks for explanation, I understand it. I fixed issue which you marked. Changelog is unchanged. --- Best regards, Andrey Turetskiy On Tue, Oct 30, 2012 at 7:40 PM, Uros Bizjak ubiz...@gmail.com wrote: On Tue, Oct 30, 2012 at 3:47 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: I

Re: [PATCH] Replace const_vector with match_operand in sse.md

2012-10-24 Thread Andrey Turetskiy
Add Uros to Cc. On Tue, Oct 23, 2012 at 2:45 PM, Andrey Turetskiy andrey.turets...@gmail.com wrote: Hi, This patch replaces large const_vector constructions with match_operand in sse.md to decrease its size. Is it ok? Changelog: 2012-10-23 Andrey Turetskiy andrey.turets...@gmail.com