pgsql: Fix memory barrier support on icc on ia64, 2nd attempt.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix memory barrier support on icc on ia64, 2nd attempt.
Date: 2013-07-09 08:35:44
Message-ID: E1UwTOi-0004EH-FE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix memory barrier support on icc on ia64, 2nd attempt.

Itanium doesn't have the mfence instruction - that's a 386 thing. Use the
"mf" instruction instead.

This reverts the previous commit to add "#include <emmintrinsic.h>"; the
problem was not with a missing #include.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e5592c61adb0766eaee53ec07d2f05783d1c6548

Modified Files
--------------
src/include/storage/barrier.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2013-07-09 13:48:48 pgsql: Fixed incorrect description of EXEC SQL VAR command.
Previous Message Heikki Linnakangas 2013-07-09 07:39:31 pgsql: Add #include needed for _mm_mfence() intrinsic on ia64.