Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for opcode (0.12 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    			lastFunction = funcIdx // avoid printing same function twice
    		}
    
    		if o.negative {
    			fmt.Fprintf(&errbuf, "%s:%d: %s: wrong opcode found: %q\n", t.goFileName(), o.line, env, o.opcode.String())
    		} else {
    			fmt.Fprintf(&errbuf, "%s:%d: %s: opcode not found: %q\n", t.goFileName(), o.line, env, o.opcode.String())
    		}
    	}
    	return errors.New(errbuf.String())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	}
    	return printUint16(uint16(c))
    }
    
    // An OpCode is a DNS operation code.
    type OpCode uint16
    
    // GoString implements fmt.GoStringer.GoString.
    func (o OpCode) GoString() string {
    	return printUint16(uint16(o))
    }
    
    // An RCode is a DNS response status code.
    type RCode uint16
    
    // Header.RCode values.
    const (
    	RCodeSuccess        RCode = 0 // NoError
    	RCodeFormatError    RCode = 1 // FormErr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/riscv/obj.go

    	rIFEncoding   = encoding{encode: encodeRIF, validate: validateRIF, length: 4}
    	rFFEncoding   = encoding{encode: encodeRFF, validate: validateRFF, length: 4}
    
    	iIEncoding = encoding{encode: encodeII, validate: validateII, length: 4}
    	iFEncoding = encoding{encode: encodeIF, validate: validateIF, length: 4}
    
    	sIEncoding = encoding{encode: encodeSI, validate: validateSI, length: 4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/loong64/asm.go

    		return 0x0c1<<20 | 0x3<<15 // FCMP.SLT.S
    
    	case ASQRTF:
    		return 0x4511 << 10
    	case ASQRTD:
    		return 0x4512 << 10
    	}
    
    	if a < 0 {
    		c.ctxt.Diag("bad rrr opcode -%v", -a)
    	} else {
    		c.ctxt.Diag("bad rrr opcode %v", a)
    	}
    	return 0
    }
    
    func (c *ctxt0) oprr(a obj.As) uint32 {
    	switch a {
    	case ACLO:
    		return 0x4 << 10
    	case ACLZ:
    		return 0x5 << 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/mips/asm0.go

    		return SP(3, 7) | OP(44, 4)
    	case ASEB:
    		return SP(3, 7) | OP(132, 0)
    	case ASEH:
    		return SP(3, 7) | OP(196, 0)
    	}
    
    	if a < 0 {
    		c.ctxt.Diag("bad rrr opcode -%v", -a)
    	} else {
    		c.ctxt.Diag("bad rrr opcode %v", a)
    	}
    	return 0
    }
    
    func (c *ctxt0) opirr(a obj.As) uint32 {
    	switch a {
    	case AADD:
    		return SP(1, 0)
    	case AADDU:
    		return SP(1, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This contains the majority of valid opcode combinations
    // available in cmd/internal/obj/ppc64/asm9.go with
    // their valid instruction encodings.
    
    #include "../../../../../runtime/textflag.h"
    
    // In case of index mode instructions, usage of
    // (Rx)(R0) is equivalent to (Rx+R0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ppc64/asm.go

    			su.SetRelocAdd(rIdx, r.Add()+int64(ldr.SymGot(targ)))
    		} else if targType == sym.STEXT {
    			if isPLT16_LO_DS {
    				// Expect an ld opcode to nop
    				rewritetonop(target, ldr, su, int64(r.Off()), MASK_OP_LD, OP_LD)
    			} else {
    				// Expect an addis opcode to nop
    				rewritetonop(target, ldr, su, int64(r.Off()), MASK_OP_ADDIS, OP_ADDIS)
    			}
    			// And we can ignore this reloc now.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    	return fcb.encode()
    }
    
    // addFlags32 returns the flags that would be set from computing x+y.
    func addFlags32(x, y int32) flagConstant {
    	var fcb flagConstantBuilder
    	fcb.Z = x+y == 0
    	fcb.N = x+y < 0
    	fcb.C = uint32(x+y) < uint32(x)
    	fcb.V = x >= 0 && y >= 0 && x+y < 0 || x < 0 && y < 0 && x+y >= 0
    	return fcb.encode()
    }
    
    // subFlags32 returns the flags that would be set from computing x-y.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ppc64/ssa.go

    		}
    
    		pp := s.Call(v)
    
    		// Convert the call into a blrl with hint this is not a subroutine return.
    		// The full bclrl opcode must be specified when passing a hint.
    		pp.As = ppc64.ABCL
    		pp.From.Type = obj.TYPE_CONST
    		pp.From.Offset = ppc64.BO_ALWAYS
    		pp.Reg = ppc64.REG_CR0LT // The preferred value if BI is ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    func init() {
    	decoderCover = make([]bool, len(instFormats))
    }
    
    // Decode decodes the 4 bytes in src as a single instruction.
    func Decode(src []byte) (inst Inst, err error) {
    	if len(src) < 4 {
    		return Inst{}, errShort
    	}
    
    	x := binary.LittleEndian.Uint32(src)
    
    Search:
    	for i := range instFormats {
    		f := &instFormats[i]
    		if x&f.mask != f.value {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
Back to top