From owner-freebsd-performance@FreeBSD.ORG Sun Jun 12 16:58:34 2011 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDB10106566C for ; Sun, 12 Jun 2011 16:58:34 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8DBE28FC14 for ; Sun, 12 Jun 2011 16:58:34 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QVnkl-0003Oc-Ju>; Sun, 12 Jun 2011 18:43:11 +0200 Received: from e178021162.adsl.alicedsl.de ([85.178.21.162] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QVnkl-0002P8-Hb>; Sun, 12 Jun 2011 18:43:11 +0200 Message-ID: <4DF4EC9F.9020604@zedat.fu-berlin.de> Date: Sun, 12 Jun 2011 18:43:11 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110601 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: FreeBSD Current , "freebsd-performance@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.21.162 Cc: Subject: FreeBSD 9.0-CUR/amd64 CLANG: howto use gcc __builtin_ia32? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2011 16:58:34 -0000 I use some numerical code utilizing the SIMD units of modern X86 architectures. Code compiles well using gcc/gcc46, but clang does not know about the __builtin_ia32_xxxxx() statements. How to treat those in clang and how to make C code compiling with clang utilizing those __builtin_ia32 statements? Thanks, Oliver