Re: icc vs. gcc-style asm blocks ... maybe the twain can meet? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: icc vs. gcc-style asm blocks ... maybe the twain can meet?
Date
Msg-id 8056.1441116486@sss.pgh.pa.us
Whole thread Raw
In response to Re: icc vs. gcc-style asm blocks ... maybe the twain can meet?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: icc vs. gcc-style asm blocks ... maybe the twain can meet?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Aug 30, 2015 at 7:16 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hmm ... wait a second.  The main collection of asm blocks in s_lock.h
>> believes that Intel's compiler will take gcc-style asm without any help:

> The 2005 block seems to have been the result of this thread:
> http://www.postgresql.org/message-id/flat/200503090429.j294TlG10498@candle.pha.pa.us
> That thread seems pretty clear about asm() not working in that
> poster's environment.

See followups --- the true story is that icc can do asm blocks on
x86[_64], but not ia64.  I've now documented this accurately, and
fixed various places that were confused about it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: WIP: About CMake v2
Next
From: Noah Misch
Date:
Subject: Re: WIP: About CMake v2