Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for Imm (0.1 sec)

  1. src/cmd/asm/internal/asm/testdata/mips.s

    	//	}
    	SLL	R1, R2
    
    	//	LSHW imm ',' sreg ',' rreg
    	//	{
    	//		outcode(int($1), &$2, int($4), &$6);
    	//	}
    	SLL	$4, R1, R2
    
    	//	LSHW imm ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	SLL	$4, R1
    
    	//
    	// move immediate: macro for lui+or, addi, addis, and other combinations
    	//
    	//	LMOVW imm ',' rreg
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/mips64.s

    	ROTRV	R16, R9		// 02094856
    
    //	LSHW imm ',' sreg ',' rreg
    //	{
    //		outcode(int($1), &$2, int($4), &$6);
    //	}
    	SLL	$19, R22, R21	// 0016acc0
    	SLLV	$19, R22, R21	// 0016acf8
    	SRL	$31, R6, R17	// 00068fc2
    	SRLV	$31, R6, R17	// 00068ffa
    	SRA	$8, R8, R19	// 00089a03
    	SRAV	$19, R8, R7	// 00083cfb
    	ROTR	$12, R8, R3	// 00281b02
    	ROTRV	$8, R22, R22	// 0036b23a
    
    //	LSHW imm ',' rreg
    //	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/x86/x86asm/intel.go

    				}
    			}
    		}
    	}
    
    	switch inst.Op {
    	case AAM, AAD:
    		if imm, ok := iargs[0].(Imm); ok {
    			if inst.DataSize == 32 {
    				iargs[0] = Imm(uint32(int8(imm)))
    			} else if inst.DataSize == 16 {
    				iargs[0] = Imm(uint16(int8(imm)))
    			}
    		}
    
    	case PUSH:
    		if imm, ok := iargs[0].(Imm); ok {
    			iargs[0] = Imm(uint32(imm))
    		}
    	}
    
    	for _, p := range inst.Prefix {
    		if p&PrefixImplicit != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 11.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go

    			}
    		}
    	}
    }
    
    // An Imm is an integer constant.
    type Imm struct {
    	Imm     uint32
    	Decimal bool
    }
    
    func (Imm) isArg() {}
    
    func (i Imm) String() string {
    	if !i.Decimal {
    		return fmt.Sprintf("#%#x", i.Imm)
    	} else {
    		return fmt.Sprintf("#%d", i.Imm)
    	}
    }
    
    type Imm64 struct {
    	Imm     uint64
    	Decimal bool
    }
    
    func (Imm64) isArg() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    			op = "int3"
    		}
    
    	case CMPPS, CMPPD, CMPSD_XMM, CMPSS:
    		imm, ok := inst.Args[2].(Imm)
    		if ok && 0 <= imm && imm < 8 {
    			inst.Args[2] = nil
    			op = cmppsOps[imm] + op[3:]
    		}
    
    	case PCLMULQDQ:
    		imm, ok := inst.Args[2].(Imm)
    		if ok && imm&^0x11 == 0 {
    			inst.Args[2] = nil
    			op = pclmulqOps[(imm&0x10)>>3|(imm&1)]
    		}
    
    	case XLATB:
    		if markLastImplicit(&inst, PrefixAddrSize) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.json

    {"Name":"DCPS1","Bits":"1|1|0|1|0|1|0|0|1|0|1|imm16:16|0|0|0|0|1","Arch":"System variant","Syntax":"DCPS1 {#<imm>}","Code":"","Alias":""},
    {"Name":"DCPS2","Bits":"1|1|0|1|0|1|0|0|1|0|1|imm16:16|0|0|0|1|0","Arch":"System variant","Syntax":"DCPS2 {#<imm>}","Code":"","Alias":""},
    {"Name":"DCPS3","Bits":"1|1|0|1|0|1|0|0|1|0|1|imm16:16|0|0|0|1|1","Arch":"System variant","Syntax":"DCPS3 {#<imm>}","Code":"","Alias":""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 234.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    type Rel int32
    
    func (Rel) isArg() {}
    
    func (r Rel) String() string {
    	return fmt.Sprintf(".%+d", r)
    }
    
    // An Imm is an integer constant.
    type Imm int64
    
    func (Imm) isArg() {}
    
    func (i Imm) String() string {
    	return fmt.Sprintf("%#x", int64(i))
    }
    
    func (i Inst) String() string {
    	var buf bytes.Buffer
    	for _, p := range i.Prefix {
    		if p == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/tables.go

    	// CMN <Wn|WSP>, #<imm>{, <shift>}
    	{0xff00001f, 0x3100001f, CMN, instArgs{arg_Wns, arg_IAddSub}, nil},
    	// ADDS <Wd>, <Wn|WSP>, #<imm>{, <shift>}
    	{0xff000000, 0x31000000, ADDS, instArgs{arg_Wd, arg_Wns, arg_IAddSub}, nil},
    	// CMN <Xn|SP>, #<imm>{, <shift>}
    	{0xff00001f, 0xb100001f, CMN, instArgs{arg_Xns, arg_IAddSub}, nil},
    	// ADDS <Xd>, <Xn|SP>, #<imm>{, <shift>}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 211.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go

    		case xArgImm8:
    			inst.Args[narg] = Imm(imm8)
    			narg++
    
    		case xArgImm8u:
    			inst.Args[narg] = Imm(uint8(imm8))
    			narg++
    
    		case xArgImm16:
    			inst.Args[narg] = Imm(int16(imm))
    			narg++
    
    		case xArgImm16u:
    			inst.Args[narg] = Imm(uint16(imm))
    			narg++
    
    		case xArgImm32:
    			inst.Args[narg] = Imm(int32(imm))
    			narg++
    
    		case xArgImm64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

    		}
    		return op + " (" + args[1] + ")(" + args[0] + ")"
    
    	// branch instructions needs additional handling
    	case BCLR:
    		if int(inst.Args[0].(Imm))&20 == 20 { // unconditional
    			return "RET"
    		}
    		return op + " " + strings.Join(args, ", ")
    	case BC:
    		bo := int(inst.Args[0].(Imm))
    		bi := int(inst.Args[1].(CondReg) - Cond0LT)
    		bcname := condName[((bo&0x8)>>1)|(bi&0x3)]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 10.9K bytes
    - Viewed (0)
Back to top