Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
Guoqi Chen 6c1b26c550 unix: always zero the higher bits of return value on linux/loong64 syscalls
All loong64 syscalls return values only via R4/A0, and R5/A1 may contain
unrelated content. Always zero the second return value.

Change-Id: Ic889f33158c4e4999bd94bd768d1094e95bc6421
Reviewed-on: https://go-review.googlesource.com/c/sys/+/411634
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: David Chase <drchase@google.com>
2022-06-14 16:21:38 +00:00
limeidan 83041a38b1 unix: provide linux/loong64 assembly for syscalls
Updates golang/go#46229

Change-Id: I0c0d9224312915fc3b86a0cd4abb344286449909
Reviewed-on: https://go-review.googlesource.com/c/sys/+/399335
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2022-04-12 01:58:02 +00:00