Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MOVHU (0.03 sec)

  1. test/codegen/mathbits.go

    	// wasm:"I64Ctz"
    	return bits.TrailingZeros32(n)
    }
    
    func TrailingZeros16(n uint16) int {
    	// amd64:"BSFL","ORL\\t\\$65536"
    	// 386:"BSFL\t"
    	// arm:"ORR\t\\$65536","CLZ",-"MOVHU\tR"
    	// arm64:"ORR\t\\$65536","RBITW","CLZW",-"MOVHU\tR",-"RBIT\t",-"CLZ\t"
    	// s390x:"FLOGR","OR\t\\$65536"
    	// ppc64x/power8:"POPCNTD","ORIS\\t\\$1"
    	// ppc64x/power9:"CNTTZD","ORIS\\t\\$1"
    	// wasm:"I64Ctz"
    	return bits.TrailingZeros16(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	var src, dst, kind asmKind
    	op := m[1]
    	switch fn.arch.name + "." + op {
    	case "386.FMOVLP":
    		src, dst = 8, 4
    	case "arm.MOVD":
    		src = 8
    	case "arm.MOVW":
    		src = 4
    	case "arm.MOVH", "arm.MOVHU":
    		src = 2
    	case "arm.MOVB", "arm.MOVBU":
    		src = 1
    	// LEA* opcodes don't really read the second arg.
    	// They just take the address of it.
    	case "386.LEAL":
    		dst = 4
    		addr = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. test/codegen/comparisons.go

    // -------------- //
    //    Equality    //
    // -------------- //
    
    // Check that compare to constant string use 2/4/8 byte compares
    
    func CompareString1(s string) bool {
    	// amd64:`CMPW\t\(.*\), [$]`
    	// arm64:`MOVHU\t\(.*\), [R]`,`MOVD\t[$]`,`CMPW\tR`
    	// ppc64le:`MOVHZ\t\(.*\), [R]`,`CMPW\t.*, [$]`
    	// s390x:`MOVHBR\t\(.*\), [R]`,`CMPW\t.*, [$]`
    	return s == "xx"
    }
    
    func CompareString2(s string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top