Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for auxInt8 (0.19 sec)

  1. src/cmd/compile/internal/ssa/prove.go

    		old, ok := ft.limits[v.ID]
    		if !ok {
    			old = noLimit
    			if v.isGenericIntConst() {
    				switch d {
    				case signed:
    					old.min, old.max = v.AuxInt, v.AuxInt
    					if v.AuxInt >= 0 {
    						old.umin, old.umax = uint64(v.AuxInt), uint64(v.AuxInt)
    					}
    				case unsigned:
    					old.umin = v.AuxUnsigned()
    					old.umax = old.umin
    					if int64(old.umin) >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	return int32(sh<<16 | mb<<8 | me)
    }
    
    func GetPPC64Shiftsh(auxint int64) int64 {
    	return int64(int8(auxint >> 16))
    }
    
    func GetPPC64Shiftmb(auxint int64) int64 {
    	return int64(int8(auxint >> 8))
    }
    
    func GetPPC64Shiftme(auxint int64) int64 {
    	return int64(int8(auxint))
    }
    
    // Test if this value can encoded as a mask for a rlwinm like
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/block.go

    func (b *Block) AuxIntString() string {
    	switch b.Kind.AuxIntType() {
    	case "int8":
    		return fmt.Sprintf("%v", int8(b.AuxInt))
    	case "uint8":
    		return fmt.Sprintf("%v", uint8(b.AuxInt))
    	case "": // no aux int type
    		return ""
    	default: // type specified but not implemented - print as int64
    		return fmt.Sprintf("%v", b.AuxInt)
    	}
    }
    
    // likelyBranch reports whether block b is the likely branch of all of its predecessors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/expand_calls.go

    					mem := x.memForCall[call.ID]
    					if mem == nil {
    						v.AuxInt = int64(aux.abiInfo.OutRegistersUsed())
    						x.memForCall[call.ID] = v
    					} else {
    						panic(fmt.Errorf("Saw two memories for call %v, %v and %v", call, mem, v))
    					}
    				} else {
    					selects = append(selects, v)
    				}
    
    			case OpSelectNAddr:
    				call := v.Args[0]
    				which := v.AuxInt
    				aux := call.Aux.(*AuxCall)
    				pt := v.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/writebarrier.go

    				memThen = bThen.NewValue1(pos, OpSelect1, types.TypeMem, curCall)
    			}
    			// Store value in write buffer
    			num := curCall.AuxInt
    			curCall.AuxInt = num + 1
    			wbuf := bThen.NewValue1I(pos, OpOffPtr, types.Types[types.TUINTPTR].PtrTo(), num*f.Config.PtrSize, curPtr)
    			memThen = bThen.NewValue3A(pos, OpStore, types.TypeMem, types.Types[types.TUINTPTR], wbuf, v, memThen)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/deadstore.go

    			ptr := v.Args[0]
    			var off int64
    			for ptr.Op == OpOffPtr { // Walk to base pointer
    				off += ptr.AuxInt
    				ptr = ptr.Args[0]
    			}
    			var sz int64
    			if v.Op == OpStore {
    				sz = v.Aux.(*types.Type).Size()
    			} else { // OpZero
    				sz = v.AuxInt
    			}
    			if ptr.Op == OpLocalAddr {
    				if la, ok := localAddrs[ptr.Aux]; ok {
    					ptr = la
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/nilcheck.go

    				switch opcodeTable[v.Op].auxType {
    				case auxSym:
    					if v.Aux != nil {
    						continue
    					}
    				case auxSymOff:
    					if v.Aux != nil || v.AuxInt < 0 || v.AuxInt >= minZeroPage {
    						continue
    					}
    				case auxSymValAndOff:
    					off := ValAndOff(v.AuxInt).Off()
    					if v.Aux != nil || off < 0 || off >= minZeroPage {
    						continue
    					}
    				case auxInt32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/memcombine.go

    			idx = ptr.Args[1]
    			if idx.Op == OpAdd32 || idx.Op == OpAdd64 {
    				if idx.Args[0].Op == OpConst32 || idx.Args[0].Op == OpConst64 {
    					off += idx.Args[0].AuxInt
    					idx = idx.Args[1]
    				} else if idx.Args[1].Op == OpConst32 || idx.Args[1].Op == OpConst64 {
    					off += idx.Args[1].AuxInt
    					idx = idx.Args[0]
    				}
    			}
    			ptr = ptr.Args[0]
    		} else {
    			return BaseAddress{ptr: ptr, idx: idx}, off
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_x86.go

    		{Name: "avx512vbmi2", Feature: &X86.HasAVX512VBMI2},
    		{Name: "avx512bitalg", Feature: &X86.HasAVX512BITALG},
    		{Name: "avx512bf16", Feature: &X86.HasAVX512BF16},
    		{Name: "amxtile", Feature: &X86.HasAMXTile},
    		{Name: "amxint8", Feature: &X86.HasAMXInt8},
    		{Name: "amxbf16", Feature: &X86.HasAMXBF16},
    		{Name: "bmi1", Feature: &X86.HasBMI1},
    		{Name: "bmi2", Feature: &X86.HasBMI2},
    		{Name: "cx16", Feature: &X86.HasCX16},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/magic.go

    //                   in 2 instructions on x86.)
    
    // umagicOK reports whether we should strength reduce a n-bit divide by c.
    func umagicOK(n uint, c int64) bool {
    	// Convert from ConstX auxint values to the real uint64 constant they represent.
    	d := uint64(c) << (64 - n) >> (64 - n)
    
    	// Doesn't work for 0.
    	// Don't use for powers of 2.
    	return d&(d-1) != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top