mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.simd] cmd/compile: remove unnecessary code from early simd prototype
The code overwrites a SIMD vector's register numbers is from an early prototype. Now CalcStructSize and simdify take care of it. Change-Id: I15415f796ddb04623b8cabdd2e39cb9c9593c72e Reviewed-on: https://go-review.googlesource.com/c/go/+/707136 Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
578777bf7c
commit
b4d1e018a8
1 changed files with 0 additions and 4 deletions
|
|
@ -411,10 +411,6 @@ func CalcSize(t *Type) {
|
||||||
}
|
}
|
||||||
CalcStructSize(t)
|
CalcStructSize(t)
|
||||||
w = t.width
|
w = t.width
|
||||||
if t.IsSIMD() { // XXX
|
|
||||||
t.intRegs = 0
|
|
||||||
t.floatRegs = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
// make fake type to check later to
|
// make fake type to check later to
|
||||||
// trigger function argument computation.
|
// trigger function argument computation.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue