Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for Shift2 (0.22 sec)

  1. src/crypto/md5/gen.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	err = os.WriteFile(*filename, data, 0644)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    type Data struct {
    	a, b, c, d string
    	Shift1     []int
    	Shift2     []int
    	Shift3     []int
    	Shift4     []int
    	Table1     []uint32
    	Table2     []uint32
    	Table3     []uint32
    	Table4     []uint32
    }
    
    var funcs = template.FuncMap{
    	"dup":     dup,
    	"relabel": relabel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/obj.go

    			sllOp, srlOp = ASLLW, ASRLW
    		}
    		shift1, shift2 := sllOp, srlOp
    		if ins.as == AROR || ins.as == ARORW {
    			shift1, shift2 = shift2, shift1
    		}
    		return []*instruction{
    			&instruction{as: ASUB, rs1: REG_ZERO, rs2: ins.rs2, rd: REG_TMP},
    			&instruction{as: shift2, rs1: ins.rs1, rs2: REG_TMP, rd: REG_TMP},
    			&instruction{as: shift1, rs1: ins.rs1, rs2: ins.rs2, rd: ins.rd},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    			}
    		}
    	})
    	return nil, nil
    }
    
    // checkLongShift checks if shift or shift-assign operations shift by more than
    // the length of the underlying variable.
    func checkLongShift(pass *analysis.Pass, node ast.Node, x, y ast.Expr) {
    	if pass.TypesInfo.Types[x].Value != nil {
    		// Ignore shifts of constants.
    		// These are frequently used for bit-twiddling tricks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. test/codegen/shift.go

    	if shift >= 0 && shift < 64 {
    		// arm64:"LSL",-"CSEL"
    		r1 = val64 << shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSL",-"CSEL"
    		r2 = val32 << shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSL",-"CSEL"
    		r3 = val16 << shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSL",-"CSEL"
    		r4 = val8 << shift
    	}
    	return r1, r2, r3, r4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/memcombine.go

    		}
    	}
    
    	// Check for reads in little-endian or big-endian order.
    	shift0 := r[0].shift
    	isLittleEndian := true
    	for i := int64(0); i < n; i++ {
    		if r[i].shift != shift0+i*size*8 {
    			isLittleEndian = false
    			break
    		}
    	}
    	isBigEndian := true
    	for i := int64(0); i < n; i++ {
    		if r[i].shift != shift0-i*size*8 {
    			isBigEndian = false
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. src/strconv/itoa.go

    		// the compiler to generate better code for the shift operation.
    		shift := uint(bits.TrailingZeros(uint(base))) & 7
    		b := uint64(base)
    		m := uint(base) - 1 // == 1<<shift - 1
    		for u >= b {
    			i--
    			a[i] = digits[uint(u)&m]
    			u >>= shift
    		}
    		// u < base
    		i--
    		a[i] = digits[uint(u)]
    	} else {
    		// general case
    		b := uint64(base)
    		for u >= b {
    			i--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/math/fma.go

    	sign = uint32(b >> 63)
    	exp = int32(b>>52) & mask
    	mantissa = b & fracMask
    
    	if exp == 0 {
    		// Normalize value if subnormal.
    		shift := uint(bits.LeadingZeros64(mantissa) - 11)
    		mantissa <<= shift
    		exp = 1 - int32(shift)
    	} else {
    		// Add implicit 1 bit
    		mantissa |= 1 << 52
    	}
    	return
    }
    
    // FMA returns x * y + z, computed with only one rounding.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 05 22:05:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ADDS	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	ADDSW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUB	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    	SUBW	R7@>2, R5, R16                                   // ERROR "unsupported shift operator"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 03:28:17 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  9. src/cmd/vet/doc.go

    	nilfunc          check for useless comparisons between functions and nil
    	printf           check consistency of Printf format strings and arguments
    	shift            check for shifts that equal or exceed the width of the integer
    	sigchanyzer      check for unbuffered channel of os.Signal
    	slog             check for invalid structured logging calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 00:17:30 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/runtime/asm_386.s

    DATA shifts<>+0x28(SB)/4, $0xffffffff
    DATA shifts<>+0x2c(SB)/4, $0xffffffff
    
    DATA shifts<>+0x30(SB)/4, $0xff0f0e0d
    DATA shifts<>+0x34(SB)/4, $0xffffffff
    DATA shifts<>+0x38(SB)/4, $0xffffffff
    DATA shifts<>+0x3c(SB)/4, $0xffffffff
    
    DATA shifts<>+0x40(SB)/4, $0x0f0e0d0c
    DATA shifts<>+0x44(SB)/4, $0xffffffff
    DATA shifts<>+0x48(SB)/4, $0xffffffff
    DATA shifts<>+0x4c(SB)/4, $0xffffffff
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top