From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36197 invoked by alias); 7 Aug 2017 08:12:49 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-owner@gcc.gnu.org Received: (qmail 36169 invoked by uid 89); 7 Aug 2017 08:12:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*nz, neon, Hx-languages-length:453, H*Ad:U*jit X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: smtp-2.orcon.net.nz Received: from smtp-2.orcon.net.nz (HELO smtp-2.orcon.net.nz) (60.234.4.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Aug 2017 08:12:44 +0000 Received: from [121.99.228.40] (port=53700 helo=tower) by smtp-2.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1ded9V-0006fs-45 for jit@gcc.gnu.org; Mon, 07 Aug 2017 20:12:41 +1200 Date: Sun, 01 Jan 2017 00:00:00 -0000 From: Michael Cree To: jit@gcc.gnu.org Subject: does libgccjit support vector types? Message-ID: <20170807081235.oujwzxfp6vujlg7f@tower> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00002.txt.bz2 I am wondering if libgccjit supports vector types, i.e., can one attach attribute __vector_size__ to the base types? There does not seem to be any indication of this in the manual. I presume using gcc_jit_context_add_command_line_option() one can turn on code generation for sse/avx/neon/altivec, etc. And is there a way to access built-in functions such as the machine specific simd intrinsics? Cheers Michael.