Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 127 for AUX (0.06 sec)

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

    		sym1 := auxToSym(v.Aux)
    		if v_0.Op != OpS390XMOVDaddr {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		sym2 := auxToSym(v_0.Aux)
    		base := v_0.Args[0]
    		mem := v_1
    		if !(is32Bit(int64(off1)+int64(off2)) && canMergeSym(sym1, sym2)) {
    			break
    		}
    		v.reset(OpS390XFMOVDload)
    		v.AuxInt = int32ToAuxInt(off1 + off2)
    		v.Aux = symToAux(mergeSym(sym1, sym2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/value.go

    		return fmt.Sprintf(" [%g]", v.AuxFloat())
    	case auxString:
    		return fmt.Sprintf(" {%q}", v.Aux)
    	case auxSym, auxCall, auxTyp:
    		if v.Aux != nil {
    			return fmt.Sprintf(" {%v}", v.Aux)
    		}
    		return ""
    	case auxSymOff, auxCallOff, auxTypSize, auxNameOffsetInt8:
    		s := ""
    		if v.Aux != nil {
    			s = fmt.Sprintf(" {%v}", v.Aux)
    		}
    		if v.AuxInt != 0 || opcodeTable[v.Op].auxType == auxNameOffsetInt8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/cse_test.go

    // This tests for a bug found when partitioning, but not sorting by the Aux value.
    func TestCSEAuxPartitionBug(t *testing.T) {
    	c := testConfig(t)
    	arg1Aux := &tstAux{"arg1-aux"}
    	arg2Aux := &tstAux{"arg2-aux"}
    	arg3Aux := &tstAux{"arg3-aux"}
    	a := c.Temp(c.config.Types.Int8.PtrTo())
    
    	// construct lots of values with args that have aux values and place
    	// them in an order that triggers the bug
    	fun := c.Fun("entry",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/main.go

    				if v.aux != "Sym" && v.aux != "SymOff" && v.aux != "SymValAndOff" && v.aux != "Int64" && v.aux != "Int32" && v.aux != "" {
    					log.Fatalf("faultOnNilArg0 with aux %s not allowed", v.aux)
    				}
    			}
    			if v.faultOnNilArg1 {
    				fmt.Fprintln(w, "faultOnNilArg1: true,")
    				if v.aux != "Sym" && v.aux != "SymOff" && v.aux != "SymValAndOff" && v.aux != "Int64" && v.aux != "Int32" && v.aux != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite386.go

    	for {
    		off1 := auxIntToInt32(v.AuxInt)
    		sym1 := auxToSym(v.Aux)
    		if v_0.Op != Op386LEAL {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		sym2 := auxToSym(v_0.Aux)
    		x := v_0.Args[0]
    		if !(is32Bit(int64(off1)+int64(off2)) && canMergeSym(sym1, sym2)) {
    			break
    		}
    		v.reset(Op386LEAL)
    		v.AuxInt = int32ToAuxInt(off1 + off2)
    		v.Aux = symToAux(mergeSym(sym1, sym2))
    		v.AddArg(x)
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/zcse.go

    				if opcodeTable[a.Op].argLen == 0 {
    					key := vkey{a.Op, keyFor(a), a.Aux, a.Type}
    					if rv, ok := vals[key]; ok {
    						v.SetArg(i, rv)
    					}
    				}
    			}
    		}
    	}
    }
    
    // vkey is a type used to uniquely identify a zero arg value.
    type vkey struct {
    	op Op
    	ai int64       // aux int
    	ax Aux         // aux
    	t  *types.Type // type
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	}
    	return false
    }
    func rewriteValueMIPS64_OpAddr(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (Addr {sym} base)
    	// result: (MOVVaddr {sym} base)
    	for {
    		sym := auxToSym(v.Aux)
    		base := v_0
    		v.reset(OpMIPS64MOVVaddr)
    		v.Aux = symToAux(sym)
    		v.AddArg(base)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpAtomicAnd8(v *Value) bool {
    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/check.go

    					}
    				} else {
    					f.Fatalf("value %v has Aux type %T, want *AuxCall", v, v.Aux)
    				}
    				canHaveAux = true
    			case auxNameOffsetInt8:
    				if _, ok := v.Aux.(*AuxNameOffset); !ok {
    					f.Fatalf("value %v has Aux type %T, want *AuxNameOffset", v, v.Aux)
    				}
    				canHaveAux = true
    				canHaveAuxInt = true
    			case auxSym, auxTyp:
    				canHaveAux = true
    			case auxSymOff, auxSymValAndOff, auxTypSize:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/softfloat.go

    				}
    				newInt64 = newInt64 || v.Type.Size() == 8
    			} else if (v.Op == OpStore || v.Op == OpZero || v.Op == OpMove) && v.Aux.(*types.Type).IsFloat() {
    				switch size := v.Aux.(*types.Type).Size(); size {
    				case 4:
    					v.Aux = f.Config.Types.UInt32
    				case 8:
    					v.Aux = f.Config.Types.UInt64
    					newInt64 = true
    				default:
    					v.Fatalf("bad float type with size %d", size)
    				}
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. src/cmd/internal/goobj/objfile.go

    }
    
    // Aux returns a pointer to the j-th aux symbol of the i-th symbol.
    func (r *Reader) Aux(i uint32, j int) *Aux {
    	off := r.AuxOff(i, j)
    	return (*Aux)(unsafe.Pointer(&r.b[off]))
    }
    
    // Auxs returns the aux symbols of the i-th symbol.
    func (r *Reader) Auxs(i uint32) []Aux {
    	off := r.AuxOff(i, 0)
    	n := r.NAux(i)
    	return (*[huge]Aux)(unsafe.Pointer(&r.b[off]))[:n:n]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top