Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBLSI (0.12 sec)

  1. src/cmd/compile/internal/amd64/versions_test.go

    		}
    		if got := uint32(tt.x) &^ uint32(tt.y); got != uint32(tt.want) {
    			t.Errorf("%#x &^ %#x = %#x, want %#x", tt.x, tt.y, got, tt.want)
    		}
    	}
    }
    
    // Test to use BLSI, if available
    func TestBLSI(t *testing.T) {
    	for _, tt := range []struct {
    		x, want uint64
    	}{
    		{0b00001111, 0b001},
    		{0b00001110, 0b010},
    		{0b00001100, 0b100},
    		{0b11000110, 0b010},
    		{0b00000000, 0b000},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
Back to top