Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for c11 (0.03 sec)

  1. test/codegen/comparisons.go

    	}
    	// arm64:`CMN`,-`CMP`
    	if a*c+b != 0 {
    		c9 = 1
    	}
    	// arm64:`CMP`,-`CMN`
    	if b*c-a == 0 {
    		c10 = 1
    	}
    	// arm64:`CMP`,-`CMN`
    	if a*d-b != 0 {
    		c11 = 1
    	}
    	return c1 + c2 + c3 + c4 + c5 + c6 + c7 + c8 + c9 + c10 + c11
    }
    
    func cmpToCmnLessThan(a, b, c, d int) int {
    	var c1, c2, c3, c4 int
    	// arm64:`CMN`,`CSET\tMI`,-`CMP`
    	if a+1 < 0 {
    		c1 = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/runtime/crash_cgo_test.go

    	}
    	if runtime.GOOS == "windows" {
    		t.Skipf("skipping: test requires pthread support")
    		// TODO: Can this test be rewritten to use the C11 thread API instead?
    	}
    
    	testenv.MustHaveGoRun(t)
    
    	// This test requires building various packages with -race, so
    	// it's somewhat slow.
    	if testing.Short() {
    		t.Skip("skipping test in -short mode")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. src/runtime/race.go

    // sections of code).
    // RaceAcquire establishes a happens-before relation with the preceding
    // RaceReleaseMerge on addr up to and including the last RaceRelease on addr.
    // In terms of the C memory model (C11 §5.1.2.4, §7.17.3),
    // RaceAcquire is equivalent to atomic_load(memory_order_acquire).
    //
    //go:nosplit
    func RaceAcquire(addr unsafe.Pointer) {
    	raceacquire(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    				used[goid] = true
    				ident[cid] = goid
    			}
    		}
    	}
    
    	anon := 0
    	for _, f := range dt.Field {
    		name := f.Name
    		ft := f.Type
    
    		// In godefs mode, if this field is a C11
    		// anonymous union then treat the first field in the
    		// union as the field in the struct. This handles
    		// cases like the glibc <sys/resource.h> file; see
    		// issue 6677.
    		if *godefs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top