Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for makeJumpTableSym (0.24 sec)

  1. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (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.
    (AtomicLoad8 ptr mem) => (MOVBatomicload ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (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 ...)
    (AtomicLoad32  ...) => (LDARW ...)
    (AtomicLoad64  ...) => (LDAR  ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    // C and V are set to false.
    func logicFlags32(x int32) flagConstant {
    	var fcb flagConstantBuilder
    	fcb.Z = x == 0
    	fcb.N = x < 0
    	return fcb.encode()
    }
    
    func makeJumpTableSym(b *Block) *obj.LSym {
    	s := base.Ctxt.Lookup(fmt.Sprintf("%s.jump%d", b.Func.fe.Func().LSym.Name, b.ID))
    	// The jump table symbol is accessed only from the function symbol.
    	s.Set(obj.AttrStatic, true)
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteARM64.go

    			return true
    		}
    	case BlockJumpTable:
    		// match: (JumpTable idx)
    		// result: (JUMPTABLE {makeJumpTableSym(b)} idx (MOVDaddr <typ.Uintptr> {makeJumpTableSym(b)} (SB)))
    		for {
    			idx := b.Controls[0]
    			v0 := b.NewValue0(b.Pos, OpARM64MOVDaddr, typ.Uintptr)
    			v0.Aux = symToAux(makeJumpTableSym(b))
    			v1 := b.NewValue0(b.Pos, OpSB, typ.Uintptr)
    			v0.AddArg(v1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteAMD64.go

    			return true
    		}
    	case BlockJumpTable:
    		// match: (JumpTable idx)
    		// result: (JUMPTABLE {makeJumpTableSym(b)} idx (LEAQ <typ.Uintptr> {makeJumpTableSym(b)} (SB)))
    		for {
    			idx := b.Controls[0]
    			v0 := b.NewValue0(b.Pos, OpAMD64LEAQ, typ.Uintptr)
    			v0.Aux = symToAux(makeJumpTableSym(b))
    			v1 := b.NewValue0(b.Pos, OpSB, typ.Uintptr)
    			v0.AddArg(v1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
Back to top