Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBLSR (0.23 sec)

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

    		}
    		if got := uint32(tt.x) ^ (uint32(tt.x) - 1); got != uint32(tt.want) {
    			t.Errorf("%#x ^ (%#x-1) = %#x, want %#x", tt.x, tt.x, got, uint32(tt.want))
    		}
    	}
    }
    
    // Test to use BLSR, if available
    func TestBLSR(t *testing.T) {
    	for _, tt := range []struct {
    		x, want uint64
    	}{
    		{0b00001111, 0b00001110},
    		{0b00001110, 0b00001100},
    		{0b00001100, 0b00001000},
    		{0b11000110, 0b11000100},
    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