Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for operand (0.07 sec)

  1. src/cmd/asm/internal/asm/asm.go

    // GLOBL shifts<>(SB),$256
    func (p *Parser) asmGlobl(operands [][]lex.Token) {
    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for GLOBL")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB).
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("GLOBL", &nameAddr, false) {
    		return
    	}
    	next := 1
    
    	// Next operand is the optional flag, a literal integer.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	}
    	word, cond = p.lex.Text(), ""
    	operands = scratch[:0]
    	// Zero or more comma-separated operands, one per loop.
    	nesting := 0
    	colon := -1
    	for tok != '\n' && tok != ';' {
    		// Process one operand.
    		var items []lex.Token
    		if cap(operands) > len(operands) {
    			// Reuse scratch items slice.
    			items = operands[:cap(operands)][len(operands)][:0]
    		} else {
    			items = make([]lex.Token, 0, 3)
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VMOV	V8.D[0], V12.S[1]                                // ERROR "operand mismatch"
    	VMOV	V8.D[0], V12.H[1]                                // ERROR "operand mismatch"
    	VMOV	V8.D[0], V12.B[1]                                // ERROR "operand mismatch"
    	VMOV	V8.S[0], V12.H[1]                                // ERROR "operand mismatch"
    	VMOV	V8.S[0], V12.B[1]                                // ERROR "operand mismatch"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 10:48:50 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates integer for safe arithmetic operations
         *
         * @param a first operand
         * @param b second operand
         * @param operation the operation name
         * @throws ArithmeticException if operation would overflow
         */
        public static void validateIntegerAddition(int a, int b, String operation) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/loong64error.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    TEXT errors(SB),$0
    	VSHUF4IV	$16, V1, V2	// ERROR "operand out of range 0 to 15"
    	XVSHUF4IV	$16, X1, X2	// ERROR "operand out of range 0 to 15"
    	ADDV16		$1, R4, R5	// ERROR "the constant must be a multiple of 65536."
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Sep 04 19:24:25 UTC 2025
    - 454 bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/pseudo_test.go

    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    	nonRuntimeTests := []errtest{
    		{"TEXT", "", "expect two or three operands for TEXT"},
    		{"TEXT", "%", "expect two or three operands for TEXT"},
    		{"TEXT", "1, 1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/riscv64.go

    	return op == riscv.AVSETVLI || op == riscv.AVSETIVLI
    }
    
    var riscv64SpecialOperand map[string]riscv.SpecialOperand
    
    // RISCV64SpecialOperand returns the internal representation of a special operand.
    func RISCV64SpecialOperand(name string) riscv.SpecialOperand {
    	if riscv64SpecialOperand == nil {
    		// Generate mapping when function is first called.
    		riscv64SpecialOperand = map[string]riscv.SpecialOperand{}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. doc/go_spec.html

    </pre>
    
    <h2 id="Expressions">Expressions</h2>
    
    <p>
    An expression specifies the computation of a value by applying
    operators and functions to operands.
    </p>
    
    <h3 id="Operands">Operands</h3>
    
    <p>
    Operands denote the elementary values in an expression. An operand may be a
    literal, a (possibly <a href="#Qualified_identifiers">qualified</a>)
    non-<a href="#Blank_identifier">blank</a> identifier denoting a
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// Unsupported broadcast.
    	VFPCLASSSD.BCST $0, (AX), K2, K1 // ERROR "unsupported broadcast"
    	VFPCLASSSS.BCST $0, (AX), K2, K1 // ERROR "unsupported broadcast"
    	// Broadcast without memory operand.
    	VADDPD.BCST X3, X2, K1, X1       // ERROR "illegal broadcast without memory argument"
    	VADDPD.BCST X3, X2, K1, X1       // ERROR "illegal broadcast without memory argument"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm.go

    		(1 << 4) /* must be set */
    	return offset, arm.AMRC, true
    }
    
    // IsARMMULA reports whether the op (as defined by an arm.A* constant) is
    // MULA, MULS, MMULA, MMULS, MULABB, MULAWB or MULAWT, the 4-operand instructions.
    func IsARMMULA(op obj.As) bool {
    	switch op {
    	case arm.AMULA, arm.AMULS, arm.AMMULA, arm.AMMULS, arm.AMULABB, arm.AMULAWB, arm.AMULAWT:
    		return true
    	}
    	return false
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top