Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build
YunQiang Su <wzssyqa@gmail.com>
From: YunQiang Su <wzssyqa@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2019-06-11T05:12:54Z
Lists: pgsql-bugs
Michael Paquier <michael@paquier.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
Commits
-
Fix spinlock assembly code for MIPS so it works on MIPS r6.
- 9895e3a36a72 9.6.15 landed
- 40dde829070d 11.5 landed
- 36d2c3ad33f8 9.5.19 landed
- 2854e2ab6806 9.4.24 landed
- 1323bfce5510 12.0 landed
- 05399b14889e 10.10 landed