Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for REG0 (0.04 sec)

  1. src/cmd/internal/obj/x86/asm_test.go

    		{"[Z21-Z24]", REG_Z21, REG_Z24},
    	}
    
    	for _, test := range tests {
    		enc := EncodeRegisterRange(test.reg0, test.reg1)
    		reg0, reg1 := decodeRegisterRange(enc)
    
    		if int16(reg0) != test.reg0 {
    			t.Errorf("%s reg0 mismatch: have %d, want %d",
    				test.printed, reg0, test.reg0)
    		}
    		if int16(reg1) != test.reg1 {
    			t.Errorf("%s reg1 mismatch: have %d, want %d",
    				test.printed, reg1, test.reg1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/evex.go

    }
    
    // EncodeRegisterRange packs [reg0-reg1] list into 64-bit value that
    // is intended to be stored inside obj.Addr.Offset with TYPE_REGLIST.
    func EncodeRegisterRange(reg0, reg1 int16) int64 {
    	return (int64(reg0) << 0) |
    		(int64(reg1) << 16) |
    		obj.RegListX86Lo
    }
    
    // decodeRegisterRange unpacks [reg0-reg1] list from 64-bit value created by EncodeRegisterRange.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/list6.go

    	if REG_AL <= r && r-REG_AL < len(Register) {
    		return Register[r-REG_AL]
    	}
    	return fmt.Sprintf("Rgok(%d)", r-obj.RBaseAMD64)
    }
    
    func rlconv(bits int64) string {
    	reg0, reg1 := decodeRegisterRange(bits)
    	return fmt.Sprintf("[%s-%s]", rconv(reg0), rconv(reg1))
    }
    
    func opSuffixString(s uint8) string {
    	return "." + opSuffix(s).String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/s390x/ssa.go

    		if r != r1 {
    			p.Reg = r1
    		}
    	case ssa.OpS390XADDC:
    		r1 := v.Reg0()
    		r2 := v.Args[0].Reg()
    		r3 := v.Args[1].Reg()
    		if r1 == r2 {
    			r2, r3 = r3, r2
    		}
    		p := opregreg(s, v.Op.Asm(), r1, r2)
    		if r3 != r1 {
    			p.Reg = r3
    		}
    	case ssa.OpS390XSUBC:
    		r1 := v.Reg0()
    		r2 := v.Args[0].Reg()
    		r3 := v.Args[1].Reg()
    		p := opregreg(s, v.Op.Asm(), r1, r3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/value.go

    }
    
    // ResultReg returns the result register assigned to v, in cmd/internal/obj/$ARCH numbering.
    // It is similar to Reg and Reg0, except that it is usable interchangeably for all Value Ops.
    // If you know v.Op, using Reg or Reg0 (as appropriate) will be more efficient.
    func (v *Value) ResultReg() int16 {
    	reg := v.Block.Func.RegAlloc[v.ID]
    	if reg == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. tests/fuzz/autoregistration_controller_fuzzer.go

    	tmplA = &v1alpha3.WorkloadGroup{
    		Template: &v1alpha3.WorkloadEntry{
    			Ports:          map[string]uint32{"http": 80},
    			Labels:         map[string]string{"app": "a"},
    			Network:        "nw0",
    			Locality:       "reg0/zone0/subzone0",
    			Weight:         1,
    			ServiceAccount: "sa-a",
    		},
    	}
    	// A valid Config.
    	// This can be modified to have pseudo-random
    	// values for more randomization.
    	wgA = config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ppc64/ssa.go

    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = r2
    		p.Reg = r1
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg0()
    
    	case ssa.OpPPC64NEGCC, ssa.OpPPC64CNTLZDCC:
    		p := s.Prog(v.Op.Asm())
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg0()
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = v.Args[0].Reg()
    
    	case ssa.OpPPC64ROTLconst, ssa.OpPPC64ROTLWconst:
    		p := s.Prog(v.Op.Asm())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. pilot/pkg/autoregistration/controller_test.go

    var (
    	tmplA = &v1alpha3.WorkloadGroup{
    		Template: &v1alpha3.WorkloadEntry{
    			Ports:          map[string]uint32{"http": 80},
    			Labels:         map[string]string{"app": "a"},
    			Network:        "nw0",
    			Locality:       "reg0/zone0/subzone0",
    			Weight:         1,
    			ServiceAccount: "sa-a",
    		},
    	}
    	wgA = config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.WorkloadGroup,
    			Namespace:        "a",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/x86/ssa.go

    		// output 0 is carry/borrow, output 1 is the low 32 bits.
    		opregreg(s, v.Op.Asm(), v.Reg0(), v.Args[1].Reg())
    
    	case ssa.Op386ADDLconstcarry, ssa.Op386SUBLconstcarry:
    		// output 0 is carry/borrow, output 1 is the low 32 bits.
    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_CONST
    		p.From.Offset = v.AuxInt
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg0()
    
    	case ssa.Op386DIVL, ssa.Op386DIVW,
    		ssa.Op386DIVLU, ssa.Op386DIVWU,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/wasm/ssa.go

    	case ssa.OpWasmLoweredWB:
    		p := s.Prog(wasm.ACall)
    		// AuxInt encodes how many buffer entries we need.
    		p.To = obj.Addr{Type: obj.TYPE_MEM, Name: obj.NAME_EXTERN, Sym: ir.Syms.GCWriteBarrier[v.AuxInt-1]}
    		setReg(s, v.Reg0()) // move result from wasm stack to register local
    
    	case ssa.OpWasmI64Store8, ssa.OpWasmI64Store16, ssa.OpWasmI64Store32, ssa.OpWasmI64Store, ssa.OpWasmF32Store, ssa.OpWasmF64Store:
    		getValue32(s, v.Args[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
Back to top