Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    //go:build amd64 || arm64
    
    package ssa
    
    // This file tests the functions addFlags64 and subFlags64 by comparing their
    // results to what the chip calculates.
    
    import (
    	"runtime"
    	"testing"
    )
    
    func TestAddFlagsNative(t *testing.T) {
    	var numbers = []int64{
    		1, 0, -1,
    		2, -2,
    		1<<63 - 1, -1 << 63,
    	}
    	coverage := map[flagConstant]bool{}
    	for _, x := range numbers {
    		for _, y := range numbers {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:36:17 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top