Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for TYPE_BRANCH (0.14 sec)

  1. src/cmd/internal/obj/wasm/wasmobj.go

    			for _, b := range unwindExitBranches {
    				b.To = obj.Addr{Type: obj.TYPE_BRANCH, Val: p}
    			}
    		}
    		if len(entryPointLoopBranches) > 0 {
    			p = appendp(p, ALoop) // entryPointLoop, used to jump between basic blocks
    			for _, b := range entryPointLoopBranches {
    				b.To = obj.Addr{Type: obj.TYPE_BRANCH, Val: p}
    			}
    		}
    		if numResumePoints > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		return
    	default:
    		p.errorf("wrong number of arguments to %s instruction", op)
    		return
    	}
    	switch {
    	case target.Type == obj.TYPE_BRANCH:
    		// JMP 4(PC)
    		*targetAddr = obj.Addr{
    			Type:   obj.TYPE_BRANCH,
    			Offset: p.pc + 1 + target.Offset, // +1 because p.pc is incremented in append, below.
    		}
    	case target.Type == obj.TYPE_REG:
    		// JMP R1
    		*targetAddr = *target
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/asm_test.go

    		{obj.Addr{Type: obj.TYPE_CONST, Name: obj.NAME_NONE, Offset: -(1 << 34)}, C_64CON},
    
    		// Branch like arguments
    		{obj.Addr{Type: obj.TYPE_BRANCH, Sym: &obj.LSym{Type: objabi.SDATA}}, cmplx{C_BRA, C_BRAPIC, C_BRAPIC, C_BRA}},
    		{obj.Addr{Type: obj.TYPE_BRANCH}, C_BRA},
    	}
    
    	pic_ctxt9 := ctxt9{ctxt: &obj.Link{Flag_shared: true, Arch: &Linkppc64}, autosize: 0}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/a.out.go

    	C_LACON  // 32-bit offset in auto constant $a(FP)
    	C_AECON  // ADDCON offset in extern constant $e(SB)
    
    	// TODO(aram): only one branch class should be enough
    	C_SBRA // for TYPE_BRANCH
    	C_LBRA
    
    	C_ZAUTO       // 0(RSP)
    	C_NSAUTO_16   // -256 <= x < 0, 0 mod 16
    	C_NSAUTO_8    // -256 <= x < 0, 0 mod 8
    	C_NSAUTO_4    // -256 <= x < 0, 0 mod 4
    	C_NSAUTO      // -256 <= x < 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/util.go

    			io.WriteString(w, Rconv(int(a.Reg)))
    		}
    		if (RBaseARM64+1<<10+1<<9) /* arm64.REG_ELEM */ <= a.Reg &&
    			a.Reg < (RBaseARM64+1<<11) /* arm64.REG_ELEM_END */ {
    			fmt.Fprintf(w, "[%d]", a.Index)
    		}
    
    	case TYPE_BRANCH:
    		if a.Sym != nil {
    			fmt.Fprintf(w, "%s%s(SB)", a.Sym.Name, abiDecorate(a, abiDetail))
    		} else if a.Target() != nil {
    			fmt.Fprint(w, a.Target().Pc)
    		} else {
    			fmt.Fprintf(w, "%d(PC)", a.Offset)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    	}
    	switch reg {
    	case "FP":
    		addr.Name = obj.NAME_PARAM
    	case "PC":
    		if prefix != 0 {
    			p.errorf("illegal addressing mode for PC")
    		}
    		addr.Type = obj.TYPE_BRANCH // We set the type and leave NAME untouched. See asmJump.
    	case "SB":
    		addr.Name = obj.NAME_EXTERN
    		if isStatic {
    			addr.Name = obj.NAME_STATIC
    		}
    	case "SP":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top