Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build

From: YunQiang Su <wzssyqa(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build
Date: 2019-06-11 05:12:54
Message-ID: CAKcpw6U5jo+x+jhNWYH-PXjw_pZv4ed=Wdopy7adrEom9HfspA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael Paquier <michael(at)paquier(dot)xyz> 于2019年6月11日周二 下午12:57写道:
>
> On Tue, Jun 11, 2019 at 04:39:35AM +0000, PG Bug reporting form wrote:
> > MIPS r6 changes the encoding of LL/SC instruction,
> > while the .set mips2 will force assembler to generate
> > old encoding.
>
> This is quite architecture-specific. May I suggest to add this patch
> to the follow-up commit fest for awareness:
> https://commitfest.postgresql.org/23/
>
> Do you have any references, like documentation, which summarize that?

https://s3-eu-west-1.amazonaws.com/downloads-mips/documents/MD00087-2B-MIPS64BIS-AFP-6.06.pdf
The page: 307

> --
> Michael

--
YunQiang Su

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tobias Gierke 2019-06-11 11:49:24 PostgreSQL 11.3 hangs forever during DEALLOCATE statement
Previous Message Michael Paquier 2019-06-11 04:57:23 Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build