- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 46 for asmCheck (0.51 sec)
-
test/codegen/README
against a set of regexps to be specified in comments that follow a special syntax (described below). The test driver is implemented as an action within the GOROOT/test test suite, called "asmcheck". The codegen harness is part of the all.bash test suite, but for performance reasons only the codegen tests for the host machine's GOARCH are enabled by default, and only on GOOS=linux.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 5.2K bytes - Viewed (0) -
test/codegen/noextend.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 "math/bits" var sval64 [8]int64 var sval32 [8]int32 var sval16 [8]int16 var sval8 [8]int8 var val64 [8]uint64 var val32 [8]uint32 var val16 [8]uint16 var val8 [8]uint8 // Avoid zero/sign extensions following a load
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 5.4K bytes - Viewed (0) -
test/codegen/math.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 "math" var sink64 [8]float64 func approx(x float64) { // amd64/v2:-".*x86HasSSE41" amd64/v3:-".*x86HasSSE41" // amd64:"ROUNDSD\t[$]2" // s390x:"FIDBR\t[$]6" // arm64:"FRINTPD" // ppc64x:"FRIP" // wasm:"F64Ceil"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 6.2K bytes - Viewed (0) -
test/codegen/mapaccess.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 // These tests check that mapaccess calls are not used. // Issues #23661 and #24364. func mapCompoundAssignmentInt8() { m := make(map[int8]int8, 0) var k int8 = 0 // 386:-".*mapaccess" // amd64:-".*mapaccess" // arm:-".*mapaccess"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:36:38 UTC 2022 - 9.1K bytes - Viewed (0) -
test/codegen/slices.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 "unsafe" // This file contains code generation tests related to the handling of // slice types. // ------------------ // // Clear // // ------------------ // // Issue #5373 optimize memset idiom
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 18:57:27 UTC 2023 - 9.8K bytes - Viewed (0) -
test/codegen/condmove.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 func cmovint(c int) int { x := c + 4 if x < 0 { x = 182 } // amd64:"CMOVQLT" // arm64:"CSEL\tLT" // ppc64x:"ISEL\t[$]0" // wasm:"Select" return x } func cmovchan(x, y chan int) chan int { if x != y { x = y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 20:57:33 UTC 2023 - 6.2K bytes - Viewed (0) -
test/codegen/rotate.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 "math/bits" // ------------------- // // const rotates // // ------------------- // func rot64(x uint64) uint64 { var a uint64 // amd64:"ROLQ\t[$]7" // ppc64x:"ROTL\t[$]7" // loong64: "ROTRV\t[$]57"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 6K bytes - Viewed (0) -
test/codegen/bool.go
// asmcheck // Copyright 2020 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 ( "math/bits" ) // This file contains codegen tests related to boolean simplifications/optimizations. func convertNeq0B(x uint8, c bool) bool { // amd64:"ANDL\t[$]1",-"SETNE" // ppc64x:"RLDICL",-"CMPW",-"ISEL" b := x&1 != 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 22:12:32 UTC 2023 - 6.7K bytes - Viewed (0) -
test/codegen/bits.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 "math/bits" /************************************ * 64-bit instructions ************************************/ func bitcheck64_constleft(a uint64) (n int) { // amd64:"BTQ\t[$]63" if a&(1<<63) != 0 { return 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 7.8K bytes - Viewed (0) -
test/codegen/bitfield.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 codegen tests related to bit field // insertion/extraction simplifications/optimizations. func extr1(x, x2 uint64) uint64 { return x<<7 + x2>>57 // arm64:"EXTR\t[$]57," } func extr2(x, x2 uint64) uint64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 06:11:32 UTC 2022 - 9.6K bytes - Viewed (0)