]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal: fix test error on loong64
authorXiaodong Liu <liuxiaodong@loongson.cn>
Thu, 25 Nov 2021 06:20:39 +0000 (14:20 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 12 Apr 2022 02:20:36 +0000 (02:20 +0000)
commitace7672526692f8290bd98e339169c6eca76ba07
treea0b5380581b57c38a5e85b29d3fd981703a7e279
parentca7c6ef33d9eca2dbc7eb46601a051dc7dc4e411
cmd/compile/internal: fix test error on loong64

For TestLogOpt test case, add loong64 support to test the host
architecture and os.

The Ctz64 is not intrinsified on loong64 for TestIntendedInlining.

Contributors to the loong64 port are:
  Weining Lu <luweining@loongson.cn>
  Lei Wang <wanglei@loongson.cn>
  Lingqin Gong <gonglingqin@loongson.cn>
  Xiaolin Zhao <zhaoxiaolin@loongson.cn>
  Meidan Li <limeidan@loongson.cn>
  Xiaojuan Zhai <zhaixiaojuan@loongson.cn>
  Qiyuan Pu <puqiyuan@loongson.cn>
  Guoqi Chen <chenguoqi@loongson.cn>

This port has been updated to Go 1.15.6:
  https://github.com/loongson/go

Updates #46229

Change-Id: I4ca290bf725425a9a6ac2c6767a5bf4ff2339d0e
Reviewed-on: https://go-review.googlesource.com/c/go/+/367043
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
src/cmd/compile/internal/logopt/logopt_test.go
src/cmd/compile/internal/test/inl_test.go