- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 61 for asmCheck (0.11 sec)
-
test/codegen/issue52635.go
// asmcheck // Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that optimized range memclr works with pointers to arrays. // The clears get inlined, see https://github.com/golang/go/issues/56997 package codegen type T struct { a *[10]int b [10]int } func (t *T) f() { // amd64:-".*runtime.memclrNoHeapPointers"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 18:11:24 UTC 2023 - 816 bytes - Viewed (0) -
test/codegen/logic.go
// asmcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen // Test to make sure that (CMPQ (ANDQ x y) [0]) does not get rewritten to // (TESTQ x y) if the ANDQ has other uses. If that rewrite happens, then one // of the args of the ANDQ needs to be saved so it can be used as the arg to TESTQ. func andWithUse(x, y int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 16:32:25 UTC 2023 - 1.1K bytes - Viewed (0) -
test/codegen/clobberdeadreg.go
// asmcheck -gcflags=-clobberdeadreg //go:build amd64 // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen type S struct { a, b, c, d, e, f int } func F(a, b, c int, d S) { // -2401018187971961171 is 0xdeaddeaddeaddead
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.3K bytes - Viewed (0) -
test/codegen/memops_bigoffset.go
// asmcheck // Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen type big1 struct { w [1<<30 - 1]uint32 } type big2 struct { d [1<<29 - 1]uint64 } func loadLargeOffset(sw *big1, sd *big2) (uint32, uint64) { // ppc64x:`MOVWZ\s+[0-9]+\(R[0-9]+\)`,-`ADD` a3 := sw.w[1<<10]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 18:20:54 UTC 2023 - 2.5K bytes - Viewed (0) -
test/codegen/strings.go
// asmcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen // This file contains code generation tests related to the handling of // string types. func CountRunes(s string) int { // Issue #24923 // amd64:`.*countrunes` return len([]rune(s)) } func CountBytes(s []byte) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 26 17:17:28 UTC 2023 - 2.4K bytes - Viewed (0) -
test/codegen/copy.go
// asmcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen import "runtime" // Check small copies are replaced with moves. func movesmall4() { x := [...]byte{1, 2, 3, 4} // 386:-".*memmove" // amd64:-".*memmove" // arm:-".*memmove" // arm64:-".*memmove" // ppc64x:-".*memmove"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 14:09:29 UTC 2023 - 3.1K bytes - Viewed (0) -
test/codegen/maps.go
// asmcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen // This file contains code generation tests related to the handling of // map types. // ------------------- // // Access Const // // ------------------- // // Direct use of constants in fast map access calls (Issue #19015).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 23 15:51:32 UTC 2023 - 3.6K bytes - Viewed (0) -
test/codegen/switch.go
// asmcheck // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // These tests check code generation of switch statements. package codegen // see issue 33934 func f(x string) int { // amd64:-`cmpstring` switch x { case "": return -1 case "1", "2", "3": return -2 default: return -3 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 18:39:50 UTC 2023 - 3.6K bytes - Viewed (0) -
test/codegen/issue22703.go
// asmcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen type I interface { foo000() foo001() foo002() foo003() foo004() foo005() foo006() foo007() foo008() foo009() foo010() foo011() foo012() foo013() foo014() foo015() foo016() foo017()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 03 20:20:54 UTC 2018 - 5.4K bytes - Viewed (0) -
test/codegen/stack.go
// asmcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen import "runtime" // This file contains code generation tests related to the use of the // stack. // Check that stack stores are optimized away. // 386:"TEXT\t.*, [$]0-" // amd64:"TEXT\t.*, [$]0-" // arm:"TEXT\t.*, [$]-4-"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 21:29:41 UTC 2024 - 3.4K bytes - Viewed (0)