Re: postgres has no spinlock support on riscv rv64imafdc

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Henry <rrh(dot)henry(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: postgres has no spinlock support on riscv rv64imafdc
Date: 2019-10-19 10:22:34
Message-ID: 20191019102234.s7utdy44npjqr7in@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On 2019-10-18 09:00:23 +0200, Tom Lane wrote:
> TBH, though, my preference would be for some assembly code rather than
> relying on GCC builtins as Richard's patch did.

-1. I think there's good arguments for using inline assembly on
platforms where we've done so historically, and where we have to support
old compilers without good support for intrinsics/builtins. But I see
very little reason for adding more such cases for newer platforms -
doing so correctly and efficiently is substantial work and fragile.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2019-10-19 14:54:45 BUG #16067: Failed system call was semget
Previous Message Stephen Frost 2019-10-18 23:12:23 Re: BUG #16066: Ldap Authentication failure on PostgreSQL 10.10