Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for rhs_args (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

          assert(!hoist_params->lhs_args[kv.second]);
          assert(!hoist_params->rhs_args[kv.second]);
    
          if (hoist_params->scalar_operand_idx == 1) {
            hoist_params->lhs_args[kv.second] = kv.first;
            hoist_params->rhs_args[kv.second] = identity_const;
          } else {
            assert(hoist_params->scalar_operand_idx == 0);
            hoist_params->lhs_args[kv.second] = identity_const;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    // return the first source operand in p.RestArgs.
    // In combination with Prog.From and Prog.To it makes common 3 operand
    // case easier to use.
    func (p *Prog) GetFrom3() *Addr {
    	for i := range p.RestArgs {
    		if p.RestArgs[i].Pos == Source {
    			return &p.RestArgs[i].Addr
    		}
    	}
    	return nil
    }
    
    // AddRestSource assigns []Args{{a, Source}} to p.RestArgs.
    func (p *Prog) AddRestSource(a Addr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/asm9_gtables.go

    	o1 |= uint32(p.To.Reg&0x1f) << 21                          // RT
    	o1 |= uint32(p.From.Reg&0x1f) << 16                        // RA
    	o0 |= uint32((p.RestArgs[0].Addr.Offset>>16)&0x3ffff) << 0 // si0
    	o1 |= uint32(p.RestArgs[0].Addr.Offset&0xffff) << 0        // si1
    	o0 |= uint32(p.RestArgs[1].Addr.Offset&0x1) << 20          // R
    	out[1] = o1
    	out[0] = o0
    }
    
    // pextd RA,RS,RB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 20:18:50 UTC 2022
    - 42.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/ytab.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package x86
    
    // argListMax specifies upper arg count limit expected to be carried by obj.Prog.
    // Max len(obj.Prog.RestArgs) can be inferred from this to be 4.
    const argListMax int = 6
    
    type argList [argListMax]uint8
    
    type ytab struct {
    	zcase   uint8
    	zoffset uint8
    
    	// Last arg is usually destination.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 06 15:40:03 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/go.go

    // license that can be found in the LICENSE file.
    
    package obj
    
    // go-specific code shared across loaders (5l, 6l, 8l).
    
    func Nopout(p *Prog) {
    	p.As = ANOP
    	p.Scond = 0
    	p.From = Addr{}
    	p.RestArgs = nil
    	p.Reg = 0
    	p.To = Addr{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 21:05:03 UTC 2017
    - 342 bytes
    - Viewed (0)
  6. src/cmd/internal/obj/util.go

    		// Should not happen but might as well show it if it does.
    		fmt.Fprintf(w, "%s%v", sep, Rconv(int(p.Reg)))
    		sep = ", "
    	}
    	for i := range p.RestArgs {
    		if p.RestArgs[i].Pos == Source {
    			io.WriteString(w, sep)
    			WriteDconv(w, p, &p.RestArgs[i].Addr)
    			sep = ", "
    		}
    	}
    
    	if p.As == ATEXT {
    		// If there are attributes, print them. Otherwise, skip the comma.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/obj9.go

    	//                                "ADDEX R3, R4, $3, R5"
    	case AVSHASIGMAW, AVSHASIGMAD, AADDEX, AXXSLDWI, AXXPERMDI:
    		if len(p.RestArgs) == 2 && p.Reg == 0 && p.RestArgs[0].Addr.Type == obj.TYPE_CONST && p.RestArgs[1].Addr.Type == obj.TYPE_REG {
    			p.Reg = p.RestArgs[1].Addr.Reg
    			p.RestArgs = p.RestArgs[:1]
    		}
    	}
    
    	if c.ctxt.Headtype == objabi.Haix {
    		c.rewriteToUseTOC(p)
    	} else if c.ctxt.Flag_dynlink {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/pass.go

    	ctxt.Diag("invalid encoding for argument %v", p)
    }
    
    func linkpatch(ctxt *Link, sym *LSym, newprog ProgAlloc) {
    	for p := sym.Func().Text; p != nil; p = p.Link {
    		checkaddr(ctxt, p, &p.From)
    		for _, v := range p.RestArgs {
    			checkaddr(ctxt, p, &v.Addr)
    		}
    		checkaddr(ctxt, p, &p.To)
    
    		if ctxt.Arch.Progedit != nil {
    			ctxt.Arch.Progedit(ctxt, p, newprog)
    		}
    		if p.To.Type != TYPE_BRANCH {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/obj6.go

    		p1.From.Sym = ctxt.Lookup("_GLOBAL_OFFSET_TABLE_")
    		p1.To.Type = obj.TYPE_REG
    		p1.To.Reg = REG_BX
    
    		p2.As = p.As
    		p2.Scond = p.Scond
    		p2.From = p.From
    		if p.RestArgs != nil {
    			p2.RestArgs = append(p2.RestArgs, p.RestArgs...)
    		}
    		p2.Reg = p.Reg
    		p2.To = p.To
    		// p.To.Type was set to TYPE_BRANCH above, but that makes checkaddr
    		// in ../pass.go complain, so set it back to TYPE_MEM here, until p2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/s390x/asmz.go

    		return &optab[p.Optab-1]
    	}
    	if len(p.RestArgs) > 3 {
    		c.ctxt.Diag("too many RestArgs: got %v, maximum is 3\n", len(p.RestArgs))
    		return nil
    	}
    
    	// Initialize classes for all arguments.
    	p.From.Class = int8(c.aclass(&p.From) + 1)
    	p.To.Class = int8(c.aclass(&p.To) + 1)
    	for i := range p.RestArgs {
    		p.RestArgs[i].Addr.Class = int8(c.aclass(&p.RestArgs[i].Addr) + 1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
Back to top