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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: icc vs. gcc-style asm blocks ... maybe the twain can meet?
Date: 2015-09-01 14:08:06
Message-ID: 8056.1441116486@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Sun, Aug 30, 2015 at 7:16 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(dot)j294TlG10498(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2015-09-01 14:32:39 Re: WIP: About CMake v2
Previous Message Andres Freund 2015-09-01 14:07:43 Re: WIP: About CMake v2