Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 486 for Shift4 (0.28 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/shift_test.go

    			Valu("c", OpConst64, c.config.Types.UInt64, amount, nil),
    			Valu("shift", op, typ, 0, nil, "load", "c"),
    			Valu("store", OpStore, types.TypeMem, 0, c.config.Types.UInt64, "resptr", "shift", "mem"),
    			Exit("store")))
    	Compile(fun.f)
    	return fun
    }
    
    func TestShiftToExtensionAMD64(t *testing.T) {
    	c := testConfig(t)
    	// Test that eligible pairs of constant shifts are converted to extensions.
    	// For example:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "ANDshiftRAreg", argLength: 3, reg: gp31, asm: "AND"}, // arg0 & (arg1>>arg2), signed shift
    		{name: "ORshiftLLreg", argLength: 3, reg: gp31, asm: "ORR"},  // arg0 | arg1<<arg2
    		{name: "ORshiftRLreg", argLength: 3, reg: gp31, asm: "ORR"},  // arg0 | arg1>>arg2, unsigned shift
    		{name: "ORshiftRAreg", argLength: 3, reg: gp31, asm: "ORR"},  // arg0 | arg1>>arg2, signed shift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (Rsh8Ux64 [c] x y) => (Rsh64Ux64 [c] (ZeroExt8to64 x) y)
    (Rsh8Ux(32|16|8) [c] x y) => (Rsh64Ux64 [c] (ZeroExt8to64 x) (ZeroExt(32|16|8)to64 y))
    
    // Signed right shift needs to return 0/-1 if shift amount is >= width of shifted value.
    // We implement this by setting the shift value to (width - 1) if the shift value is >= width.
    
    (Rsh64x64 x y) && shiftIsBounded(v) => (I64ShrS x y)
    (Rsh64x64 x (I64Const [c])) && uint64(c) < 64 => (I64ShrS x (I64Const [c]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    	index := ""
    	if mem.Sign != 0 {
    		sign := ""
    		if mem.Sign < 0 {
    			suffix += ".U"
    		}
    		shift := ""
    		if mem.Count != 0 {
    			shift = fmt.Sprintf("%s%d", plan9Shift[mem.Shift], mem.Count)
    		}
    		index = fmt.Sprintf("(%sR%d%s)", sign, int(mem.Index), shift)
    	}
    	return off + base + index, suffix
    }
    
    type goFPInfo struct {
    	op        Op
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    	case *Map:
    		return "map"
    	case *Chan:
    		return "chan"
    	default:
    		return check.sprintf("%s", typ) // catch-all
    	}
    }
    
    // If e != nil, it must be the shift expression; it may be nil for non-constant shifts.
    func (check *Checker) shift(x, y *operand, e ast.Expr, op token.Token) {
    	// TODO(gri) This function seems overly complex. Revisit.
    
    	var xval constant.Value
    	if x.mode == constant_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/math/big/arith_test.go

    	{argshlVUIn, 7, 0, 1, 1, argshlVUr1, 0, "partial overlap by 6 Words of shlVU and shift of 1"},
    	{argshlVUIn, 7, 0, 1, _W - 1, argshlVUrWm1, 32, "partial overlap by 6 Words of shlVU and shift of _W - 1"},
    	{argshlVUIn, 7, 0, 2, 0, argshlVUr0, 0, "partial overlap by 5 Words of shlVU and shift of 0"},
    	{argshlVUIn, 7, 0, 2, 1, argshlVUr1, 0, "partial overlap by 5 Words of shlVU and shift of 1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/expr.go

    	case *Map:
    		return "map"
    	case *Chan:
    		return "chan"
    	default:
    		return check.sprintf("%s", typ) // catch-all
    	}
    }
    
    // If e != nil, it must be the shift expression; it may be nil for non-constant shifts.
    func (check *Checker) shift(x, y *operand, e syntax.Expr, op syntax.Operator) {
    	// TODO(gri) This function seems overly complex. Revisit.
    
    	var xval constant.Value
    	if x.mode == constant_ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top