Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 174 for mcov (0.07 sec)

  1. test/codegen/math.go

    	// amd64:"(MOVB\t[$]0)|(XORL\t[A-Z][A-Z0-9]+, [A-Z][A-Z0-9]+)",-"FCMP",-"MOVB\t[$]1"
    	// s390x:"MOV(B|BZ|D)\t[$]0,",-"FCMPU",-"MOV(B|BZ|D)\t[$]1,"
    	return 0.5 == float64(uint32(1)) || 1.5 > float64(uint64(1<<63))
    }
    
    func constantCheck32() bool {
    	// amd64:"MOV(B|L)\t[$]1",-"FCMP",-"MOV(B|L)\t[$]0"
    	// s390x:"MOV(B|BZ|D)\t[$]1,",-"FCMPU",-"MOV(B|BZ|D)\t[$]0,"
    	return float32(0.5) <= float32(int64(1)) && float32(1.5) >= float32(int32(-1<<31))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/obj7.go

    				}
    
    				// MOV panic_argp(RT1), RT2
    				mov := obj.Appendp(last, c.newprog)
    				mov.As = AMOVD
    				mov.From.Type = obj.TYPE_MEM
    				mov.From.Reg = REGRT1
    				mov.From.Offset = 0 // Panic.argp
    				mov.To.Type = obj.TYPE_REG
    				mov.To.Reg = REGRT2
    
    				// CBNZ branches to the MOV above
    				cbnz.To.SetTarget(mov)
    
    				// ADD $(autosize+8), SP, R20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  3. test/codegen/condmove.go

    func cmovfloatmove(x, y int) float64 {
    	a := 1.0
    	if x <= y {
    		a = 2.0
    	}
    	// amd64:-"CMOV"
    	// arm64:-"CSEL"
    	// ppc64x:-"ISEL"
    	// wasm:-"Select"
    	return a
    }
    
    // On amd64, the following patterns trigger comparison inversion.
    // Test that we correctly invert the CMOV condition
    var gsink int64
    var gusink uint64
    
    func cmovinvert1(x, y int64) int64 {
    	if x < gsink {
    		y = -y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64splitload.rules

    // For example:
    // (CMPBconstload c (ADDQ x y)) -> (CMPBconstloadidx1 c x y) -> (CMPB c (MOVBloadidx1 x y))
    
    (CMP(Q|L|W|B)load {sym} [off] ptr x mem) => (CMP(Q|L|W|B) (MOV(Q|L|W|B)load {sym} [off] ptr mem) x)
    
    (CMP(Q|L|W|B)constload {sym} [vo] ptr mem) && vo.Val() == 0 => (TEST(Q|L|W|B) x:(MOV(Q|L|W|B)load {sym} [vo.Off()] ptr mem) x)
    
    (CMPQconstload {sym} [vo] ptr mem) && vo.Val() != 0 => (CMPQconst (MOVQload {sym} [vo.Off()] ptr mem) [vo.Val()])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/cover/cover_test.go

    		offset += i + j
    	}
    	return directives
    }
    
    // Makes sure that `cover -func=profile.cov` reports accurate coverage.
    // Issue #20515.
    func TestCoverFunc(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	// testcover -func ./testdata/profile.cov
    	coverProfile := filepath.Join(testdata, "profile.cov")
    	cmd := testenv.Command(t, testcover(t), "-func", coverProfile)
    	out, err := cmd.Output()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_statements.txt

    ! stderr 'compile(\.exe"?)? -'
    ! stderr 'cover(\.exe"?)? -'
    [GOEXPERIMENT:coverageredesign] stderr 'covdata(\.exe"?)? percent'
    
    # Now add in -coverprofile.
    go test -cover -coverprofile=cov.dat ./pkg1 ./pkg2 ./pkg3 ./pkg4
    [!GOEXPERIMENT:coverageredesign] stdout 'pkg1	\[no test files\]'
    [GOEXPERIMENT:coverageredesign] stdout 'pkg1		coverage: 0.0% of statements'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:36:30 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/branchelim.go

    			// amd64 doesn't support CMOV with byte registers
    			return false
    		}
    		return true
    	default:
    		return false
    	}
    }
    
    // elimIf converts the one-way branch starting at dom in f to a conditional move if possible.
    // loadAddr is a set of values which are used to compute the address of a load.
    // Those values are exempt from CMOV generation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/asm_i386_masm/sum.s

        .386
        .model    flat
    
    PUBLIC    _sum
    _TEXT     SEGMENT
    _sum    PROC
        mov    eax, DWORD PTR 4[esp]
        add    eax, DWORD PTR 8[esp]
        ret    0
    _sum    ENDP
    _TEXT   ENDS
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 184 bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/obj6.go

    		// $LEA sym, Rx becomes $MOV $sym, Rx which will be rewritten below
    		p.As = mov
    		p.From.Type = obj.TYPE_ADDR
    	}
    	if p.From.Type == obj.TYPE_ADDR && p.From.Name == obj.NAME_EXTERN && !p.From.Sym.Local() {
    		// $MOV $sym, Rx becomes $MOV sym@GOT, Rx
    		// $MOV $sym+<off>, Rx becomes $MOV sym@GOT, Rx; $LEA <off>(Rx), Rx
    		// On 386 only, more complicated things like PUSHL $sym become $MOV sym@GOT, CX; PUSHL CX
    		cmplxdest := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    # packages); prior to the fix for #58770 Go 1.20 would show 100%
    # coverage. For packages "x" and "f" (which have no tests), check for
    # 0% stmts covered (as opposed to "no test files").
    
    go test -count=1 -coverprofile=cov.dat -coverpkg=./... ./...
    stdout '^\s*\?\s+M/n\s+\[no test files\]'
    stdout '^\s*M/x\s+coverage: 0.0% of statements'
    stdout '^\s*M/f\s+coverage: 0.0% of statements'
    stdout '^ok\s+M/a\s+\S+\s+coverage: 30.0% of statements in ./...'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top