Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestShiftConstAMD64 (0.18 sec)

  1. src/cmd/compile/internal/ssa/shift_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"testing"
    )
    
    func TestShiftConstAMD64(t *testing.T) {
    	c := testConfig(t)
    	fun := makeConstShiftFunc(c, 18, OpLsh64x64, c.config.Types.UInt64)
    	checkOpcodeCounts(t, fun.f, map[Op]int{OpAMD64SHLQconst: 1, OpAMD64CMPQconst: 0, OpAMD64ANDQconst: 0})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top