public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [Patch V2] mips:  minior fix
@ 2020-11-14  6:41 Huang Pei
  2020-11-14  6:41 ` [PATCH 1/3] mips: add hp-timing support for MIPS R2 Huang Pei
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Huang Pei @ 2020-11-14  6:41 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha, Huacai Chen, Chenghua Xu

All three patched is tested on debian glibc-2.28, no regresssion
found.

here is the output of 'LD_DEBUG=statistics data' with Patch 1:

.....................................................................
depaulose@Board-3A3000:glibc-2.28$ LD_DEBUG=statistics date
	441:
	441:     runtime linker statistics:
	441:       total startup time in dynamic loader: 297131 cycles
	441:       time needed for relocation: 150697 cycles (50.7%)
	441:       number of relocations: 101
	441:       number of relocations from cache: 0
	441:       number of relative relocations: 0
	441:       time needed to load objects: 84028 cycles (28.2%)
Sat 14 Nov 2020 06:33:18 AM UTC
.....................................................................

Patch 2 make the sp follow N32/N64 ABI, however the root cause is the
reg s0 spill, which is unnecessary



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [Patch V2]: add hp-timing support and fix syscall.S
@ 2020-11-27  9:22 Huang Pei
  2020-11-27  9:22 ` [PATCH 2/3] mips: make sp 16-byte aligned on N64/N32 Huang Pei
  0 siblings, 1 reply; 13+ messages in thread
From: Huang Pei @ 2020-11-27  9:22 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha, Huacai Chen, Chenghua Xu

All patches are tested on debian 10 mips64el glibc-2.28 and master,
no regression found

add more discription about Patch 3, following Maciej's advice



^ permalink raw reply	[flat|nested] 13+ messages in thread
* [Patch V3]: add hp-timing support and minor fix
@ 2020-11-28  8:18 Huang Pei
  2020-11-28  8:18 ` [PATCH 2/3] mips: make sp 16-byte aligned on N64/N32 Huang Pei
  0 siblings, 1 reply; 13+ messages in thread
From: Huang Pei @ 2020-11-28  8:18 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha, Huacai Chen, Chenghua Xu

Patch 1: add discription for Linux/MIPS emulation for 'rdhwr %0, $2',
so it is ok to run in unsupported hardware, but not recommended

Patch 3: add discription for old syscall restart convention, explain
why



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-12-05  5:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14  6:41 [Patch V2] mips: minior fix Huang Pei
2020-11-14  6:41 ` [PATCH 1/3] mips: add hp-timing support for MIPS R2 Huang Pei
2020-11-14  6:41 ` [PATCH 2/3] mips: make sp 16-byte aligned on N64/N32 Huang Pei
2020-11-14  6:42 ` [PATCH 3/3] mips: remove useless register spill Huang Pei
2020-11-15  1:22   ` Maciej W. Rozycki
     [not found]     ` <2020111522504369692527@loongson.cn>
2020-11-15 14:56       ` huangpei
2020-12-04 11:24         ` Maciej W. Rozycki
2020-12-05  5:47           ` Huang Pei
2020-11-27  9:22 [Patch V2]: add hp-timing support and fix syscall.S Huang Pei
2020-11-27  9:22 ` [PATCH 2/3] mips: make sp 16-byte aligned on N64/N32 Huang Pei
2020-11-28  8:18 [Patch V3]: add hp-timing support and minor fix Huang Pei
2020-11-28  8:18 ` [PATCH 2/3] mips: make sp 16-byte aligned on N64/N32 Huang Pei
2020-11-30 13:03   ` Adhemerval Zanella
2020-12-04 10:57     ` Maciej W. Rozycki
2020-12-04 12:32       ` Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).