From owner-freebsd-performance@FreeBSD.ORG Wed Jun 15 19:08:30 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 2E71E1065673; Wed, 15 Jun 2011 19:08:30 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 070238FC1C; Wed, 15 Jun 2011 19:08:29 +0000 (UTC) Received: by pvg11 with SMTP id 11so761934pvg.13 for ; Wed, 15 Jun 2011 12:08:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.14.74 with SMTP id n10mr42169pbc.489.1308163014250; Wed, 15 Jun 2011 11:36:54 -0700 (PDT) Received: by 10.68.55.130 with HTTP; Wed, 15 Jun 2011 11:36:54 -0700 (PDT) In-Reply-To: <4DF4EC9F.9020604@zedat.fu-berlin.de> References: <4DF4EC9F.9020604@zedat.fu-berlin.de> Date: Wed, 15 Jun 2011 19:36:54 +0100 Message-ID: From: Doug Rabson To: "Hartmann, O." X-Mailman-Approved-At: Wed, 15 Jun 2011 19:13:10 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-performance@freebsd.org" , FreeBSD Current Subject: Re: 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: Wed, 15 Jun 2011 19:08:30 -0000 You could try using the standard header - that has inline functions which should cover all the SSE instructions. On 12 June 2011 17:43, Hartmann, O. wrote: > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >