Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for JUMPTABLE (0.12 sec)

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

    	ArgLiveInfo        *LSym // argument liveness info for traceback
    	WrapInfo           *LSym // for wrapper, info of wrapped function
    	JumpTables         []JumpTable
    
    	FuncInfoSym   *LSym
    	WasmImportSym *LSym
    	WasmImport    *WasmImport
    
    	sehUnwindInfoSym *LSym
    }
    
    // JumpTable represents a table used for implementing multi-way
    // computed branching, used typically for implementing switches.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/check.go

    			}
    			if b.NumControls() != 0 {
    				f.Fatalf("plain/dead block %s has a control value", b)
    			}
    		case BlockJumpTable:
    			if b.NumControls() != 1 {
    				f.Fatalf("jumpTable block %s has no control value", b)
    			}
    		}
    		if len(b.Succs) != 2 && b.Likely != BranchUnknown {
    			f.Fatalf("likeliness prediction %d for block %s with %d successors", b.Likely, b, len(b.Succs))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    //       If   [boolean Value]      [then, else]
    //    First                []   [always, never]
    //    Defer             [mem]  [nopanic, panic]                  (control opcode should be OpStaticCall to runtime.deferproc)
    // JumpTable   [integer Value]  [succ1,succ2,..]
    
    var genericBlocks = []blockData{
    	{name: "Plain"},                  // a single successor
    	{name: "If", controls: 1},        // if Controls[0] goto Succs[0] else goto Succs[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "GEnoov", controls: 1}, // 'GE' but without honoring overflow
    
    		// JUMPTABLE implements jump tables.
    		// Aux is the symbol (an *obj.LSym) for the jump table.
    		// control[0] is the index into the jump table.
    		// control[1] is the address of the jump table (the address of the symbol stored in Aux).
    		{name: "JUMPTABLE", controls: 2, aux: "Sym"},
    	}
    
    	archs = append(archs, arch{
    		name:               "ARM64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "NAN", controls: 1}, // FP, unordered comparison (parity one)
    
    		// JUMPTABLE implements jump tables.
    		// Aux is the symbol (an *obj.LSym) for the jump table.
    		// control[0] is the index into the jump table.
    		// control[1] is the address of the jump table (the address of the symbol stored in Aux).
    		{name: "JUMPTABLE", controls: 2, aux: "Sym"},
    	}
    
    	archs = append(archs, arch{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (If (SETGEF cmp) yes no) => (UGE  cmp yes no)
    (If (SETEQF cmp) yes no) => (EQF  cmp yes no)
    (If (SETNEF cmp) yes no) => (NEF  cmp yes no)
    
    (If cond yes no) => (NE (TESTB cond cond) yes no)
    
    (JumpTable idx) => (JUMPTABLE {makeJumpTableSym(b)} idx (LEAQ <typ.Uintptr> {makeJumpTableSym(b)} (SB)))
    
    // Atomic loads.  Other than preserving their ordering with respect to other loads, nothing special here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (If (LessEqualF    cc) yes no) => (FLE cc yes no)
    (If (GreaterThanF  cc) yes no) => (FGT cc yes no)
    (If (GreaterEqualF cc) yes no) => (FGE cc yes no)
    
    (If cond yes no) => (TBNZ [0] cond yes no)
    
    (JumpTable idx) => (JUMPTABLE {makeJumpTableSym(b)} idx (MOVDaddr <typ.Uintptr> {makeJumpTableSym(b)} (SB)))
    
    // atomic intrinsics
    // Note: these ops do not accept offset.
    (AtomicLoad8   ...) => (LDARB ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/asm6.go

    	// Now that we know byte offsets, we can generate jump table entries.
    	// TODO: could this live in obj instead of obj/$ARCH?
    	for _, jt := range s.Func().JumpTables {
    		for i, p := range jt.Targets {
    			// The ith jumptable entry points to the p.Pc'th
    			// byte in the function symbol s.
    			jt.Sym.WriteAddr(ctxt, int64(i)*8, 8, s, p.Pc)
    		}
    	}
    }
    
    func instinit(ctxt *obj.Link) {
    	if ycover[0] != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/asm7.go

    	// Now that we know byte offsets, we can generate jump table entries.
    	for _, jt := range cursym.Func().JumpTables {
    		for i, p := range jt.Targets {
    			// The ith jumptable entry points to the p.Pc'th
    			// byte in the function symbol s.
    			// TODO: try using relative PCs.
    			jt.Sym.WriteAddr(ctxt, int64(i)*8, 8, cursym, p.Pc)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    		// The assembler converts from *Prog entries to absolute addresses
    		// once it knows instruction byte offsets.
    		fi := s.pp.CurFunc.LSym.Func()
    		fi.JumpTables = append(fi.JumpTables, obj.JumpTable{Sym: jt.Aux.(*obj.LSym), Targets: targets})
    	}
    
    	if e.log { // spew to stdout
    		filename := ""
    		for p := s.pp.Text; p != nil; p = p.Link {
    			if p.Pos.IsKnown() && p.InnermostFilename() != filename {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top