From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6274 invoked by alias); 6 May 2009 06:04:37 -0000 Received: (qmail 6265 invoked by uid 22791); 6 May 2009 06:04:37 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_12,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 May 2009 06:04:31 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n4664TTI021912 for ; Wed, 6 May 2009 02:04:29 -0400 Received: from greed.delorie.com (vpn-12-166.rdu.redhat.com [10.11.12.166]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4664TPH018822 for ; Wed, 6 May 2009 02:04:29 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1] (may be forged)) by greed.delorie.com (8.14.3/8.14.3) with ESMTP id n4664SjT024768 for ; Wed, 6 May 2009 02:04:28 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.3/8.14.3/Submit) id n4664Skm024765; Wed, 6 May 2009 02:04:28 -0400 Date: Wed, 06 May 2009 06:04:00 -0000 Message-Id: <200905060604.n4664Skm024765@greed.delorie.com> From: DJ Delorie To: gcc@gcc.gnu.org Subject: opaque vector types? X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg00101.txt.bz2 Is there an opaque vector type? Something that can be assigned to/from other vector types of the same size, without warning? I'm working on a coprocessor which has separate SIMD arithmetic operations for each data size, but only one SIMD logical operation for all sizes. I.e. there's four ADD insns (V8QI, V4HI, etc) , but only one AND insn. I'd like to use an opaque vector type for the AND builtin, to avoid warnings.