Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TYPE_REGREG (0.19 sec)

  1. src/cmd/internal/obj/addrtype_string.go

    	_ = x[TYPE_BRANCH-1]
    	_ = x[TYPE_TEXTSIZE-2]
    	_ = x[TYPE_MEM-3]
    	_ = x[TYPE_CONST-4]
    	_ = x[TYPE_FCONST-5]
    	_ = x[TYPE_SCONST-6]
    	_ = x[TYPE_REG-7]
    	_ = x[TYPE_ADDR-8]
    	_ = x[TYPE_SHIFT-9]
    	_ = x[TYPE_REGREG-10]
    	_ = x[TYPE_REGREG2-11]
    	_ = x[TYPE_INDIR-12]
    	_ = x[TYPE_REGLIST-13]
    	_ = x[TYPE_SPECIAL-14]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 03:16:26 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/obj7.go

    				q1.To.Reg = REG_R20
    
    				prologueEnd = q1
    
    				// STP (R29, R30), -8(R20)
    				q1 = obj.Appendp(q1, c.newprog)
    				q1.Pos = p.Pos
    				q1.As = ASTP
    				q1.From.Type = obj.TYPE_REGREG
    				q1.From.Reg = REGFP
    				q1.From.Offset = REGLINK
    				q1.To.Type = obj.TYPE_MEM
    				q1.To.Reg = REG_R20
    				q1.To.Offset = -8
    
    				// This is not async preemptible, as if we open a frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/pass.go

    			break
    		}
    		if a.Reg == 0 && a.Index == 0 && a.Scale == 0 && a.Name == 0 && a.Sym == nil {
    			ctxt.Diag("argument is TYPE_ADDR, should be TYPE_CONST, in %v", p)
    		}
    		return
    
    	case TYPE_SHIFT, TYPE_REGREG:
    		if a.Index != 0 || a.Scale != 0 || a.Name != 0 || a.Sym != nil || a.Val != nil {
    			break
    		}
    		return
    
    	case TYPE_INDIR:
    		// Expect sym and name to be set, nothing else.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    				prog.From = a[0]
    				prog.To = a[1]
    				// both 1st operand and 3rd operand are (Rs, Rs+1) register pair.
    				// And the register pair must be contiguous.
    				if (a[0].Type != obj.TYPE_REGREG) || (a[2].Type != obj.TYPE_REGREG) {
    					p.errorf("invalid addressing modes for 1st or 3rd operand to %s instruction, must be register pair", op)
    					return
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/link.go

    //
    //	(reg, reg)
    //		A destination register pair. When used as the last argument of an instruction,
    //		this form makes clear that both registers are destinations.
    //		Encoding:
    //			type = TYPE_REGREG
    //			reg = first register
    //			offset = second register
    //
    //	[reg, reg, reg-reg]
    //		Register list for ARM, ARM64, 386/AMD64.
    //		Encoding:
    //			type = TYPE_REGLIST
    //		On ARM:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/util.go

    			r := (v >> 16) & 31
    			fmt.Fprintf(w, "%s%c%c%d", Rconv(r+RBaseARM64), op[0], op[1], (v>>10)&63)
    		default:
    			panic("TYPE_SHIFT is not supported on " + buildcfg.GOARCH)
    		}
    
    	case TYPE_REGREG:
    		fmt.Fprintf(w, "(%v, %v)", Rconv(int(a.Reg)), Rconv(int(a.Offset)))
    
    	case TYPE_REGREG2:
    		fmt.Fprintf(w, "%v, %v", Rconv(int(a.Offset)), Rconv(int(a.Reg)))
    
    	case TYPE_REGLIST:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    			// ARM64: register pair (R1, R2) for LDP/STP.
    			if prefix != 0 || scale != 0 {
    				p.errorf("illegal address mode for register pair")
    				return
    			}
    			a.Type = obj.TYPE_REGREG
    			a.Offset = int64(r2)
    			// Nothing may follow
    			return
    		}
    		if p.arch.Family == sys.PPC64 {
    			// Special form for PPC64: (R1+R2); alias for (R1)(R2).
    			if prefix != 0 || scale != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm64/asm7.go

    	// preemption sequence clobbers REGTMP.
    	return p.From.Reg == REGTMP || p.To.Reg == REGTMP || p.Reg == REGTMP ||
    		p.From.Type == obj.TYPE_REGREG && p.From.Offset == REGTMP ||
    		p.To.Type == obj.TYPE_REGREG && p.To.Offset == REGTMP
    }
    
    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm/asm5.go

    			return C_FCR
    		}
    		if a.Reg == REG_CPSR || a.Reg == REG_SPSR {
    			return C_PSR
    		}
    		if a.Reg >= REG_SPECIAL {
    			return C_SPR
    		}
    		return C_GOK
    
    	case obj.TYPE_REGREG:
    		return C_REGREG
    
    	case obj.TYPE_REGREG2:
    		return C_REGREG2
    
    	case obj.TYPE_REGLIST:
    		return C_REGLIST
    
    	case obj.TYPE_SHIFT:
    		if a.Reg == 0 {
    			// register shift R>>i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
Back to top