- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for operands (0.08 seconds)
-
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.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 27.5K bytes - Click Count (0) -
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) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 17 19:57:47 GMT 2026 - 37.3K bytes - Click Count (0) -
src/cmd/asm/internal/arch/riscv64.go
} // Add the CSRs for csrCode, csrName := range riscv.CSRs { // The set of RVV special operand names and the set of CSR special operands // names are disjoint and so can safely share a single namespace. However, // it's possible that a future update to the CSRs in inst.go could introduce // a conflict. This check ensures that such a conflict does not go // unnoticed. if _, ok := riscv64SpecialOperand[csrName]; ok {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 04:17:57 GMT 2026 - 3K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/riscv64error.s
// Memory Ordering Instructions FENCE X1, R // ERROR "invalid FENCE predecessor operand" FENCE R, X2 // ERROR "invalid FENCE successor operand" FENCE $1, R // ERROR "invalid FENCE predecessor operand" FENCE R, $2 // ERROR "invalid FENCE successor operand" FENCE.TSO R, R // ERROR "FENCE.TSO must not have operands" // // "V" Standard Extension for Vector Operations, Version 1.0 //
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 04:17:57 GMT 2026 - 27.2K bytes - Click Count (0) -
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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1) -
src/cmd/asm/internal/arch/arch.go
// Pseudo-registers. register["SB"] = RSB register["FP"] = RFP register["PC"] = RPC register["SP"] = RSP registerPrefix := map[string]bool{ "F": true, "R": true, } // special operands for DMB/DSB instructions register["MB_SY"] = arm.REG_MB_SY register["MB_ST"] = arm.REG_MB_ST register["MB_ISH"] = arm.REG_MB_ISH register["MB_ISHST"] = arm.REG_MB_ISHST register["MB_NSH"] = arm.REG_MB_NSH
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 22K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/arm64error.s
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 24 21:29:25 GMT 2026 - 38.5K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
<- y if on == 1, and does nothing otherwise. // // Both operands must have the same announced length. // //go:norace func (x *Nat) assign(on choice, y *Nat) *Nat { // Eliminate bounds checks in the loop. size := len(x.limbs) xLimbs := x.limbs[:size] yLimbs := y.limbs[:size] mask := ctMask(on) for i := 0; i < size; i++ { xLimbs[i] ^= mask & (xLimbs[i] ^ yLimbs[i]) } return x } // add computes x += y and returns the carry. // // Both operands must have the same announced length. // //go:norace func...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
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." ADDV16 $65535, R4, R5 // ERROR "the constant must be a multiple of 65536."
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 28 01:21:57 GMT 2025 - 689 bytes - Click Count (0) -
src/cmd/asm/internal/arch/arm64.go
"ADRP": true, } func jumpArm64(word string) bool { return arm64Jump[word] } var arm64SpecialOperand map[string]arm64.SpecialOperand // ARM64SpecialOperand returns the internal representation of a special operand. func ARM64SpecialOperand(name string) arm64.SpecialOperand { if arm64SpecialOperand == nil { // Generate mapping when function is first called. arm64SpecialOperand = map[string]arm64.SpecialOperand{}
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 6K bytes - Click Count (0)