- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 61 for asmCheck (0.14 sec)
-
test/codegen/bmi.go
// asmcheck // 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 func andn64(x, y int64) int64 { // amd64/v3:"ANDNQ" return x &^ y } func andn32(x, y int32) int32 { // amd64/v3:"ANDNL" return x &^ y } func blsi64(x int64) int64 { // amd64/v3:"BLSIQ" return x & -x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 04:58:59 UTC 2023 - 4.2K bytes - Viewed (0) -
test/codegen/floats.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 arithmetic // simplifications and optimizations on float types. // For codegen tests on integer types, see arithmetic.go. // --------------------- // // Strength-reduce // // --------------------- //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 4.9K bytes - Viewed (0) -
test/codegen/compare_and_branch.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. package codegen //go:noinline func dummy() {} // Signed 64-bit compare-and-branch. func si64(x, y chan int64) { // s390x:"CGRJ\t[$](2|4), R[0-9]+, R[0-9]+, " for <-x < <-y { dummy() } // s390x:"CL?GRJ\t[$]8, R[0-9]+, R[0-9]+, " for <-x == <-y {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 21:01:50 UTC 2023 - 4.5K bytes - Viewed (0) -
test/codegen/fuse.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. package codegen // Notes: // - these examples use channels to provide a source of // unknown values that cannot be optimized away // - these examples use for loops to force branches // backward (predicted taken) // ---------------------------------- //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 03 14:30:26 UTC 2020 - 4.8K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
} return env } // asmChecks represents all the asmcheck checks present in a test file // The outer map key is the build triplet in which the checks must be performed. // The inner map key represent the source file line ("filename.go:1234") at which the // checks must be performed. type asmChecks map[buildEnv]map[string][]wantedAsmOpcode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
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/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/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)